[jboss-jira] [JBoss JIRA] Created: (JBAS-5267) JBOSS endorsed lib Xerces and class loading

laurent duparchy (JIRA) jira-events at lists.jboss.org
Fri Feb 29 04:03:14 EST 2008


JBOSS endorsed lib Xerces and class loading
-------------------------------------------

                 Key: JBAS-5267
                 URL: http://jira.jboss.com/jira/browse/JBAS-5267
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: ClassLoading
    Affects Versions: JBossAS-4.0.3 SP1
         Environment: jdk 1.5
            Reporter: laurent duparchy
         Assigned To: Scott M Stark



We have a class that converts HTML to PDF using Xalan and Apache FOP. The process involves xerces lib also.

we have a requirement to use libs compatible with our FOP release. (xerces 2.7.1, xalan 2.7.0 etc).

When those libs and bundle in a WAR, it works fine, class loading seems OK and our libs are correctly loaded by our class. No interferences with jboss libraries.

But when we bundle the libs in a EAR and a EJB jar (ClassPath set in Manifest) we can't get out a ClassCast exception. 

We've tried all options of isolations without success. 

I've found a clue for you at IBM. Not sure if it can apply to jboss  http://www.ibm.com/developerworks/websphere/library/techarticles/0310_searle/searle.html



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list