aspose file tools*
The moose likes Websphere and the fly likes AdminClient Application for Websphere 7.0.0.11 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "AdminClient Application for Websphere 7.0.0.11" Watch "AdminClient Application for Websphere 7.0.0.11" New topic
Author

AdminClient Application for Websphere 7.0.0.11

Shailendra Shukla
Greenhorn

Joined: Oct 03, 2012
Posts: 2
I need to develop an application for managing WebSphere Application Server v7.0.0.11. I explored a bit and found out that we can use Mbeans. Actually I need to create something similar as Web-sphere's web console.

My problem is that the application should be in C# .net so is there any connector/Adapter to invoke web-sphere's management API. Please point me in right direction.

I am a C#.net developer and a total newbie in java/websphere, I tried creating Admin Client Example from IBM site by using packages found at IBM/Webshpere/Cimrepos directory. The name of Jar file is "com.ibm.wplc.was_7.0.0.11.jar" I unzipped that jar file in the same folder.

So now My App is starts, connects to websphere successfully and finds mbean on the nodeAgent. The problem I am facing in invoking mbean. I am getting following error message.

"exception invoking launchProcess : javax.management.ReflectionExcetion: Target Method not found com.ibm.ws.management.nodeagent.NodeAgent.launchProcess"

I am using following url for list of mbean
http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.javadoc.doc/web/mbeanDocs/index.html

i tried using different methods from nodeAgent mbean but no joy , I am always getting same exception "method not found".

Following is the code snipped for invoking launchprocess



Full Code could be found on following link
http://pic.dhe.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Ftjmx_develop.html

Please let me know what I am doing wrong, do i need to include some other package ? I browsed "com.ibm.wplc.was_7.0.0.11.jar", there isn't any folder named nodeagent in com\ibm\ws\managemnt.

Thanks in Advance

Mods: Since I am new here maybe this post is not in correct section (I think it is ). Feel free to move the post if needed.
Shailendra Shukla
Greenhorn

Joined: Oct 03, 2012
Posts: 2
Is there any prerequisite for running this code ?

The Websphere is installed on Red Hat Enterprise Linux Box, the code mentioned is on windows server 2003, I am using SOAP Connecter for the connection.

Do I need to install something on WAS server ?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AdminClient Application for Websphere 7.0.0.11