0
votes

I am trying to run the sample code from IBM (sample code link) to connect to Websphere Application Server v7.0 through a JMX client.

I could successfully connect to the Websphere MBeanServer by jconsole, and could see two domains exist (JMImplementation and WebSphere). However, I found that there is no NodeAgent MBean as specified in the sample code with ObjectName pattern WebSphere:type=NodeAgent,node=<some node>,*.

Does anybody know why the NodeAgent MBean is not there?

2

2 Answers

1
votes

Which edition of WebSphere are you running? WebSphere Express does not include node agents or a deployment manager. WebSphere Network Deployment includes these components to support a variety of features. It's filled with marketing speak, but IBM has a PDF listing high-level differences between the various editions.

2
votes

You can run such query "WebSphere:*" - so you will get all mbeans you have in time of query evaluated. Just print it out to get expression what you actually have. For example i have only server and portal mbeans in my configuration and no nodeAgent. So this sample will not work in my environment too.