Looks like we broke the ejb-examples with the http abstraction refactoring we
did as part of the JAX-RS/CXF change. Seems to want Jetty in TomEE for some
reason.
2011-07-16 17:20:12,624 - INFO - Deployed
Application(path=/Users/dblevins/work/uber/openejb/tck/cdi-tomee/target/apache-tomee-4.0.0-SNAPSHOT/webapps/ejb-examples)
2011-07-16 17:20:12,668 - INFO - Creating Service
{http://examples.org/wsdl}HelloEjbService from class
org.superbiz.servlet.HelloEjb
2011-07-16 17:20:12,973 - INFO - Setting the server's publish address to be
http://nopath:80
2011-07-16 17:20:13,053 - INFO -
Webservice(wsdl=http://localhost:8080/HelloEjbService,
qname={http://examples.org/wsdl}HelloEjbService) --> Ejb(id=HelloEjbService)
2011-07-16 17:20:13,072 - INFO - Creating Service
{http://examples.org/wsdl}HelloPojoService from class
org.superbiz.servlet.HelloPojo
2011-07-16 17:20:13,094 - ERROR - Error deploying CXF webservice for servlet
HelloPojoService
java.lang.NoClassDefFoundError:
Lorg/eclipse/jetty/util/component/Container$Listener;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at
org.apache.cxf.common.annotation.AnnotationProcessor.processFields(AnnotationProcessor.java:97)
at
org.apache.cxf.common.annotation.AnnotationProcessor.accept(AnnotationProcessor.java:69)
at
org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:117)
at
org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:111)
at
org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:205)
at
org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:270)
at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:99)
at
org.apache.cxf.transport.http_jetty.JettyDestinationFactory.createDestination(JettyDestinationFactory.java:35)
at
org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:275)
at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
at
org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:92)
at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:71)
at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:158)
at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:202)
at
org.apache.openejb.server.cxf.CxfEndpoint.doPublish(CxfEndpoint.java:162)
at
org.apache.openejb.server.cxf.CxfEndpoint.publish(CxfEndpoint.java:128)
at
org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
at
org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:70)
at
org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:311)
at
org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:374)
at
org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:107)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:161)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)
at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:324)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:620)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jetty.util.component.Container$Listener
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 57 more