Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Enable the jconsole agent remotely on port 64850
- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=64850"
- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
- #to connect JConsole in local mode (so now you can connect using either local or remote mode)
- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true"
- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.local.only=false"
- JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver=true"
- #workaround
- JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement