[jboss-user] [Beginner's Corner] - Re: jConsole

Jesse Hazen do-not-reply at jboss.com
Thu Mar 10 11:52:59 EST 2011

Jesse Hazen [http://community.jboss.org/people/jesse.hazen] created the discussion

"Re: jConsole"

To view the discussion, visit: http://community.jboss.org/message/592504#592504

No, put them in run.conf at the end of the line starting with "if [ "x$JAVA_OPTS" = "x" ]" (if you are using unix/linux). So, it may look like:

if [ "x$JAVA_OPTS" = "x" ]; then
   JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8999"

Then you can connect up remotely to this machine from jconsole. Like Wolf-Dieter mentioned, though, if you are using jconsole on the same box, you don't need to add these lines. If you start jconsole it will list the java processes you can connect to locally.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110310/0baa9b6c/attachment-0001.html 

More information about the jboss-user mailing list