https://issues.apache.org/bugzilla/show_bug.cgi?id=56050
Bug ID: 56050
Summary: NPE in WebappClassLoader.clearReferencesJdbc on
shutdown
Product: Tomcat 7
Version: 7.0.50
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
We run tomcat with a few web applications, recently tomcat was updated from
7.0.35 to 7.0.50 and now on server shutdown an exception is reported for every
context:
Jan 21, 2014 4:47:06 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
WARNING: JDBC driver de-registration failed for web application [/manager]
java.lang.NullPointerException
at
org.apache.catalina.loader.WebappClassLoader.clearReferencesJdbc(WebappClassLoader.java:2054)
at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1990)
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1902)
at
org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:662)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5527)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.4)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Ubuntu 12.04 with binary packages from
https://launchpad.net/ubuntu/+source/tomcat7
I am sure how it fails, the referenced lines are:
2053: Class<?> lpClass =
2054:
defineClass("org.apache.catalina.loader.JdbcLeakPrevention",
2055: classBytes, 0, offset,
this.getClass().getProtectionDomain());
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]