tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Rataj" <>
Subject STrange problem with a thread made in Servlet.init()
Date Wed, 22 Feb 2006 16:33:07 GMT
I made a servlet that starts on startup, and in its init() method a
new thread is started. The thread reads from a FS and uses JDBC, yet,
it does not work, as many errors similar to that occur:

Feb 22, 2006 5:26:27 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load java.util.Scanner.  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.
        at org.apache.catalina.loader.WebappClassLoader.loadClass(
        at org.apache.catalina.loader.WebappClassLoader.loadClass(
        at java.lang.ClassLoader.loadClassInternal(
        at org.algstoch.trafficlogger.Logger.<init>(

If the same thread is run outside webapp, it works ok.

What can it be?

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message