0 Replies Latest reply on Aug 20, 2011 10:39 AM by Laercio Tischer

    Error when migrate from jboss 5.1 to jboss 6 final

    Laercio Tischer Newbie

      Hi

       

      I need to migrate my application from JBoss 5.1 to JBoss6 final

       

      I use JBDS 4.0, EAR and CXF.

       

      In JBoss 5.1 work fine, but on JBoss 6.0 I receive an error

       

      The structure

       

      TerraLegal-ear.ear

          lib

          META-INF

          TerraLegal.war

              WEB-INF

                  web.xml

          TerraLegal.ejb.jar

              com

                  company

                     auth

                         AuthService.java

                         AuthMathWS.java

              META-INF

                  jbossws-cxf.xml


       

       

      //AuthService.java

      package com.company.auth.service;

      import javax.jws.WebService;

      import javax.jws.WebParam;

      import com.company.auth.bean.Employee;

      @WebService

      public interface AuthService {

          Employee getEmployee(@WebParam(name="gid") String gid);

      }

       

      // AuthServiceImpl.java

      package com.company.auth.service;

      import javax.jws.WebService;

      import com.company.auth.bean.Employee;

      import com.company.auth.dao.EmployeeDAO;

      @WebService(endpointInterface = "com.company.auth.service.AuthService", serviceName = "corporateAuthService")

      public class AuthServiceImpl implements AuthService {

                 public Employee getEmployee(String gid) {

            EmployeeDAO dao = new EmployeeDAO();

                  return dao.getEmployee(gid);

         }

      }

       

      // jbossws-cxf.xml

      <beans xmlns="http://www.springframework.org/schema/beans"

            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xmlns:jaxws="http://cxf.apache.org/jaxws"

            xsi:schemaLocation="http://www.springframework.org/schema/beans

      http://www.springframework.org/schema/beans/spring-beans.xsd

      http://cxf.apache.org/jaxws

      http://cxf.apache.org/schemas/jaxws.xsd">

       

        <import resource="classpath:META-INF/cxf/cxf.xml" />

        <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>

        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

        <jaxws:endpoint id="auth"

                        implementor="com.company.auth.service.AuthServiceImpl"

                        address="http://localhost:8080/TerraLegal/cxfAuth"/>

      </beans>

       

      //web.xml

      ...

      <servlet>

                          <servlet-name>AddressingService</servlet-name>

                          <servlet-class>com.company.auth.service.AuthServiceImpl</servlet-class>

                </servlet>

       

                <servlet-mapping>

                          <servlet-name>AddressingService</servlet-name>

                          <url-pattern>/cxfAuth/*</url-pattern>

                </servlet-mapping>

      ...

       

       

      I am dowload CXF 3.4.1 (http://www.jboss.org/jbossws/downloads)

      and run  "ant -Dspring=true deploy-jboss600" and result to sucess intall

       

       

       

      The error on startup jboss6

       

      ....

      10:02:33,250 INFO  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] JBossWS-CXF configuration found: vfs:/C:/jbdevstudio/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1313502166203/deploy/TerraLegal-ear.ear/TerraLegal-ejb.jar/META-INF/jbossws-cxf.xml

      10:02:33,281 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service

      id=AddressingService

      address=http://localhost:8080/TerraLegal/cxfAuth

      implementor=com.company.auth.service.AuthServiceImpl

      invoker=org.jboss.wsf.stack.cxf.InvokerJSE

      serviceName={http://service.auth.company.com/}AddressingService

      portName={http://service.auth.company.com/}AuthServiceImplPort

      wsdlLocation=null

      mtomEnabled=false

      10:02:33,281 INFO  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] JBossWS-CXF configuration generated: file:/C:/jbdevstudio/jboss-eap/jboss-6/server/default/tmp/jbossws/jbossws-cxf939966961846770421.xml

      10:02:33,296 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] register: jboss.ws:context=TerraLegal-ejb,endpoint=ClienteServicoEJB

      10:02:33,312 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] register: jboss.ws:context=TerraLegal,endpoint=AddressingService

      10:02:33,343 INFO  [org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext] Refreshing org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext@a3f8c7: startup date [Sat Aug 20 10:02:33 BRT 2011]; root of context hierarchy

      10:02:33,343 INFO  [org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext] Refreshing org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext@a3f8c7: startup date [Sat Aug 20 10:02:33 BRT 2011]; root of context hierarchy

      10:02:33,343 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/jbossws-cxf.xml]

      10:02:33,359 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfs:/C:/jbdevstudio/jboss-eap/jboss-6/server/default/deployers/jbossws.deployer/jbossws-cxf-client.jar/META-INF/cxf/cxf-extension-jbossws.xml]

      10:02:33,390 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-httpserver.xml]

      10:02:33,968 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service {http://service.auth.company.com/}AddressingService from class com.company.auth.service.AuthService

      10:02:36,234 INFO  [org.apache.cxf.endpoint.ServerImpl] Setting the server's publish address to be http://localhost:8080/TerraLegal/cxfAuth

      10:02:36,281 WARN  [org.jboss.wsf.stack.cxf.spring.parser.JaxwsEndpointDefinitionParser$JBossWSSpringEndpointImpl] WSDLPublisher not configured, unable to publish contract!

      10:02:36,281 INFO  [org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext] Refreshing org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext@143c4db: startup date [Sat Aug 20 10:02:36 BRT 2011]; root of context hierarchy

      10:02:36,281 INFO  [org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext] Refreshing org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext@143c4db: startup date [Sat Aug 20 10:02:36 BRT 2011]; root of context hierarchy

      10:02:36,296 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/jbossws-cxf.xml]

      10:02:36,296 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfs:/C:/jbdevstudio/jboss-eap/jboss-6/server/default/deployers/jbossws.deployer/jbossws-cxf-client.jar/META-INF/cxf/cxf-extension-jbossws.xml]

      10:02:36,328 INFO  [org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-httpserver.xml]

      10:02:36,437 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service {http://service.auth.company.com/}AddressingService from class com.company.auth.service.AuthService

      10:02:36,484 INFO  [org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext] Closing org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusApplicationContext@a3f8c7: startup date [Sat Aug 20 10:02:33 BRT 2011]; root of context hierarchy

      10:02:36,484 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] remove: jboss.ws:context=TerraLegal,endpoint=AddressingService

      10:02:36,484 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] remove: jboss.ws:context=TerraLegal-ejb,endpoint=ClienteServicoEJB

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/jboss-seam/EjbSynchronizations

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/jboss-seam/TimerServiceDispatcher

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/ShowOrdersAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/CheckoutProcessAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/CheckoutProcessTransporteAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/IndexerAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/SeamContentSearchingAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/ClienteServicoEJB

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/CheckoutAction

      10:02:36,484 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/VerticeActionBean

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/ImagemAction

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/FullTextSearchAction

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/ShoppingCartBean

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/VerticeTransporteActionBean

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/ShipAction

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/AcceptAction

      10:02:36,500 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@560245 from MC at org.jboss.ejb.bean.instantiator/TerraLegal-ear/TerraLegal-ejb/StoreManagerBean

      10:02:36,500 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfs:///C:/jbdevstudio/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1313502166203/deploy/TerraLegal-ear.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/jbdevstudio/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1313502166203/deploy/TerraLegal-ear.ear/TerraLegal.war/

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]

                at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:233) [:6.0.0.Final]

                at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:140) [:6.0.0.Final]

                at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.Final]

                at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.Final]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]

                at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) [:1.6.0_21]

                at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) [:1.6.0_21]

                at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) [:1.6.0_21]

                at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360) [:1.6.0_21]

                at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]

                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) [:1.6.0_21]

                at sun.rmi.transport.Transport$1.run(Transport.java:159) [:1.6.0_21]

                at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_21]

                at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [:1.6.0_21]

                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [:1.6.0_21]

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [:1.6.0_21]

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]

      Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AddressingService': Invocation of init method failed; nested exception is java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "$Proxy264.setElementType(Ljavax/xml/namespace/QName;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, $Proxy264, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for interface javax/wsdl/extensions/ExtensibilityElement have different Class objects for the type javax/xml/namespace/QName used in the signature

                at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:100) [:3.4.1.GA]

                at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:123) [:6.0.0.Final]

                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                ... 70 more

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AddressingService': Invocation of init method failed; nested exception is java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "$Proxy264.setElementType(Ljavax/xml/namespace/QName;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, $Proxy264, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for interface javax/wsdl/extensions/ExtensibilityElement have different Class objects for the type javax/xml/namespace/QName used in the signature

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412) [:3.0.3.RELEASE]

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [: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.configuration.SpringBusHolder.loadAdditionalConfig(SpringBusHolder.java:164) [:3.4.1.GA]

                at org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.configure(SpringBusHolder.java:128) [:3.4.1.GA]

                at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:96) [:3.4.1.GA]

                ... 73 more

      Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "$Proxy264.setElementType(Ljavax/xml/namespace/QName;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, $Proxy264, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for interface javax/wsdl/extensions/ExtensibilityElement have different Class objects for the type javax/xml/namespace/QName used in the signature

                at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_21]

                at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) [:1.6.0_21]

                at java.lang.Class.getConstructor0(Class.java:2699) [:1.6.0_21]

                at java.lang.Class.getConstructor(Class.java:1657) [:1.6.0_21]

                at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:587) [:1.6.0_21]

                at org.apache.cxf.tools.util.SOAPBindingUtil.getProxy(SOAPBindingUtil.java:87) [:2.3.1]

                at org.apache.cxf.tools.util.SOAPBindingUtil.getSoapBinding(SOAPBindingUtil.java:274) [:2.3.1]

                at org.apache.cxf.tools.util.SOAPBindingUtil.createSoapBinding(SOAPBindingUtil.java:426) [:2.3.1]

                at org.apache.cxf.binding.soap.SoapBindingFactory.createSoapBinding(SoapBindingFactory.java:213) [:2.3.1]

                at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:198) [:2.3.1]

                at org.apache.cxf.binding.AbstractBindingFactory.createBindingInfo(AbstractBindingFactory.java:97) [:2.3.1]

                at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:339) [:2.3.1]

                at org.apache.cxf.jaxws.JaxWsServerFactoryBean.createBindingInfo(JaxWsServerFactoryBean.java:166) [:2.3.1]

                at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:251) [:2.3.1]

                at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:147) [:2.3.1]

                at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:148) [:2.3.1]

                at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:183) [:2.3.1]

                at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:407) [:2.3.1]

                at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:314) [:2.3.1]

                at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:62) [:3.4.1.GA]

                at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:238) [:2.3.1]

                at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:481) [:2.3.1]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536) [:3.0.3.RELEASE]

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) [:3.0.3.RELEASE]

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) [:3.0.3.RELEASE]

                ... 85 more

       

       

      Any solution...