Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3848

JVM Xalan implementation is no longer overridden in 6.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Karaf
    • % %

    Description

      In JBoss 6.1.0, the lib/endorsed folder contained an implementation of Xalan. Moreover, the etc/system.properties contained 2 lines that were overriding the default implementation in the JVM.

      javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
      javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
      

      In JBossFuse 6.2.0, this is not the case anymore and we encounter errors on AIX:

      javax.xml.transform.TransformerConfigurationException: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: Can't find resource for bundle xxx.MyBundle, key Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
      at com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTransformer(Unknown Source)
      at xxx.xxx.xxx.xxx.xxx.TransformerPool.createInstance(TransformerPool.java:55)
      ... 14 more
      Caused by: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: Can't find resource for bundle xxx.MyBundle, key Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
      at com.ibm.xtq.xslt.jaxp.ConfigurationErrorHandler.report(Unknown Source)
      at com.ibm.xtq.utils.Reporter.report(Unknown Source)
      at com.ibm.xtq.ast.parsers.xslt.XSLTParser.reportError(Unknown Source)
      at com.ibm.xtq.xslt.drivers.XSLTCompiler.compile(Unknown Source)
      at com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl.createTemplates(Unknown Source)

      If we modify our 6.2.0 to be similar to the 6.1.0, the problem disappears.

      Is it possible to modify the standard packaging of the 6.2.0 to reflect the 6.1.0?

      Attachments

        Issue Links

          Activity

            People

              yfang@redhat.com Freeman(Yue) Fang
              rhn-support-qluo Joe Luo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: