Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to work with wsadmin from the java program?

 
Peter Kovgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic