How do I set up for tracing TomCat?
First, get the right JRE and TomCat installation, and configure it (these instructions are for Windows): • Get a current JDK and install it: If you don’t already have a JDK 1.3.1 or higher, get one from Sun and install it. (Don’t get the co-bundle unless you want the NetBeans IDE, but do get the SDK rather than the JRE). • Download TomCat from (page down to 5.0.16.tar.gz or whichever format), and install it somewhere. We’ll call the installation location CATALINA_HOME. • Edit %CATALINA_HOME%\bin\catalina.bat to add something like: set JAVA_HOME=c:\program files\j2sdk_nb\j2sdk1.4.2 set CATALINA_HOME=C:\J2ee\jakarta-tomcat-5.0.16 • Open a command prompt and execute “%CATALINA_HOME%\bin\catalina run” and it will start. Visit http://localhost:8080 to see what it did. Ctrl-C to stop it. Then create your workspace and enable Java Memstat: • Run TomCat once with RC to record it in the RootCause log. • Look in the RootCause log for the org.apache.catalina.startup.Bootstrap class to get run. (T