tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syadav <b.srisai...@gmail.com>
Subject Cam
Date Tue, 28 Feb 2017 05:58:42 GMT
Hi,

I am facing a issue when I am deploying my project in tomee. This is working
fine in glashfish 4. 
I even tried to deploy a empty sample application where only a jar camel-cxf
is added. Then tomee is not able to start gives following error. 

SEVERE - Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].Stan 
dardContext[/XXXXX] 
org.apache.openejb.OpenEJBException: Can't find resource for class
org.apache.cxf.databinding.Abstra 
ctDataBinding#bus. (No provider available for resource-ref 'null' of type
'org.apache.cxf.Bus' for ' 
XXXXX.Comp14390114'.) 
        at
org.apache.openejb.config.AutoConfig.processResourceRef(AutoConfig.java:1202) 
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:859) 
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:186) 
        at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:419

) 
        at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.

java:1032) 
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1235

) 
        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.removeChild: destroy: 
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_destr 
oy]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XXXXX]]
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[/XXXXX]] 
        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:
org.apache.openejb.OpenEJBException: Can 
't find resource for class
org.apache.cxf.databinding.AbstractDataBinding#bus. (No provider availabl 
e for resource-ref 'null' of type 'org.apache.cxf.Bus' for
'XXXXX.Comp14390114'.) 
        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: org.apache.openejb.OpenEJBException: Can't find resource for
class org.apache.cxf.databin 
ding.AbstractDataBinding#bus. (No provider available for resource-ref 'null'
of type 'org.apache.cxf 
.Bus' for 'XXXXX.Comp14390114'.) 
        at
org.apache.openejb.config.AutoConfig.processResourceRef(AutoConfig.java:1202) 
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:859) 
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:186) 
        at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:419

) 
        at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.

java:1032) 
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1235

) 
        ... 15 more 
SEVERE - Error deploying web application directory
D:\bbbb\tomee\webapps\XXXXX 
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleExcepti 
on: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XXXXX]] 
        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://tomee-openejb.979440.n4.nabble.com/Cam-tp4681184.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message