geronimo-user mailing list archives

I deployed a simple war on Geronimo 2.1.3 and got the strange Exception
below. On wasce 2.1.0.1-20080825 it works. What's going on?
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2"
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
<dep:environment>
<dep:moduleId>
<dep:groupId>geronimo</dep:groupId>
<dep:artifactId>TXWEBClient</dep:artifactId>
<dep:version>1.1</dep:version>
<dep:type>war</dep:type>
</dep:moduleId>
<dep:dependencies>
<dep:dependency>
<dep:groupId>default</dep:groupId>
<dep:artifactId>U320RA</dep:artifactId>
<dep:version>1.0</dep:version>
<dep:type>car</dep:type>
</dep:dependency>
</dep:dependencies>
</dep:environment>
<resource-ref>
<ref-name>MyU320ConnectionFactory</ref-name>
<pattern>
<groupId>default</groupId>
<artifactId>U320RA</artifactId>
<name>MyU320ConnectionFactory</name>
</pattern>
</resource-ref>
</web-app>
Thanks,
Juergen
11:09:11,552 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
abstractName="geronimo/TXWEBClient/1.1/war?J2EEApplication=null,WebModule=geronimo/TXWEBClient/1.1/war,j2eeType=Servlet,name=org.apache.geronimo.test.JAXWSBean"
javax.xml.ws.WebServiceException: Error configuring handlers
at
org.apache.geronimo.cxf.pojo.POJOEndpoint.init(POJOEndpoint.java:95)
at
org.apache.geronimo.cxf.CXFEndpoint.doPublish(CXFEndpoint.java:192)
at org.apache.geronimo.cxf.CXFEndpoint.publish(CXFEndpoint.java:159)
at
org.apache.geronimo.cxf.pojo.POJOWebServiceContainer.publishEndpoint(POJOWebServiceContainer.java:38)
at
org.apache.geronimo.cxf.CXFWebServiceContainer.<init>(CXFWebServiceContainer.java:75)
at
org.apache.geronimo.cxf.pojo.POJOWebServiceContainer.<init>(POJOWebServiceContainer.java:30)
at
org.apache.geronimo.cxf.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:105)
at
org.apache.geronimo.jetty6.JettyPOJOWebServiceHolder.<init>(JettyPOJOWebServiceHolder.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543)
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.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$2f4fbf4a.startConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.ws.WebServiceException: Handler annotation failed
at
org.apache.geronimo.cxf.CXFEndpoint.injectHandlers(CXFEndpoint.java:245)
at
org.apache.geronimo.cxf.pojo.POJOEndpoint.init(POJOEndpoint.java:93)
... 52 more
Caused by: org.apache.geronimo.jaxws.annotations.InjectionException: JNDI
injection failed for resource 'greeting'
at
org.apache.geronimo.jaxws.JAXWSAnnotationProcessor.lookupJNDI(JAXWSAnnotationProcessor.java:51)
at
org.apache.geronimo.jaxws.JAXWSAnnotationProcessor.access$400(JAXWSAnnotationProcessor.java:29)
at
org.apache.geronimo.jaxws.JAXWSAnnotationProcessor$JAXWSResourceAnnotationHandler.getAnnotationValue(JAXWSAnnotationProcessor.java:65)
at
org.apache.geronimo.jaxws.annotations.InjectingAnnotationHandler.injectField(InjectingAnnotationHandler.java:75)
at
org.apache.geronimo.jaxws.annotations.ResourceAnnotationHandler.processFieldAnnotation(ResourceAnnotationHandler.java:36)
at
org.apache.geronimo.jaxws.annotations.AnnotationProcessor.processAnnotations(AnnotationProcessor.java:76)
at
org.apache.geronimo.cxf.CXFEndpoint.injectResources(CXFEndpoint.java:234)
at
org.apache.geronimo.cxf.CXFEndpoint.injectHandlers(CXFEndpoint.java:242)
... 53 more
Caused by: javax.naming.NameNotFoundException: greeting
at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:169)
at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:603)
at
org.apache.geronimo.jaxws.JNDIResolver.resolve(JNDIResolver.java:37)
at
org.apache.geronimo.jaxws.ServerJNDIResolver.resolve(ServerJNDIResolver.java:36)
at
org.apache.geronimo.jaxws.JAXWSAnnotationProcessor.lookupJNDI(JAXWSAnnotationProcessor.java:49)
... 60 more
11:09:11,627 INFO [SupportedModesServiceImpl] Portlet mode 'edit' not found
for portletId: '/plugin.Deployment!227983155|0'
--
View this message in context: http://www.nabble.com/NameNotFoundException%3A-greeting-tp19990125s134p19990125.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.