tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omairkhawaja <>
Subject Re: Thread dump on Tomcat 5.5.20 running as a service
Date Fri, 12 Jun 2009 15:06:19 GMT

Just to add: I'm using JDK 1.5

Thank you for your very prompt replies... There's one additional question
that I had ... I was initially running tomcat with the -Xrs JVM flag... but
if I try to take a thread dump, the Tomcat process crashes and I get
nothing... if I remove the VM flag, I can take a thread dump successfully
and the app continues to run... 

This makes sense given that according Sun's
Ctrl + Break thread dumps are not available with the -Xrs flag turned on...
and given what's mentioned here  and here  the process exiting on a
Ctrl + Break is the expected behavior when -Xrs is specified as a JVM

My question is: 
- what are the implications of removing the -Xrs flag.. 
- why would the flag be enabled for a webapp running as a service?  What
benefits if any does it provide?



Rainer Jung-3 wrote:
> On 12.06.2009 15:00, Mark Thomas wrote:
>> omairkhawaja wrote:
>>> My question is though: is it guaranteed that the version of procrun that
>>> ships with tomcat6 is completely compatible with tomcat 5.5.20?
>> Yes. The same binaries work with all Tomcat versions. We just change the
>> file name to reflect the service name.
> Even more precisely: if you register your Tomcat service under the name
> XXX and rename the tomcat5w.exe / tomcat6w.exe to XXXw.exe, then it will
> automatically manage that service. So the reason for the names
> tomcat5w.exe resp. tomcat6w.exe is, that the default service names
> Tomcat registers are tomcat5 resp. tomcat6.
> Regards,
> Rainer
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message