How to connect between JMX 1.0 and JMX 1.2

M

mike

Hi,

In a weblogic server we have the following code to send a notification
to an MBean.

public void sendNotification(String id) throws Exception {
mbsc.invoke(objectName, "sendAlarmNotification", null, null);

}

public void resetNotification(String id)throws Exception{
mbsc.invoke(objectName,"resetAlarmNotification", null, null);
}

Weblogic uses JMX 1.0.

Problem is to get a reference (mbsc) to the MBean that is located
outside Weblogic server (WLS).

The JMX Agent and the MBean is running in a separate JVM but on the
same host as the WLS.
It uses JMX 1.2 with the Remote API.

Both use jdk 1.4.2.

Any ideas how I can acess the MBeanServer to get a connection to my
JMXAgent and MBean?

In the Weblogic 8.1 docs I found the following:

If your client accesses MBeans that are running in a separate JVM, use
RemoteMBeanServer.
(Interacts with non-WebLogic Server MBeans MBeanServer).

But I cannot find any more hints.

cheers,

//mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top