DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32444>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32444

           Summary: Activation.jar not found when in WEB-INF/lib
           Product: Tomcat 5
           Version: 5.0.28
          Platform: HP
        OS/Version: SunOS
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi all. I have a webapp which refers to javax.activation.DataSource. This class 
is contained in activation.jar. I placed activation.jar in WEB-INF/lib for the 
application, generated the WAR file, and uploaded it. Checking on server shows 
that WAR file was correctly unpacked and contains WEB-INF/lib/activation.jar. 
However, when the servlet that needs it is called by Tomcat, it fails 
consistently with a NoClassdefFoundException. 

I managed to workaround it by moving activation.jar from WEB-INF/lib to the 
Tomcat-wide common/lib folder, after which it all worked just fine. Moving it 
back again, and it stops working again.

So, is this a bug with the Tomcat classloader that loads JAR files from WEB-
INF/lib?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to