You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jayson Enriquez <JE...@smud.org> on 2007/07/20 20:24:00 UTC

FW: Capturing Tomcat and JAVA thread dumps from (Windows)

Thank you Filip. That seem to work just fine!

Can anyone also tell me how I can capture JAVA thread dumps along with
these Tomcat logs?

Thank you

Jayson



-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
Sent: Monday, July 16, 2007 11:46 AM
To: Tomcat Users List
Subject: Re: Capturing Tomcat thread dumps from startup.bat (Windows)

catalina.bat run > dump.log

then do a Ctrl+Break for the dump

another way is to use a service wrapper that lets you do dumps,
http://people.apache.org/~fhanik/wrapper.html

Filip


Jayson Enriquez wrote:
> I am unable to copy Tomcat thread dumops when launching it from
> Startup.bat from a command window. At the end of the day I do a select
> all and copy but it only captures part of the thread dump. Is/Are
their
> other ways to capture thread dumps from a command (DOS) window?
Buffers
> are set to 999
>
>  
>
> I do need a full day of activity.
>
>  
>
> I've also tried 
>
>  
>
> Option 1:
>
>  
>
> Start command window and 'cd' to 'C:\...Tomcat\bin' folder where
> 'startup.bat' file resides and enter "startup.bat > tomcat.log"
>
>  
>
> This creates tomcat.log file in the same folder as startup.bat. I have
> attached the file which got generated now. The log gets updated with
> first 4 lines and that's all. 
>
>  
>
> Option 2:
>
>  
>
> In the start->run type "C:\Apache\Tomcat\bin\startup.bat > tomcat.log"
> and the log is generated with same output. The log gets updated with
> first 4 lines and that's all.
>
>  
>
>  
>
>  
>
> Thank you
>
>  
>
>
>   
>
------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.10.6/902 - Release Date:
7/15/2007 2:21 PM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org