Advertisement
osvaldohg

profiling

Sep 5th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. # Enable the jconsole agent remotely on port 64850
  2. JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=64850"
  3. JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
  4. JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
  5. #to connect JConsole in local mode (so now you can connect using either local or remote mode)
  6. JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true"
  7. JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.local.only=false"
  8. JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver=true"
  9. #workaround
  10. JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement