Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-306

No XPathFactory implementation found by Smooks on AS7

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 0.1
    • 0.2
    • deployment
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mageshbk_jira Magesh Bojan (Inactive)
              mageshbk_jira Magesh Bojan (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived: