My tomcat 5 server running on centos often (several times / day) causes the following error:
Apr 7, 2011 11:02:30 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load com.mysql.jdbc.SQLError. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3291) at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1665) at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4411) at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1315) at com.mysql.jdbc.ConnectionImpl.finalize(ConnectionImpl.java:2761) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Unknown Source) at java.lang.ref.Finalizer.access$100(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
The tomcat lib directory contains mysql-connector-java-5.1.8-bin.jar and mysql-connector-java-5.1.6-bin.jar, while the WEB-INF / lib directory contains only mysql-connector-java -5.1. 8-bin.jar. All three jar files contain the SQLError class.
I would like to exclude this exception. Could tomcat look elsewhere to try and find this class?
source share