Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4113

javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.2.1
    • SwitchYard
    • None
    • % %
    • Hide

      1) edit etc/system.properties, add javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
      2) copy ./system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saxon/9.5.1-5_1/org.apache.servicemix.bundles.saxon-9.5.1-5_1.jar to lib/endorsed

      Show
      1) edit etc/system.properties, add javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl 2) copy ./system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saxon/9.5.1-5_1/org.apache.servicemix.bundles.saxon-9.5.1-5_1.jar to lib/endorsed
    • Hide

      One can reproduce it with switchyard-quickstart-rest-binding:

      1. Start Fuse on Karaf
      2. features:install -v switchyard-netty
      3. features:install switchyard-quickstart-rest-binding
      Show
      One can reproduce it with switchyard-quickstart-rest-binding : Start Fuse on Karaf features:install -v switchyard-netty features:install switchyard-quickstart-rest-binding

    Description

      javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found is thrown if switchyard-netty feature is installed before some REST project is installed.

      Log:

      2015-09-30 14:44:48,366 | WARN  | yard Extender: 1 | steasy [329], contextID=default] | 96 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | unavailable
      java.lang.RuntimeException: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:32)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:219)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:204)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:215)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:189)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:174)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:64)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at Proxy79eff3d3_0a0b_400e_bdbc_c1bd30b9ad37.registerServlet(Unknown Source)[:]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyServletRegistry.registerRESTEasyServlet(OsgiRESTEasyServletRegistry.java:52)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyResourcePublisher.publish(OsgiRESTEasyResourcePublisher.java:78)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:98)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45-internal]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]
      Caused by: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:837)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:28)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 35 more
      Caused by: java.lang.RuntimeException: RESTEASY001280: Failed to construct public org.jboss.resteasy.plugins.providers.DocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration)
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:145)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1142)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:479)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:833)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 37 more
      Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
      	at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
      	at org.jboss.resteasy.plugins.providers.DocumentProvider.<init>(DocumentProvider.java:49)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_45-internal]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_45-internal]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_45-internal]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_45-internal]
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:133)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 40 more
      2015-09-30 14:44:48,370 | WARN  | yard Extender: 1 | AbstractLifeCycle                | 96 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | FAILED org.ops4j.pax.web.service.spi.model.ServletModel-60: javax.servlet.ServletException: org.ops4j.pax.web.service.spi.model.ServletModel-60
      javax.servlet.ServletException: org.ops4j.pax.web.service.spi.model.ServletModel-60
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:553)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:204)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:215)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:189)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:174)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:64)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at Proxy79eff3d3_0a0b_400e_bdbc_c1bd30b9ad37.registerServlet(Unknown Source)[:]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyServletRegistry.registerRESTEasyServlet(OsgiRESTEasyServletRegistry.java:52)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyResourcePublisher.publish(OsgiRESTEasyResourcePublisher.java:78)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:98)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45-internal]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:32)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:219)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	... 31 more
      Caused by: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:837)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:28)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 35 more
      Caused by: java.lang.RuntimeException: RESTEASY001280: Failed to construct public org.jboss.resteasy.plugins.providers.DocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration)
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:145)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1142)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:479)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:833)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 37 more
      Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
      	at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
      	at org.jboss.resteasy.plugins.providers.DocumentProvider.<init>(DocumentProvider.java:49)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_45-internal]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_45-internal]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_45-internal]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_45-internal]
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:133)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 40 more
      2015-09-30 14:44:48,372 | WARN  | yard Extender: 1 | AbstractLifeCycle                | 96 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | FAILED HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.switchyard.components.switchyard-component-resteasy [329], contextID=default]}: javax.servlet.ServletException: org.ops4j.pax.web.service.spi.model.ServletModel-60
      javax.servlet.ServletException: org.ops4j.pax.web.service.spi.model.ServletModel-60
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:553)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:204)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:215)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:189)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:174)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:64)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at Proxy79eff3d3_0a0b_400e_bdbc_c1bd30b9ad37.registerServlet(Unknown Source)[:]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyServletRegistry.registerRESTEasyServlet(OsgiRESTEasyServletRegistry.java:52)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyResourcePublisher.publish(OsgiRESTEasyResourcePublisher.java:78)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:98)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45-internal]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:32)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:219)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	... 31 more
      Caused by: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:837)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:28)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 35 more
      Caused by: java.lang.RuntimeException: RESTEASY001280: Failed to construct public org.jboss.resteasy.plugins.providers.DocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration)
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:145)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1142)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:479)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:833)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 37 more
      Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
      	at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
      	at org.jboss.resteasy.plugins.providers.DocumentProvider.<init>(DocumentProvider.java:49)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_45-internal]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_45-internal]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_45-internal]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_45-internal]
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:133)
      	... 40 more
      2015-09-30 14:44:48,374 | ERROR | yard Extender: 1 | HttpServiceStarted               | 102 - org.ops4j.pax.web.pax-web-runtime - 3.2.5 | Could not start the servlet context for context path []
      javax.servlet.ServletException: org.ops4j.pax.web.service.spi.model.ServletModel-60
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:553)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:204)[103:org.ops4j.pax.web.pax-web-jetty:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:215)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:189)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:174)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:64)[102:org.ops4j.pax.web.pax-web-runtime:3.2.5]
      	at Proxy79eff3d3_0a0b_400e_bdbc_c1bd30b9ad37.registerServlet(Unknown Source)[:]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyServletRegistry.registerRESTEasyServlet(OsgiRESTEasyServletRegistry.java:52)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyResourcePublisher.publish(OsgiRESTEasyResourcePublisher.java:78)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:98)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45-internal]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:32)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:219)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[96:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      	... 31 more
      Caused by: java.lang.RuntimeException: RESTEASY001795: Unable to instantiate MessageBodyReader
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:837)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:67)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:28)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 35 more
      Caused by: java.lang.RuntimeException: RESTEASY001280: Failed to construct public org.jboss.resteasy.plugins.providers.DocumentProvider(org.jboss.resteasy.spi.ResteasyConfiguration)
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:145)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1142)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:479)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:833)[319:wrap_mvn_org.jboss.resteasy_resteasy-jaxrs_2.3.10.Final:0.0.0]
      	... 37 more
      Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
      	at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
      	at org.jboss.resteasy.plugins.providers.DocumentProvider.<init>(DocumentProvider.java:49)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_45-internal]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_45-internal]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_45-internal]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_45-internal]
      	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:133)
      	... 40 more
      2015-09-30 14:44:48,377 | ERROR | yard Extender: 1 | SwitchYardExtender               | 304 - org.switchyard.karaf.switchyard-karaf-deploy - 2.0.1.redhat-621040 | Unable to start switchyard for bundle org.switchyard.quickstarts.switchyard.rest.binding
      org.switchyard.component.resteasy.RESTEasyPublishException: java.lang.NullPointerException
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:102)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:638)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)[289:org.switchyard.switchyard-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[304:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621040]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45-internal]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45-internal]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45-internal]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45-internal]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]
      Caused by: java.lang.NullPointerException
      	at org.switchyard.component.resteasy.osgi.OsgiRESTEasyResourcePublisher.publish(OsgiRESTEasyResourcePublisher.java:81)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	at org.switchyard.component.resteasy.InboundHandler.doStart(InboundHandler.java:98)[329:org.switchyard.components.switchyard-component-resteasy:2.0.1.redhat-621040]
      	... 15 more
      
      

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            vchalupa_jira Václav Chalupa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: