Hi There,

        Thanks that sorted it.

Thanks

Pete

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 15:48
To: Tomcat Users List
Subject: RE: Tomcat not shutting down correctly



Howdy,
Could it be that your app or a library it uses spawns non-daemon threads
and doesn't shut them down properly?  This is a well-known issue.

What happens if you add a System.exit(0) call to the contextDestroyed
method of a ServletContextListener in your webapp? ;)

Finally, without looking at your attached script (attachments don't come
through on this list), why aren't you using the standard tomcat one?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Peter Guyatt [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 14, 2003 10:46 AM
>To: Tomcat Users List
>Subject: Tomcat not shutting down correctly
>
>Hi There,
>
>       I was hoping someone will be able to shed some light on a
problem I
>am
>having with stopping tomcat.
>
>I use the attached shell script to start/stop tomcat, the problem is
that
>when I use the stop argument Tomcat just seems to hang.
>
>The Catalina socket is closed, however the HTTP socket is kept alive
but
>stops processing any requests, The only way to stop this is to use kill
on
>the process id.
>
>I would very much appreciate any light that someone could shed on this.
>
>Thanks
>
>Pete
>
>
>




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


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

Reply via email to