You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by YunFeng Ma <yu...@yahoo.com> on 2007/05/29 12:21:54 UTC

jaxws-calculator deployment error with cxf

Hi,
I checkout the source codes from
https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/jaxws-calculator.

jaxws-calculator with axis2 works fine, but
jaxws-calculator with cxf got the following deployment
error:

17:56:38,015 INFO  [XmlBeanDefinitionReader] Loading
XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-geronimo.xml]
17:56:38,203 INFO  [DefaultListableBeanFactory]
Overriding bean definition for bean
'org.apache.cxf.resource.ResourceManager': replacing
[Root bean: class
[org.apache.cxf.bus.resource.ResourceManagerImpl];
scope=singleton; abstract=false; lazyInit=false;
autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in class path resource
[META-INF/cxf/cxf.xml]] with [Root bean: class
[org.apache.geronimo.cxf.ResourceManager];
scope=singleton; abstract=false; lazyInit=false;
autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in class path resource
[META-INF/cxf/cxf-extension-geronimo.xml]]
17:56:38,203 INFO  [XmlBeanDefinitionReader] Loading
XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-soap.xml]
17:56:38,390 INFO  [XmlBeanDefinitionReader] Loading
XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-xml.xml]
17:56:38,625 INFO  [XmlBeanDefinitionReader] Loading
XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-http.xml]
17:56:39,171 INFO  [BusApplicationContext] Bean
factory for application context
[org.apache.cxf.bus.spring.BusApplicationContext;hashCode=170527274]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.geronimo.cxf.GeronimoDestinationFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apach
e.cxf.transport.http.policy.HTTPServerAssertionBuilder];
root of BeanFactory hierarchy
17:56:39,187 INFO  [BusApplicationContext] 23 beans
defined in application context
[org.apache.cxf.bus.spring.BusApplicationContext;hashCode=170527274]
17:56:39,734 INFO  [BusApplicationContext] Bean
'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is
not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for
auto-proxying)
17:56:39,750 INFO  [BusApplicationContext] Bean 'cxf'
is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for
auto-proxying)
17:56:39,750 INFO  [BusApplicationContext] Bean
'org.apache.cxf.bus.spring.BusExtensionPostProcessor'
is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for
auto-proxying)
17:56:39,765 INFO  [BusApplicationContext] Unable to
locate MessageSource with name 'messageSource': using
default
[org.springframework.context.support.DelegatingMessageSource@76e676e6]
17:56:39,765 INFO  [BusApplicationContext] Unable to
locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[org.springframework.context.event.SimpleApplicationEventMulticaster@60446044]
17:56:39,843 INFO  [DefaultListableBeanFactory]
Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.geronimo.cxf.GeronimoDestinationFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apach
e.cxf.transport.http.policy.HTTPServerAssertionBuilder];
root of BeanFactory hierarchy]
17:56:42,968 ERROR [GBeanInstanceState] Error while
starting; GBean is now in the FAILED state:
abstractName="org.apache.geronimo.samples.jws/Calculator/1.0/car?J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.samples.jws/Calculator/1.0/car"
javax.xml.ws.WebServiceException: Attributes portName,
serviceName and endpointInterface are not allowed in
the @WebService annotation of an SEI.
	at
org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialise(JaxWsImplementorInfo.java:279)
	at
org.apache.cxf.jaxws.support.JaxWsImplementorInfo.<init>(JaxWsImplementorInfo.java:57)
	at
org.apache.geronimo.cxf.GeronimoJaxWsImplementorInfo.<init>(GeronimoJaxWsImplementorInfo.java:26)
	at
org.apache.geronimo.cxf.pojo.POJOEndpoint.<init>(POJOEndpoint.java:45)
	at
org.apache.geronimo.cxf.pojo.POJOWebServiceContainer.publishEndpoint(POJOWebServiceContainer.java:36)
	at
org.apache.geronimo.cxf.CXFWebServiceContainer.<init>(CXFWebServiceContainer.java:75)
	at
org.apache.geronimo.cxf.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:95)
	at
org.apache.geronimo.tomcat.TomcatWebAppContext.createWebServices(TomcatWebAppContext.java:274)
	at
org.apache.geronimo.tomcat.TomcatWebAppContext.<init>(TomcatWebAppContext.java:248)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:521)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:529)
	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:173)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:41)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:292)
	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:543)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
	at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
	at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
	at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1423)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:96)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1260)
	at
java.security.AccessController.doPrivileged(AccessController.java:275)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1363)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:797)
	at
sun.reflect.GeneratedMethodAccessor83.invoke(Unknown
Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:309)
	at
sun.rmi.transport.Transport$1.run(Transport.java:168)
	at
java.security.AccessController.doPrivileged(AccessController.java:275)
	at
sun.rmi.transport.Transport.serviceCall(Transport.java:164)
	at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:506)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:838)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:912)
	at java.lang.Thread.run(Thread.java:803)
1

Thanks 				
YunFeng Ma




      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/