Tomcat 5.5.16

Java 1.5.0_06

IIS

I'm trying to pass some advanced GC options to tomcat.

I've tried putting GC options such as -verbose:gc and -XX:MaxHeapFreeRatio=40 into the registry

HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> MyWebApp >> Parameters >> Java >> Params

I'm using the usual tomcat5w.exe //ES// interface (aka prunmgr) to specify the options and put them into the registry. The options are going into the registry as expected, but they seem to be ignored when Tomcat starts. When I put in some illegal options Tomcat fails to start, so it's not that I'm putting options in the wrong place in the registry.

-verbose:gc and -XX:MaxHeapFreeRatio seem to be ignored, possibly because procrun may ignore all but -D and -X (implied by http://jakarta.apache.org/commons/daemon/procrun.html but unspecific on whether -XX is included under -X); or possibly because the documentation I've been following describes itself as obsolete (http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html).

Suggestions greatly appreciated, including pointers to relevant docs.

David Hornig

Touchtown Inc.
215 Allegheny Ave., Oakmont PA 15139
412-826-0460
[EMAIL PROTECTED] - email
www.hq.touchtown.us - our corporate website
www.touchtown.tv - our TV+ service

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to