Hi,
I have just upgraded to tomcat7, to overcome a problem with
redeployment of a Spring application
resulting in the following annoyance:
INFO: Illegal access: this web application instance has been stopped
already. Could not load
com.mysql.jdbc.profiler.ProfilerEventHandlerFactory.
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:1273)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4273)
at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1444)
at
org.hibernate.connection.DriverManagerConnectionProvider.close(DriverManagerConnectionProvider.java:152)
at
org.hibernate.connection.DriverManagerConnectionProvider.finalize(DriverManagerConnectionProvider.java:142)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Tomcat7 does seem to have fixed the problem, however I now have to
change every pom to change the tomcat deployment url
from http://localhost:8080/manager to http://localhost:8080/manager/html.
Please maintain backwards compatibility by supplying a default of html
to the the manager url,
you will save a lot of people a lot of pointless work.
yours
Tim
--
Tim Pizey - http://pizey.net/~timp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]