Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to connect between JMX 1.0 and JMX 1.2

Thread Tools

How to connect between JMX 1.0 and JMX 1.2

Posts: n/a

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
(Interacts with non-WebLogic Server MBeans MBeanServer).

But I cannot find any more hints.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Question about JMX and Jconsole Java 3 05-09-2008 07:39 PM
New tutorial for MBean/JMX using Maven and Jboss Java 0 06-27-2007 05:42 PM
EJB and JMX Integration? Java 0 12-23-2005 03:44 AM
Doubts on JMX and SNMP Manager API Tivo Escobar Java 1 05-20-2004 11:47 AM