Gareth Western wrote:

Hi,
I have a web application which, when called, starts running it's own thread in a new JVM, therefore Tomcat doesn't kill it when the server shuts down... is there any way to capture the thread again to kill it automatically?
Thanks,
Gareth


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




You don't mean you are launching another JVM process by the comment about another JVM do you? Just trying to get clarity. If you are running a seperate process then no not unless you make it use shared memory (see nio), or come up with some other format for IPC (inter process communication), and listen to stop the process (gracefully). If it is really a thread and not a process then follow the directions in of another user and make it a non-daemon thread.


Wade



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to