Announcement Announcement Module
Collapse
No announcement yet.
Metro JAXWS SOAP consuming spring way error on jboss 6.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Metro JAXWS SOAP consuming spring way error on jboss 6.0

    Hi,

    I have just upgraded my application from jboss5.0 to jboss 6.0, I am consuming a JAXWS webservices, below are the configuration :

    <bean id="registerService" class="org.springframework.remoting.jaxws.JaxWsPor tProxyFactoryBean">
    <property name="serviceInterface" value="com.friendsmirror.register.controller.UserR egisterController" />
    <property name="wsdlDocumentUrl" value="http://127.0.0.1:8080/FriendsMirrorRegisterWS/Register?wsdl" />
    <property name="namespaceUri" value="http://controller.register.friendsmirror.com/" />
    <property name="serviceName" value="UserRegisterControllerImplService" />
    <property name="portName" value="UserRegisterControllerImplPort" />
    </bean>

    while injecting this bean, is throwing exception like:

    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'registerService' defined in ServletContext resource [/WEB-INF/spring/friendsmirrorBeans.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/BeansException
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1444) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:518) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:455) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 94) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:225) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:291 ) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:193) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:322) [:3.1.0.RC2]
    ... 96 more
    Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/BeansException
    at org.jboss.wsf.stack.cxf.client.configuration.JBoss WSBusFactory.getSpringBusFactory(JBossWSBusFactory .java:120) [:3.4.1.GA]
    at org.jboss.wsf.stack.cxf.client.configuration.JBoss WSBusFactory.createBus(JBossWSBusFactory.java:54) [:3.4.1.GA]
    at org.jboss.wsf.stack.cxf.client.ProviderImpl.create ServiceDelegate(ProviderImpl.java:69) [:3.4.1.GA]
    at javax.xml.ws.Service.<init>(Service.java:57) [:1.0.0.Final]
    at javax.xml.ws.Service.create(Service.java:687) [:1.0.0.Final]
    at org.springframework.remoting.jaxws.LocalJaxWsServi ceFactory.createJaxWsService(LocalJaxWsServiceFact ory.java:125) [:3.1.0.RC2]
    at org.springframework.remoting.jaxws.JaxWsPortClient Interceptor.prepare(JaxWsPortClientInterceptor.jav a:334) [:3.1.0.RC2]
    at org.springframework.remoting.jaxws.JaxWsPortClient Interceptor.afterPropertiesSet(JaxWsPortClientInte rceptor.java:316) [:3.1.0.RC2]
    at org.springframework.remoting.jaxws.JaxWsPortProxyF actoryBean.afterPropertiesSet(JaxWsPortProxyFactor yBean.java:42) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1503) [:3.1.0.RC2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1441) [:3.1.0.RC2]
    ... 103 more
    Caused by: java.lang.ClassNotFoundException: org.springframework.beans.BeansException from BaseClassLoader@263b84ee{vfs:///User...ss-service.xml}
    at org.jboss.classloader.spi.base.BaseClassLoader.loa dClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47) [:1.6.0_29]
    ... 114 more

    19:44:27,215 INFO [config] Initializing Mojarra 2.0.9 (FCS 20120216) for context '/FriendsMirrorWAR'


    While using the same from stand alone test method or junit, is working absolutly fine, Even its working fine with jboss5.0, I migrated to jboss 6.0 as I required JSF2.0.

    Please help me out, Stucked from past 3 Days.

    Please let me know if there is any other alternative available on Spring3.1 to consume the same where I wanna to provide time out property also.


    Thanks,
    Jayaram.
Working...
X