users@glassfish.java.net

Re: remove extra jvm options

From: <forums_at_java.net>
Date: Sun, 22 May 2011 12:31:05 -0500 (CDT)

Those options were critical before JDK6 and the advent of jstack.  They
allowed you to do thread dumps on a running server.

They are easy to remove.  Simply remove or comment-out those 3 lines from
processLauncher.xml

     <sysproperty key="-XX:+UnlockDiagnosticVMOptions"/>
     <sysproperty key="-XX:+LogVMOutput"/>
     <sysproperty key="-XX:LogFile"
value="${com.sun.aas.instanceRoot}/logs/jvm.log"/>
 


--
[Message sent by forum member 'bnevins']
View Post: http://forums.java.net/node/804957