Greetings. OK, well I believe that the output from the -verbose:gc flag in 1.3 will write to a .gc file in your [windows]\system32 dirctory - although I am not certain about this.
DO a system whide search for a .gc file on your server - the output does not go to the normal log output file(s). Carl -----Original Message----- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:21 PM To: 'Tomcat Users List' Subject: RE: Tomcat - Win2k service - GC output Hi, Thank you for the quick response. I'm using jdk 1.3.1_05 and hence I cannot use -Xloggc option. Thanks -Manoj Pooleery. -----Original Message----- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:17 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -----Original Message----- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:14 PM To: '[EMAIL PROTECTED]' Subject: Tomcat - Win2k service - GC output 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]