Skip to content

Instantly share code, notes, and snippets.

@danielef
Created October 15, 2016 00:07
Show Gist options
  • Save danielef/f90ad13906a86035c803cc4b67171d92 to your computer and use it in GitHub Desktop.
Save danielef/f90ad13906a86035c803cc4b67171d92 to your computer and use it in GitHub Desktop.
JMX SOAP-Version 5.3.0.GA (with authentication)
guest readonly
admin readwrite
guest somesecret
admin topsecret
chmod 600 jmx-access/jmx.password
## -*- shell-script -*- ######################################################
## ##
## JBoss Bootstrap Script Configuration ##
## ##
##############################################################################
### $Id: run.conf 91533 2009-07-22 01:20:05Z gbadner $
#
# This shell script is sourced by run.sh to initialize the environment
...
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.local.only=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=9999"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=true"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.access.file=/opt/jboss-soa-p-5/jboss-as/bin/jmx-access/jmx.level"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.password.file=/opt/jboss-soa-p-5/jboss-as/bin/jmx-access/jmx.password"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=<HOST-IPADDR>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment