tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Clark <brianclar...@yahoo.com>
Subject Re: jstack and Tomcat 6 on Windows
Date Fri, 19 Sep 2008 22:58:16 GMT
Thanks everyone for their suggestions. 

Unfortunately, that doesn't help me with my particular issue. I have a memory leak in one
of my apps, and when the system runs out of memory, it stops responding to new requests. I
have a script that will detect this condition and automatically restart Tomcat. I was hoping
to add a jstack command to this script to give me a thread dump prior to restarting Tomcat
to give me better troubleshooting information. Your solution would work under normal circumstances,
but I don't know how to script a ctrl+break.  ;-)

----- Original Message ----

From: Johnny Kewl <john@kewlstuff.co.za>

If you need thread dumps....

Start TC from the BAT file.....
When you need a dump... press ctrl + break from term window... easier than 
Jstack...


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message