You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jochen Schneider <jo...@decrc.abb.de> on 2000/11/02 14:32:19 UTC

Error in 3.2-6 : Context not properly removed

Hi,

we are using Tomcat 3.2 Beta6 on WIN NT4.0 (SP5) and jdk1.2.2. If  I am
shutting down tomcat (using the shutdown.bat command file) not all contexts
are removed. This is a major problem since in that case the destroy method
of the servlet is not called. I have posted this problem some time ago but
didn't receive a response.

This can be reproduced even with the example applications coming with the
current tomcat installation:

1. Start tomcat using the tomcat.bat start command produces the following
output:

[d:\programs\abb\service web server\tomcat\bin]tomcat.bat run
2000-11-02 02:27:01 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2000-11-02 02:27:01 - ContextManager: Adding context Ctx( /examples )
2000-11-02 02:27:01 - ContextManager: Adding context Ctx(  )
2000-11-02 02:27:01 - ContextManager: Adding context Ctx( /test )
2000-11-02 02:27:02 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

2. Shutdown tomcat using the shutdown.bat command (from another comand
prompt):
2000-11-02 02:29:12 - ContextManager: Removing context Ctx( /admin )
2000-11-02 02:29:12 - ContextManager: Removing context Ctx(  )


It seems that the test and the example context is not automatically removed.
If I am debugging my own application the destroy method is never called.

I really would appreciate any help from you. Any ideas?

Regards Jochen