XPathFactory#newInstance() failed to create an XPathFactory for the default object model:
http://java.sun.com/jaxp/xpath/dom
----------------------------------------------------------------------------------------------------------------------------
Key: SWITCHYARD-306
URL:
https://issues.jboss.org/browse/SWITCHYARD-306
Project: SwitchYard
Issue Type: Bug
Components: deployment
Affects Versions: 0.1
Environment: AS7
Reporter: Magesh Bojan
Assignee: Magesh Bojan
Deploying an application with Smooks transformer throws error in AS7
15:22:47,203 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service
jboss.deployment.unit."switchyard-quickstart-transform-smooks-0.2.0-SNAPSHOT.jar".SwitchYardService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."switchyard-quickstart-transform-smooks-0.2.0-SNAPSHOT.jar".SwitchYardService:
Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1696)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_24]
at java.lang.Thread.run(Unknown Source) [:1.6.0_24]
Caused by: java.lang.ExceptionInInitializerError
at
org.milyn.cdr.XMLConfigDigester.digestConfigRecursively(XMLConfigDigester.java:202)
at org.milyn.cdr.XMLConfigDigester.digestConfig(XMLConfigDigester.java:184)
at
org.milyn.cdr.SmooksResourceConfigurationStore.registerResources(SmooksResourceConfigurationStore.java:229)
at
org.milyn.cdr.SmooksResourceConfigurationStore.registerInstalledResources(SmooksResourceConfigurationStore.java:161)
at
org.milyn.cdr.SmooksResourceConfigurationStore.<init>(SmooksResourceConfigurationStore.java:114)
at
org.milyn.container.standalone.StandaloneApplicationContext.<init>(StandaloneApplicationContext.java:59)
at org.milyn.Smooks.<init>(Smooks.java:117)
at org.milyn.Smooks.<init>(Smooks.java:147)
at
org.switchyard.transform.smooks.internal.SmooksTransformFactory.newTransformer(SmooksTransformFactory.java:72)
at
org.switchyard.transform.config.model.TransformerFactory.newTransformers(TransformerFactory.java:80)
at
org.switchyard.transform.TransformerRegistryLoader.registerTransformers(TransformerRegistryLoader.java:84)
at
org.switchyard.deploy.internal.Deployment.registerTransformers(Deployment.java:195)
at org.switchyard.deploy.internal.Deployment.init(Deployment.java:107)
at
org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:74)
at
org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:68)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
... 3 more
Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an
XPathFactory for the default object model:
http://java.sun.com/jaxp/xpath/dom with the
XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No
XPathFactory implementation found for the object model:
http://java.sun.com/jaxp/xpath/dom
at javax.xml.xpath.XPathFactory.newInstance(Unknown Source) [:1.6.0_24]
at org.milyn.xml.XmlUtil.<clinit>(XmlUtil.java:433)
... 19 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira