[jboss-user] [Management, JMX/JBoss] - JMX URLs

argonRyan do-not-reply at jboss.com
Thu May 3 16:38:29 EDT 2007

I've created an MBean on a JBoss server with all default settings and it is running fine.  I can see it on the jmx-console and as well as view it in the JConsole application under 'local'.  How do I determine the JMX URL to use to remotely invoke the MBean?  

I am trying to get it to work with Hyperic eventually, which uses RMI to invoke remote MBeans.  

My MBean is called:

I've tried the both of the following in JConsole (under remote), and it failed to work:

Is my URL malformed?  Defaults of my current configuration is:  1099 for the NamingService port and 1098 is the RMI port.  Which should I be using?

Below lists some of the JAVA_OPTS I added to the JBoss run.conf file.

# Enable the jconsole agent locally
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"

# Enable the jconsole agent locally with integration of the jboss MBeans
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"

JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"

Any help would be greatly appreciated.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042974#4042974

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042974

More information about the jboss-user mailing list