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, 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