This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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? Where does Tomcat put the GC output?
I have run into several problems with Tomcat 4.1 logging when it is ran as a service. I have discovered that if you use the org.apache.catalina.startup.Bootstrap for your start and stop classes my issues went away. This may solve your issues as well.
You can change the start and stop services in your registry: hkey_local_machine\system\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters\[start class & stop class]
Hope this helps, Chow
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Tomcat(jdk1.3.1) - Win2k service - GC output