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

[GSS](7.0.z) HV-1280 - JAXP is used within a deployment lifecycle without pushing / popping the TCCL

    XMLWordPrintable

Details

    • EAP 7.0.6

    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

        Issue Links

          Activity

            People

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: