aspose file tools*
The moose likes Websphere and the fly likes JMX in cluster on WS 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JMX in cluster on WS 5.1" Watch "JMX in cluster on WS 5.1" New topic
Author

JMX in cluster on WS 5.1

Renat Zubair
Greenhorn

Joined: Feb 19, 2007
Posts: 2
Hello WebShere gurus!

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?

Thank you very much,

Renat Zubairov
Hanumanth Kanthi
Ranch Hand

Joined: May 27, 2004
Posts: 74
You might wanted to set the domain scope specifically to "CELL" and see if that makes any difference.

Cheers,
H. Kanthi
Renat Zubair
Greenhorn

Joined: Feb 19, 2007
Posts: 2
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.


Thank you

Renat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMX in cluster on WS 5.1