tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MKW <m.wri...@ru.ac.za>
Subject Tomcat shutdown exception
Date Sun, 03 Apr 2005 23:10:07 GMT
I'm using Tomcat 5.5 (installed as a manually started service) with the 
latest Axis release as a webapp and have defined a MySQL data source (as 
a context in server.xml and a resource-ref in the Axis web.xml) with to 
which an Axis web service (and an ordinary jsp page) can both connect 
successfully.  At the end of my web service I close the Connection 
Statement, ResultSet and Context instances with no problems - no 
exceptions are thrown.  But, after I have used the MySQL connection in 
my web service program, Tomcat throws the exception I've added beneath 
(which doesn't happen e.g. with a jsp page).  Does anyone have any idea 
why this should be happening?

Thanks.

Madeleine

This is the exception thrown when Tomcat closes:

INFO: ContextListener: contextDestroyed()
- Servlet AxisServlet threw unload() exception
javax.servlet.ServletException: Servlet.destroy() for servlet 
AxisServlet threw exception
	at 
org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1306)
	at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1646)
	at 
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
	at 
org.apache.catalina.core.StandardContext.removeChild(StandardContext.java:3025)
	at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:1011)
	at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:253)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4275)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063)
	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063)
	at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:445)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:561)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


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


Mime
View raw message