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=17283>.
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=17283

Problem with classloader

           Summary: Problem with classloader
           Product: Xerces2-J
           Version: 2.2.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: JAXP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am implementing the following architecture: 
1.  an applet is downloaded over server authenticated SSL,
2  collects the PIN from the user and logs into PKI
3. opens mutually authenticated SSL and transfers XML application jars to the local 
file system
4. creates URLClassloader initialised with the file URLs of the newly installed jars
5. uses reflection to call the main method of the application.

I noticed a number of requests for various Xerces classes make their way to the web 
server generating 404 responses, like this one:

164.95.119.43 - - [21/Feb/2003:08:44:52 -0500] "GET 
/jars/org/apache/xerces/impl/dv/dtd/DTDDVFactoryImpl.class HTTP/1.1" 404 346

I tracked this dow to the org.apache.xerces.util.SecuritySupport12 class. The method 
getContextClassLoader() returns sun.plugin.security.PluginClassLoader instead of 
URLClassLoader that was used to start the application.

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

Reply via email to