Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9121

[GSS](7.1.0) JAXP is used within a deployment lifecycle without pushing / popping the TCCL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR16
    • 7.0.z.GA
    • XML Frameworks
    • None
    • Hide

      Remove the xerces lib packed in ear

      Show
      Remove the xerces lib packed in ear
    • Hide

      Reproducer provided, deploy it first time succeeds, then redeploy and it will fail

      Show
      Reproducer provided, deploy it first time succeeds, then redeploy and it will fail

    Description

      Redeployment of application using hibernate and xerces 2.9 fails with:
      Caused by: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
      at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
      at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
      at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source)
      at org.apache.xerces.jaxp.validation.XMLSchemaValidatorComponentManager.<init>(Unknown Source)
      at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.<init>(Unknown Source)
      at org.apache.xerces.jaxp.validation.AbstractXMLSchema.newValidatorHandler(Unknown Source)
      at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.<init>(ValidatingUnmarshaller.java:73)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshallerHandler(UnmarshallerImpl.java:197)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:456)
      at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:430)
      at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:38)
      at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:20)
      at org.hibernate.validator.internal.xml.ValidationXmlParser.run(ValidationXmlParser.java:201)
      at org.hibernate.validator.internal.xml.ValidationXmlParser.unmarshal(ValidationXmlParser.java:125)

      Attachments

        1. example.tar.gz
          5.29 MB
        2. hello.ear.zip
          11.43 MB

        Issue Links

          Activity

            People

              jgreene@redhat.com Jason Greene
              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: