tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Engelhart <>
Subject Re: Tomcat, Threads and IllegalAccessError
Date Wed, 23 Jan 2002 19:14:28 GMT
No, it's an IllegalAccessError.  It's listed in the Error section of 
java.lang javadoc.

Below the list of excceptions is the Errors subsection.  Here's the 
relevant comment:

/* Begin JavaDoc java.lang.IllegalAccessError */
Thrown if an application attempts to access or modify a field, or to 
call a method that it does not have access to.
Normally, this error is caught by the compiler; this error can only 
occur at run time if the definition of a class has incompatibly changed.
/* End javaDoc */

This is what's strange is that it compiles fine and runs fine as an 
application.  The code also runs fine when run in a larger webapp that I 
have where I'm not spawning threads myself and I'm letting the container 
handle everything.   In this case I need to spawn new threads though 
because of the nature of what I'm doing.


On Wednesday, January 23, 2002, at 11:50  AM, Bo Xu wrote:

> I am not sure, do you mean java.lang.IllegalAccessException? where did 
> you
> put

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message