camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syadav <b.srisai...@gmail.com>
Subject Re: Camel-CXF in tomee
Date Sat, 25 Feb 2017 06:23:40 GMT
SEVERE - Failed to create route route1 at: >>> To[cxfbean:REST_Service] <<<
in route: Route(rout
e1)[[From[servlet:///s?servletName=CamelServlet... because of Failed to
resolve endpoint: cxfbean
://REST_Service due to: null
org.apache.camel.FailedToCreateRouteException: Failed to create route route1
at: >>> To[cxfbean:_
REST_Service] <<< in route:
Route(route1)[[From[servlet:///s?servletName=CamelServlet... because
of Failed to resolve endpoint: cxfbean://REST_Service due to: null
        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1071)
        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
        at
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1008)
        at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:
3397)
        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3128)
        at
org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:182)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2953)
        at
org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.ja
va:2976)
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2953)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2920)
        at
org.apache.camel.impl.DefaultCamelContext$$OwbNormalScopeProxy0.start(org/apache/camel/im
pl/DefaultCamelContext.java)
        at
org.apache.camel.cdi.CdiCamelExtension.afterDeploymentValidation(CdiCamelExtension.java:4
22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.apache.webbeans.event.ObserverMethodImpl.invoke(ObserverMethodImpl.java:347)
        at
org.apache.webbeans.event.ContainerEventObserverMethodImpl.invoke(ContainerEventObserverM
ethodImpl.java:82)
        at
org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:312)
        at
org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:676)
        at
org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:485)
        at
org.apache.webbeans.container.BeanManagerImpl.fireLifecycleEvent(BeanManagerImpl.java:480
)
        at
org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer
.java:719)
        at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:314)
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:193)
        at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:911)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:717)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1257
)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:111
5)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java
:133)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint: cxfbean://AU
AREST_Service due to: null
        at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:622)
        at
org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)

        at
org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
        at
org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
        at
org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
        at
org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:545
)
        at
org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:506)
        at
org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:222)
        at
org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1068)
        ... 46 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
        at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:219)
        at
org.apache.camel.component.cxf.cxfbean.CxfBeanEndpoint.createServer(CxfBeanEndpoint.java:
139)
        at
org.apache.camel.component.cxf.cxfbean.CxfBeanEndpoint.init(CxfBeanEndpoint.java:101)
        at
org.apache.camel.component.cxf.cxfbean.CxfBeanComponent.createEndpoint(CxfBeanComponent.j
ava:60)
        at
org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:112)
        at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:602)
        ... 56 more
Caused by: java.lang.ClassCastException: Cannot cast
org.apache.cxf.management.jmx.InstrumentationMa
nagerImpl to org.apache.cxf.management.InstrumentationManager
        at java.lang.Class.cast(Class.java:3369)
        at
org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeanOfType(ExtensionManagerImpl.java
:322)
        at
org.apache.cxf.bus.extension.ExtensionManagerBus.getExtension(ExtensionManagerBus.java:21
5)
        at
org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:95)
        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:63)
        at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:173)
        ... 61 more
SEVERE - CDI Beans module deployment failed
org.apache.webbeans.exception.WebBeansDeploymentException: There are errors
that are added by AfterD
eploymentValidation event observers. Look at logs for further details
        at
org.apache.webbeans.util.WebBeansUtil.inspectDeploymentErrorStack(WebBeansUtil.java:1351)

        at
org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer
.java:721)
        at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:314)
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:193)
        at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:911)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:717)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1257
)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:111
5)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java
:133)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
SEVERE - Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].Stan
dardContext[/service--rest]
javax.enterprise.inject.spi.DeploymentException: couldn't start owb context
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:195)
        at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:911)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:717)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1257
)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:111
5)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java
:133)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.openejb.OpenEJBRuntimeException:
org.apache.webbeans.exception.WebBeansDeploym
entException: There are errors that are added by AfterDeploymentValidation
event observers. Look at
logs for further details
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200)
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:193)
        ... 19 more
Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: There
are errors that are adde
d by AfterDeploymentValidation event observers. Look at logs for further
details
        at
org.apache.webbeans.util.WebBeansUtil.inspectDeploymentErrorStack(WebBeansUtil.java:1351)

        at
org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer
.java:721)
        at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:314)
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
        ... 20 more
SEVERE - ContainerBase.removeChild: destroy:
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_destr
oy]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/service-au
a-rest]] in state [STARTING_PREP]
        at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
        at
org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:296)
        at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:828)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1586)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1566)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1266
)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:111
5)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java
:133)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
SEVERE - ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].Standard
Host[localhost].StandardContext[/service--rest]]
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.tomee.catalina.TomEERuntimeException:
javax.enterprise.inject.spi.DeploymentEx
ception: couldn't start owb context
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1269
)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:111
5)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java
:133)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
        ... 10 more
Caused by: javax.enterprise.inject.spi.DeploymentException: couldn't start
owb context
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:195)
        at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:911)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:717)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1257
)
        ... 15 more
Caused by: org.apache.openejb.OpenEJBRuntimeException:
org.apache.webbeans.exception.WebBeansDeploym
entException: There are errors that are added by AfterDeploymentValidation
event observers. Look at
logs for further details
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200)
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.j
ava:193)
        ... 19 more
Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: There
are errors that are adde
d by AfterDeploymentValidation event observers. Look at logs for further
details
        at
org.apache.webbeans.util.WebBeansUtil.inspectDeploymentErrorStack(WebBeansUtil.java:1351)

        at
org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer
.java:721)
        at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:314)
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
        ... 20 more
SEVERE - Error deploying web application directory
D:\UIDAI_DOC\tomee\webapps\service--rest
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleExcepti
on: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/vso
ft-uidai--rest]]
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-in-tomee-tp5794355p5794454.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message