You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/24 08:31:19 UTC

DO NOT REPLY [Bug 9371] New: - Classloader does not load the local web apps "lib" directory before loading "shared" repository

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9371

Classloader does not load the local web apps "lib" directory before loading "shared" repository

           Summary: Classloader does not load the local web apps "lib"
                    directory before loading "shared" repository
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: chung_po_loi@hotmail.com


I have tried using xalan in my web application. I have put the xalan's jar 
files in my <webapp>/web-inf/lib/ directory but tomcat couldn't find it. I 
found that those "jar" files in the <webapp>/web-inf/lib/ doesn't override 
the "xerces.jar" located in <tomcat home>/common/lib. This is in contrast with 
the documentation in "http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-
loader-howto.html"

This problem forced me to change the existing xerces.jar in "common" folder to 
the xalan version. But it causes me having another problem when installing 
another application, which uses a different version of W3C DOM APIs.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>