Tested with JBOSS EAP 7.0

It is quite tricky to do, add the following JAVA_OPTIONS (e.g. in bin/standalone.conf.bat or the corresponding Unix file)

set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager"
set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:E:/servers/jboss-eap-7.0.0/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.3.Final-redhat-1.jar"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
 
 
 Please note:
  • The path of the log manager must be exact, otherwise it won't work and won't start
  • Use forward-slashes even on Windows.
  • Then, connect with JConsole with servername:9999
  • If it does not work, check the logfile in bin/standalone.log

 

This completely opens the port 9999 from abroad, with no password, no SSL and should only be done on DEV systems!