We have a simple WebApplication (deployed inside EAR on the WebSphere 5.1) that registers the MBean using AdminService.registerMBean(object, objectName); where ObjectNames are filled with correct cell;node;process attributes accordin to the WS JMX requirements (thank you, Mr. Williamson, the only available source of the WS 5.1 JMX information).
In the cluster I can see registered MBeans via "wsadmin.sh", I can see that on each node one MBean instance is registered. However I need to manage MBeans from the application running inside WebSphere on the cluster, therefore I'm trying to find MBeans via JMX API:
And in my application (running inside WS) I always get only one ObjectName in the resulting set, which is very strange because running the same query in the "wsadmin.sh" returns multiple instances.
Could you please help me and point out what I'm doing wrong?
You might wanted to set the domain scope specifically to "CELL" and see if that makes any difference.
Cheers, H. Kanthi
Joined: Feb 19, 2007
Thank you for the help. I found a problem. It was because I was tyring to connect to the node itself but not to the DeploymentManager. When I connecting to the clusters deployment manager there I can see all MBeans.