July 23, 2014 2:34:35 pm Org.apache.catalina.loader.WebappClassLoader loadclass
Information: Illegal access:this Web application instance has been stopped already. Could not load com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException.The eventual following stack trace is caused by a 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:1244)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1204)
At JAVA.LANG.CLASS.FORNAME0 (Native Method)
At Java.lang.Class.forName (class.java:190)
At Com.mysql.jdbc.Util.getInstance (util.java:386)
At Com.mysql.jdbc.SQLError.createSQLException (sqlerror.java:1013)
At Com.mysql.jdbc.SQLError.createSQLException (sqlerror.java:987)
At Com.mysql.jdbc.SQLError.createSQLException (sqlerror.java:982)
At Com.mysql.jdbc.SQLError.createSQLException (sqlerror.java:927)
At Com.mysql.jdbc.ConnectionImpl.connectOneTryOnly (connectionimpl.java:2412)
At Com.mysql.jdbc.ConnectionImpl.createNewIO (connectionimpl.java:2154)
At Com.mysql.jdbc.connectionimpl.<init> (connectionimpl.java:792)
At Com.mysql.jdbc.jdbc4connection.<init> (jdbc4connection.java:47)
The reasons are:
Tomcat is causing the failure to reload the Web application. When an application unloads, it does not close all threads. When Tomcat has closed its classloader, some threads continue to run, causing an error. However, this does not affect the normal use, regardless of the impact is not affected, see abnormal information is not pleasing to the eye.
Solution: Modify the Context.xml in the Tomcat directory, locate the <Context> tag, and set the Reloadble property value to: Reloadable= "false", i.e. <context reloadable= " False ">.