Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMX in cluster on WS 5.1

 
Renat Zubair
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might wanted to set the domain scope specifically to "CELL" and see if that makes any difference.

Cheers,
H. Kanthi
 
Renat Zubair
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic