Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set up for tracing TomCat?

Tomcat tracing
0
Posted

How do I set up for tracing TomCat?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123