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 Building Microservices this week in the Design 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: 364
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?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to work with wsadmin from the java program?
 
It's not a secret anymore!