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

Jesse Hazen do-not-reply at jboss.com
Tue Mar 15 11:29:13 EDT 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/593303#593303

--------------------------------------------------------------
I just pasted some of the code from the run.conf for 5.1.0 out of the box. You can add those entries inside or outside the if clause.

Another way to do it is:



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"
fi
## Specify the Security Manager options
#JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$POLICY"

# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dsun.management.jmxremote.port=12345"

# Sample JPDA settings for shared memory debugging 
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"




The point is that this file is where the JAVA_OPTS variable is configured, so you will want to add the JVM arguments in this file.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/593303#593303]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110315/4bab1ba6/attachment.html 


More information about the jboss-user mailing list