Patrick, On Tue, Mar 5, 2013 at 6:51 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote:
> > From: Caldarale, Charles R > > Subject: RE: Cannot access my app after Tomcat 7.0.28 > > > > Now I just noticed that on this 4 core server, tomcat7.exe *32 is > using 25% CPU. > > > Take several thread dumps and see what's looping. > > > > http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F > > I should have mentioned that Windows often makes this difficult when > running as a service, so you might want to try starting Tomcat with the > startup.bat script for this diagnostic effort. > > - Chuck > > Can you? 1. configure java options with a JMX port in tomcat7w.exe, where JMX port = an available port on localhost 2. start Tomcat7 windows service 3. open Java Visual VM (e.g. C:\Program Files\Java\jdk1.7.0_13\bin\jvisualvm.exe) 4. In Java Visual VM, connect to the JMX port and perform a heap dump or monitor the hotspots (to determine cause of the 25% CPU, etc...)