On Mon, 15 Apr 2002, Daniel Aborg wrote:
Date: Mon, 15 Apr 2002 14:07:40 +0100
From: Daniel Aborg [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0.3 hangs when removing web application.
Craig R. McClanahan
Hi!
I originally posted this message on jGuru, but got no solutions we could
use. I'm hoping for a piece of the collective wisdom of the tomcat-user
list in order to solve this little problem.
I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've
encountered a rather fatal
Daniel,
Any servlet that Tomcat creates Tomcat will send a destroy
to. If you start any threads or singletons from that servlet
you need to pass the destroy onto them you're self.
Hope this helps,
Lance
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
[EMAIL PROTECTED] wrote:
Any servlet that Tomcat creates Tomcat will send a destroy
to. If you start any threads or singletons from that servlet
you need to pass the destroy onto them you're self.
Thanks Lance.
I neglected to mention that Tomcat DOES send the destroy - it just sends
it
[EMAIL PROTECTED] wrote:
It sounds to me like you are blocking with the connection
open in you're servlet therefore not allowing Tomcat to call
the destroy method untill you have released the block(
released the connection ) maybe synchronizing on the class? I
am not sure...
That's
Daniel Aborg wrote:
I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've
encountered a rather fatal problem: When Tomcat is asked to remove our
web application, i.e. for redeploying it or when shutting down, it hangs
with the following message:
On Mon, 15 Apr 2002, Daniel Aborg wrote:
Date: Mon, 15 Apr 2002 11:45:08 +0100
From: Daniel Aborg [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0.3 hangs when removing web application.
Daniel Aborg wrote
Craig R. McClanahan wrote:
Here is a simple example which reproduces this behaviour:
[snip]
In my eyes, this should work without any problems. (It does work just
fine in Tomcat 3.2.2.)
No, this should not work -- and Tomcat 3.2 was broken in allowing it.
Per the servlet spec, the container