Bug 6656 - WebappClassLoader does not load packages in javax.xml.*
Summary: WebappClassLoader does not load packages in javax.xml.*
Status: RESOLVED DUPLICATE of bug 6374
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Webapps:Examples (show other bugs)
Version: 4.0.2 Final
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-25 16:50 UTC by Lei Zhu
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lei Zhu 2002-02-25 16:50:05 UTC
The method WebappClassLoader.validate blocks out the loading of any classes
belonging to javax.xml.* package in the webapps/lib and webapp/classes
directory.  This makes it impossible for a specific web application to use its
own XML classes.  Also, it makes it impossible for applications to do XSL
transformation using javax.xml.transform.* classes.  (We are using xalan for
this).  The work around would be putting the jar files in common/lib, but this
is not ideal and prevents each webapp from having its own XML handling classes.
Comment 1 Remy Maucherat 2002-02-25 16:53:57 UTC

*** This bug has been marked as a duplicate of 6374 ***