Monthly Archives: March 2017

JMX at JBoss 6/7

Lost quite a few hours on allowing a JMX console for a JBoss 6.4.13 (tested on series 7, too) until I figured out a winning combination of JAVA_OPTS and other settings that allow JMX to be remotely accessible. Here’s a bin/standalone.conf recipe for insecure access, once you have this sorted, move on to secure JMX access:

  • somewhere at the top of the file add this:


  • at the end of the file, set the rest

    JAVA_OPTS=”$JAVA_OPTS″ <!– pick a port, you can use the same for jmxremote.rmi.port –>
    JAVA_OPTS=”$JAVA_OPTS″ JAVA_OPTS=”$JAVA_OPTS” JAVA_OPTS=”$JAVA_OPTS” JAVA_OPTS=”$JAVA_OPTS” JAVA_OPTS=”$JAVA_OPTS -Djava.rmi.server.hostname=″ <!– put your IP here, not your hostname –>