Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5267

JBOSS endorsed lib Xerces and class loading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-4.0.3 SP1
    • ClassLoading
    • None
    • Medium
    • Workaround Exists
    • Hide

      Replace JBOSS libraries with ours, (hoping that no other version will be required by another application.)

      Show
      Replace JBOSS libraries with ours, (hoping that no other version will be required by another application.)

    Description

      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

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            lolix_jira Laurent Duparchy (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: