Hmmm.... A very verbose exception message. Can we see the code that
threw the exception? Are there any other exceptions in the logs before
this one?
--David
Artur Rataj wrote:
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.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.algstoch.trafficlogger.Logger.<init>(Logger.java:50)
at logger.LoggerThread.run(LoggerThread.java:35)
If the same thread is run outside webapp, it works ok.
What can it be?
Best regards,
Artur
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]