You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ralph Schaer <ra...@yahoo.com> on 2004/09/18 20:35:46 UTC

tomcat 5.5.2 catalina stop problem

Hi

I have a little problem with shutdown of Tomcat 5.5.2. When I call
catalina stop Tomcat shows the stack trace below. Starting Tomcat
is no problem. Also the application is working without any problem.
Just stopping makes problem. Without my application and with the
example webapps everything works fine (start and stop).


java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java
:875)
        at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1
117)
        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1089)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:312)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1043)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:425)

        at org.apache.catalina.core.StandardService.stop(StandardService.java:51
2)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:1998
)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:588)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:563)
        ... 6 more


        
Regards
Ralph


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat 5.5.2 catalina stop problem

Posted by Remy Maucherat <re...@gmail.com>.
On Sat, 18 Sep 2004 20:35:46 +0200, Ralph Schaer <ra...@yahoo.com> wrote:
> Hi
> 
> I have a little problem with shutdown of Tomcat 5.5.2. When I call
> catalina stop Tomcat shows the stack trace below. Starting Tomcat
> is no problem. Also the application is working without any problem.
> Just stopping makes problem. Without my application and with the
> example webapps everything works fine (start and stop).

And ? (starting with how is your webapp is packaged, and how it is deployed)

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org