tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47226] New: Classloader chain broken
Date Wed, 20 May 2009 11:54:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47226

           Summary: Classloader chain broken
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: egarcia@stream18.com


Created an attachment (id=23698)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23698)
classloader chain broken

When we have a library deployed in higher level classloader (System class
loader, for instance) that references a class that is loaded by a lower level
classloader (web application classloader), catalina fails to load the "lower
level class" with an error "java.lang.NoClassDefFoundError"

This behaviour is not consistent whith the explanations found on the
documentation.

This problem can be reproduced using the attached test application (deploy the
"external" jar under the catalina lib directory, and deploy the web
application. When you access the application the error will arise).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message