aspose file tools*
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
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?
 
Don't get me started about those stupid light bulbs.
 
subject: How to work with wsadmin from the java program?