Every now and then I get the following exception when running a web application. Not sure if this issue is a local issue on this machine. I got the following trace after I deployed an app x to a tomcat instance that hasn’t started any apps yet but had x already deployed before.

May 13, 2013 10:38:35 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load java.util.Set.  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:1587)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
	at utils.RequestAppender.close(RequestAppender.java:195)
	at org.apache.log4j.AppenderSkeleton.finalize(AppenderSkeleton.java:144)
	at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)
	at java.lang.ref.Finalizer.access$100(Finalizer.java:32)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:178)

May 13, 2013 10:38:35 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load java.util.Iterator.  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:1587)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
	at utils.RequestAppender.close(RequestAppender.java:196)
	at org.apache.log4j.AppenderSkeleton.finalize(AppenderSkeleton.java:144)
	at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)
	at java.lang.ref.Finalizer.access$100(Finalizer.java:32)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:178)
Submitted by Elmer van Chastelet on 13 May 2013 at 08:50

On 13 May 2013 at 09:03 Elmer van Chastelet commented:

Closing this issue until I get the same exception on the same class. Not completely sure if the error was on RequestAppender previously.


On 13 May 2013 at 09:03 Elmer van Chastelet closed this issue.

Log in to post comments