How to diagnose JAXP factory implementation issues in JBoss EAP

Solution Unverified - Updated -

Issue

  • We are having an issue where javax.xml.datatype.DatatypeFactory.newInstance() is trying to create gnu.xml.datatype.JAXPDatatypeFactory instead of the default DatatypeFactory implementation in JBoss EAP
Caused by: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
   at java.lang.Class.forName(libgcj.so.10)
   at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.10)

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.