title: How to configure JBoss 6.3.0GA to use RMI JMX?
body: <p>As you can see, there's the new instructions:<br>
  <a href="https://docs.jboss.org/author/display/AS71/JMX+subsystem+configuration" rel="nofollow">https://docs.jboss.org/author/display/AS71/JMX+subsystem+configuration</a><br>
  And the old RMI instructions:<br>
  <a href="https://docs.jboss.org/author/pages/viewpage.action?pageId=21627109" rel="nofollow">https://docs.jboss.org/author/pages/viewpage.action?pageId=21627109</a>  </p>
  
  <p>I can get the new instructions working, but we use nagios, which only allows checking JMX via RMI, so I need to get RMI JMX working.</p>
  
  <p>Does anyone have a solution for this?
  I can't use the old instructions because it says <code>&lt;jmx-connector&gt;</code> is no longer supported.</p>
  
  <p>I've added the following to my JAVA_OPTS on JBoss startup:</p>
  
  <p>JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl -Djava.rmi.server.hostname=10.20.2.50</p>
  
  <p>but i can't get jconsole to connect to service:jmx:rmi:///jndi/rmi://10.20.2.50:12345/jmxrmi  </p>
  
  <p>(PS. If anyone with redhat paywall access could report back on the answer here: <a href="https://access.redhat.com/solutions/263763" rel="nofollow">https://access.redhat.com/solutions/263763</a> that would be swell :P)</p>