Why do I suddenly get 'org.xml.sax.SAXNotRecognizedException' after upgrading to EAP 7.2.7?

Solution Verified - Updated -

Issue

  • After Upgrade EAP 7.2.3 to EAP 7.2.7, an exception related to the JAXB library occurs when doing a redeployment of an application that utilizes the JAXB and Xerces library.
2020-xx-xx xx:xx:xx,683 SEVERE [com.sun.xml.bind.v2.util.XmlFactory] (ServerService Thread Pool -- 99) null: org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
    at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
    at com.sun.xml.bind.v2.util.XmlFactory.createParserFactory(XmlFactory.java:106)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:124)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:170)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:209)
  • Before the EAP is upgraded to 7.2.7, the application used at the redeployment process was successfully deployed.
  • No changes are applied to the application .war file during the EAP upgrade process.

Environment

  • Red Hat JBoss Enterprise Application Server (EAP)
    • 7.2.7 and beyond

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content