JBoss ON bundle recipe fails with ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory when attempting to execute an external Java process using an incompatible JVM

Solution Unverified - Updated -

Issue

  • jboss-cli.sh step fails:

    Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
    
  • Bundle deployment returns ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory error when invoking external Java process:

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Deployment of provisioning bundle which utilizes the Ant Exec task to execute another Java process
  • The system wide JVM available on the JBoss ON agent host is not compatible with the Java service being executed by the bundle

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.