You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anand Parikh <aa...@yahoo.com> on 2002/09/01 14:56:22 UTC

HELP!! tomcat 4.0.4 shutdown problem

I am using Tomcat 4.0.4 with JDK 1.3 on Debian Linux 2.2.6.
Tomcat starts OK with startup.sh.
On shutdown with shutdown.sh, there are no error messages on the xterm.
Subsequent startup does not succeed.

I have searched the newsgroups and this mailing list but I cannot find a
solution to this problem. There is no conflict with the port numbers as I have
tried different ones. Any help is highly appreciated.

Thanks,
Anand


After the first shutdown 15 processes like the one below are still running:

aaptwo     425  0.0 12.9 170840 16464 pts/2  S    07:21   0:00
/usr/bin/jdk1.3/bin/i386/native_threads/java
-Djava.endorsed.dirs=/usr/local/jakarta-tomcat-4.0.4/bin:/usr/local/jakarta-tomcat-4.0.4/common/lib
-classpath 
/usr/bin/jdk1.3/lib/tools.jar:/usr/local/jakarta-tomcat-4.0.4/bin/bootstrap.jar
-Dcatalina.base=/usr/local/jakarta-tomcat-4.0.4
-Dcatalina.home=/usr/local/jakarta-tomcat-4.0.4
-Djava.io.tmpdir=/usr/local/jakarta-tomcat-4.0.4/temp
org.apache.catalina.startup.Bootstrap start


The log file has the following messages:
2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path /examples
2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path /webdav
2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path /myApp
2002-08-29 07:20:39 StandardContext[/myApp]: Error initializing naming
context for context /myApp
2002-08-29 07:20:39 StandardHost[localhost]: Error removing
application at context path /myApp
java.lang.NullPointerException
	at java.util.Hashtable.remove(Hashtable.java:421)
	at 
org.apache.naming.ContextBindings.unbindClassLoader(ContextBindings.java:336)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3470)
	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:984)
	at org.apache.catalina.core.StandardHost.remove(StandardHost.java:815)
	at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:422)
	at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:402)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:234)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1163)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:435)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:535)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:799)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-08-29 07:20:39 HostConfig[localhost] Error undeploying web
application at context path /myApp
java.io.IOException: java.lang.NullPointerException
	at org.apache.catalina.core.StandardHost.remove(StandardHost.java:818)
	at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:422)
	at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:402)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:234)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1151)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1163)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:435)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:535)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:799)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path /tomcat-docs
2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path /manager
2002-08-29 07:20:39 StandardHost[localhost]: Removing web application
at context path



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>