tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Srinivasan <arvind.sriniva...@sun.com>
Subject [PATCH] TC4.0 - Intermittent IllegalArgumentException in WebappClassLoader
Date Thu, 18 Jul 2002 23:39:07 GMT
Attaching a patch that fixes an intermittent error (that occurs when an
attempt is made to define a package that has already been defined). I
noticed this when running a multi-threaded test.

----- Root Cause -----
java.lang.IllegalArgumentException: Servlet22.S05_Request
        at java.lang.ClassLoader.definePackage(ClassLoader.java:1151)
        at
java.net.URLClassLoader.definePackage(URLClassLoader.java:310)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1647)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:970)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1409)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1287)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:870)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
a:658)

 Arvind

Mime
View raw message