JBoss ON bundle recipe fails with ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory when attempting to execute an external Java process using an incompatible JVM
Issue
-
jboss-cli.shstep fails:Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory -
Bundle deployment returns
ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactoryerror 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
