Error during context restart
garym Dec 7, 2004 4:18 PMJboss 3,2,6 with Tomcat 5.
Trying to reploy a web app by touching the web.xml and receive the following error:
2004-12-07 11:33:25,387 INFO [org.apache.catalina.startup.HostConfig] restartContext()
2004-12-07 11:33:25,387 INFO [tomcat.localhost.ROOT.Context] Reloading this Context has started
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filters
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filter 'HeaderSetFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filter 'CommonHeadersFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filter 'SessionCheckFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filter 'PageAccessFilter'
2004-12-07 11:33:25,387 DEBUG [tomcat.localhost.ROOT.Context] Stopping filter 'LoadWaitFilter'
2004-12-07 11:33:25,388 INFO [STDOUT] LoadWaitFilter:destroy:
2004-12-07 11:33:25,400 DEBUG [tomcat.localhost.ROOT.Context] Processing standard container shutdown
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] Sending application stop events
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] resetContext jboss.web:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none org.jboss.mx.server.MBeanServerImpl@1e0ff2f
2004-12-07 11:33:25,427 DEBUG [tomcat.localhost.ROOT.Context] Stopping complete
2004-12-07 11:33:25,428 DEBUG [tomcat.localhost.ROOT.Context] Starting tomcat.localhost.ROOT.Context
2004-12-07 11:33:25,626 DEBUG [tomcat.localhost.ROOT.Context] Processing standard container startup
2004-12-07 11:33:25,627 DEBUG [tomcat.localhost.ROOT.Context] Checking for jboss.web:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none
2004-12-07 11:33:25,636 WARN [org.apache.catalina.startup.HostConfig] Error during context restart
java.lang.NullPointerException
at org.jboss.web.tomcat.tc5.WebCtxLoader.start(WebCtxLoader.java:109)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4231)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3043)
at org.apache.catalina.startup.HostConfig.restartContext(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.checkContextLastModified(HostConfig.java:759)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:800)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1619)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1628)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)
Using the default context with redeployable set to true. Using ROOT.war as a sym link to our web app directory. Deploys fine restarting jBoss.
Any ideas? Any further info needed?
Gary