Hi Mikolaj,
Is this a Windows platform ?
-Pat
On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote:
On 20.09.2012 15:59, Patrick Flaherty wrote:
Have you tried this and gotten it to work ? My check to see if it
took has been to open tomcatw.exe and check the values there.
No matter what I've tried I cannot get it to take.
Yes, it works for me in both ways (either via CLI or GUI).
In fact I use ant script to modify service parameters (please
forgive broken lines):
<target name="update-tomcat-service">
<exec executable="${root}\\bin\\tomcat6.exe" dir="${root}\
\bin">
<arg line="//US//Tomcat6 --Startup=auto --JvmMs $
{tomcat.memory.size} --JvmMx ${tomcat.memory.size} --StartPath "
${root}" --JvmOptions -Dcom.sun.management.jmxremote;-
verbose:gc;-XX:-DisableExplicitGC;-XX:+PrintGCTimeStamps;-XX:
+PrintGCDetails;-Xloggc:logs\gc.log;-XX:+HeapDumpOnOutOfMemoryError;-
XX:HeapDumpPath=logs;-XX:+UseConcMarkSweepGC;-XX:+UseParNewGC;-XX:
+CMSClassUnloadingEnabled;-XX:MaxPermSize=256m"/>
</exec>
</target>
--
Mikolaj Rydzewski <m...@ceti.pl>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org