Hello guys,

I'm trying to port an application to TomEE. This application makes usage of
Atmosphere framework which uses Jersey to handle REST calls.

I have tried to deploy the WAR with inside the atmosphere and jersey jars
and later I have tried to add the jersey jars into {tomee.home}/lib but in
both cases I get the following error:

WARNING: Error deploying application
/home/luca/bin/apache-tomee-plus-1.0.0/webapps/Test.ear
org.apache.openejb.OpenEJBException: No provider available for resource-ref
'null' of type 'com.sun.jersey.spi.container.ResourceMethodCusto
mInvokerDispatchFactory' for 'pn-portone.war.Comp'.
        at
org.apache.openejb.config.AutoConfig.autoCreateResource(AutoConfig.java:1665)
        at
org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1658)
        at
org.apache.openejb.config.AutoConfig.getResourceId(AutoConfig.java:1609)
        at
org.apache.openejb.config.AutoConfig.processResourceRef(AutoConfig.java:1046)
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:812)
        at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)
        at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:321)
        at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:792)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:1015)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:123)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1379)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
        at java.lang.Thread.run(Thread.java:662)

Does anybody has any suggestion what can be the cause? I thought it might
conflict with Apache CXF so I was wondering if it's difficult to remove CXF
from TomEE.
I see that there is a file in tomee/META-INF/dependencies.xml which lists
the dependencies, would it be enough to edit this file?

Thanks in advance,
Luca


-- 
   *Luca Merolla*
Management, Business & Technology Consultant


 <http://maps.google.com/maps?q=&hl=en>  *Mobile:* +393774569974
 *http://nl.linkedin.com/in/lucamerolla*
*Blog <http://lucamerolla.wordpress.com>*


Merolla Consulting Limited

Reply via email to