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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to