[
https://issues.jboss.org/browse/JBFORUMS-65?page=com.atlassian.jira.plugi...
]
Avishkar Joshi commented on JBFORUMS-65:
----------------------------------------
I am getting WebServiceException while creating WebService in JBoss 6.It is working in
JBoss 5,but It's gives an exception in Exception in JBoss 6.
19:53:05,358 WARN [org.jboss.wsf.stack.cxf.client.configuration.JBossWSSpringBusFactory]
INITIAL_APP_CONTEXT_CREATION_FAILED_MSG:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.apache.cxf.binding.soap.customEditorConfigurer' defined in URL
[vfs:/home/Avishkar/Downloads/jboss-6.0.0.Final/common/lib/cxf-rt-bindings-soap.jar/META-INF/cxf/cxf-extension-soap.fixml]:
Initialization of bean failed; nested exception is
org.springframework.beans.ConversionNotSupportedException: Failed to convert property
value of type 'java.util.ArrayList' to required type
'org.springframework.beans.PropertyEditorRegistrar[]' for property
'propertyEditorRegistrars'; nested exception is java.lang.IllegalStateException:
Cannot convert value of type [org.apache.cxf.binding.soap.spring.SoapVersionRegistrar] to
required type [org.springframework.beans.PropertyEditorRegistrar] for property
'propertyEditorRegistrars[0]': no matching editors or conversion strateg!
y found
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
[:3.0.3.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
[:3.0.3.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
[:3.0.3.RELEASE]
at
org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext.<init>(JBossWSBusApplicationContext.java:63)
[:3.4.1.GA]
at
org.jboss.wsf.stack.cxf.client.configuration.JBossWSSpringBusFactory.createApplicationContext(JBossWSSpringBusFactory.java:105)
[:3.4.1.GA]
at
org.jboss.wsf.stack.cxf.client.configuration.JBossWSSpringBusFactory.createBus(JBossWSSpringBusFactory.java:64)
[:3.4.1.GA]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
[:2.3.1]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
[:2.3.1]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
[:2.3.1]
at
org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFactory.createBus(JBossWSBusFactory.java:54)
[:3.4.1.GA]
at
org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:69)
[:3.4.1.GA]
at javax.xml.ws.Service.<init>(Service.java:57) [:1.0.0.Final]
at com.tradeexpress.mobile.order.webservice.Service1.<init>(Service1.java:64) [:]
at
com.tradeexpress.mobile.service.OrderServiceImpl.attachToMSMQ(OrderServiceImpl.java:1370)
[:]
at
com.tradeexpress.mobile.web.controller.OrderController.placeOrder(OrderController.java:761)
[:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_23]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
[:3.0.3.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
[:3.0.3.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
[:3.0.3.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at
com.tradeexpress.mobile.user.authentication.filter.UserAuthenticationFilter.doFilter(UserAuthenticationFilter.java:145)
[:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.Final]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert
property value of type 'java.util.ArrayList' to required type
'org.springframework.beans.PropertyEditorRegistrar[]' for property
'propertyEditorRegistrars'; nested exception is java.lang.IllegalStateException:
Cannot convert value of type [org.apache.cxf.binding.soap.spring.SoapVersionRegistrar] to
required type [org.springframework.beans.PropertyEditorRegistrar] for property
'propertyEditorRegistrars[0]': no matching editors or conversion strategy found
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:462)
[:3.0.3.RELEASE]
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:499)
[:3.0.3.RELEASE]
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:493)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
[:3.0.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[:3.0.3.RELEASE]
... 56 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type
[org.apache.cxf.binding.soap.spring.SoapVersionRegistrar] to required type
[org.springframework.beans.PropertyEditorRegistrar] for property
'propertyEditorRegistrars[0]': no matching editors or conversion strategy found
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
[:3.0.3.RELEASE]
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:111)
[:3.0.3.RELEASE]
at
org.springframework.beans.TypeConverterDelegate.convertToTypedArray(TypeConverterDelegate.java:427)
[:3.0.3.RELEASE]
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:169)
[:3.0.3.RELEASE]
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:447)
[:3.0.3.RELEASE]
... 62 more
Can anyone why it is happening?
Create a New Topic
------------------
Key: JBFORUMS-65
URL:
https://issues.jboss.org/browse/JBFORUMS-65
Project: JBoss Forums
Issue Type: Sub-task
Components: Forum View Layer
Affects Versions: 1.0.0 Alpha
Reporter: Sohil Shah
Assignee: Sohil Shah
Fix For: 1.0.0 Alpha
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira