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: egar...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to