tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pooleery, Manoj" <Poole...@Synygy.com>
Subject Tomcat - Win2k service - GC output
Date Thu, 15 Jul 2004 15:14:05 GMT
Hi,

I have set up Tomcat 4.1.27 as a service on a Win2k machine using the
following script -

tomcat -install "Apache Tomcat" "%JAVA_HOME%\jre\bin\server\jvm.dll"
-verbose:gc -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar"
-Djava.endorsed.dir="%CATALINA_HOME%\common\endorsed"
-Dsun.io.useCanonCaches=false -Dcatalina.home="%CATALINA_HOME%" -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
"%CATALINA_HOME%\logs\stderr.log"

I wanted to see the GC ouput, so, I added the -verbose:gc flag.  When I see
the registry, I can see this has gone in as a JVM option.  But in the log
file, I cannot see any GC output at all.  When I try the -verbose:gc in the
console mode(putting it in the catalina.bat file), I can see the GC output
on the console.  Am I doing it correctly?  If not, what am I doing wrong?

Thanks
-Manoj Pooleery.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message