wood burning stoves 2.0*
The moose likes Websphere and the fly likes How to work with wsadmin from the java program? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to work with wsadmin from the java program?" Watch "How to work with wsadmin from the java program?" New topic
Author

How to work with wsadmin from the java program?

Peter Kovgan
Ranch Hand

Joined: Sep 18, 2003
Posts: 84
How to work with wsadmin from the java program?

I want to invoke wsadmin scripts from the java code.
How to do it?
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
You'd probably want to use Runtime.exec("wsadmin -c ....");
if you really wanted to do this but don't do this. Tie in the the WAS JMX API. You should be able to use mbeans to do what you need.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
 
 
subject: How to work with wsadmin from the java program?
 
Similar Threads
ANT Task problem for Websphere
Problem in migration from WAS4 to WAS5.1
WsAnt task -- Please specify a different location with -tracefile option.
AppDeploymentException: []
WAS 7 Please specify a different location with -tracefile option.