>> 2) Use System.getRuntime().addShutdownHook() to trigger your 
>> own thread when the JVM does decide to exit.
> 
> Assuming the OP does not have easy access to the running 
> application, would that mean adding another application 
> which is launched at Tomcat start, and runs the above ?
> Or do you need to do this in the application itself ?

That was my next question, too.

--
Eric Robinson


Disclaimer - July 27, 2010 
This email and any files transmitted with it are confidential and intended 
solely for Tomcat Users List. If you are not the named addressee you should not 
disseminate, distribute, copy or alter this email. Any views or opinions 
presented in this email are solely those of the author and might not represent 
those of . Warning: Although  has taken reasonable precautions to ensure no 
viruses are present in this email, the company cannot accept responsibility for 
any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to