0 Replies Latest reply on Mar 26, 2015 6:48 AM by D S KUMAR G

    JAXWS + spring + quartz integrated appplication deployment failed on jboss-as-7.2.0.Final

    D S KUMAR G Newbie

      Hi All,

      I have integrated the quartz to do some back end job. If i deploy the same in standalone it is working with out any fail. The same war file deployed on the domain it is failing to deploy and getting the below error message.

       

      Jar files:

      • activation-1.1.jar
      • antlr-2.7.7.jar
      • aopalliance-1.0.jar
      • asm-3.3.1.jar
      • c3p0-0.9.1.2.jar
      • cglib-2.2.2.jar
      • classmate-0.5.4.jar
      • commons-beanutils-1.8.0.jar
      • commons-collections-3.2.1.jar
      • commons-dbcp-1.4.jar
      • commons-digester-2.1.jar
      • commons-lang-2.4.jar
      • commons-logging-1.1.1.jar
      • commons-pool-1.5.4.jar
      • dom4j-1.6.1.jar
      • dozer-5.2.1.jar
      • hibernate-c3p0-4.0.0.Final.jar
      • hibernate-commons-annotations-4.0.1.Final.jar
      • hibernate-core-4.0.0.Final.jar
      • hibernate-entitymanager-4.0.1.Final.jar
      • hibernate-jpa-2.0-api-1.0.1.Final.jar
      • jandex-1.0.3.Final.jar
      • javassist-3.15.0-GA.jar
      • jboss-logging-3.1.0.CR2.jar
      • jboss-transaction-api_1.1_spec-1.0.0.Final.jar
      • joda-time-2.2.jar
      • jta-1.1.jar
      • log4j-1.2.16.jar
      • log4j-api-2.0-rc1.jar
      • log4j-core-2.0-rc1.jar
      • log4j.rollingAppender-1.2.15.jar
      • mail-1.4.3.jar
      • oraclejdbc-11.2.0.4.jar
      • quartz-1.8.5.jar
      • rt.jar
      • slf4j-api-1.5.6.jar
      • slf4j-log4j12-1.5.6.jar
      • spring-aop-3.1.0.RELEASE.jar
      • spring-asm-3.1.0.RELEASE.jar
      • spring-beans-3.1.0.RELEASE.jar
      • spring-context-3.1.0.RELEASE.jar
      • spring-context-support-3.1.0.RELEASE.jar
      • spring-core-3.1.0.RELEASE.jar
      • spring-expression-3.1.0.RELEASE.jar
      • spring-jdbc-3.1.0.RELEASE.jar
      • spring-orm-3.1.0.RELEASE.jar
      • spring-tx-3.1.0.RELEASE.jar
      • spring-web-3.1.0.RELEASE.jar

       

      Error Message:

       

      15:11:19,721 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "POSWS.war" (runtime-name: "POSWS.war")

      15:11:21,794 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.1)

      15:11:21,795 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-3) JBWS024061: Adding service endpoint metadata: id=com.kewill.bluedart.pos.ws.POSWebService

      address=http://192.168.73.178:8580/POSWS/POSWebService

      implementor=com.kewill.bluedart.pos.ws.POSWebService

      serviceName={http://ws.pos.bluedart.kewill.com/}POSWebServiceService

      portName={http://ws.pos.bluedart.kewill.com/}POSWebServicePort

      annotationWsdlLocation=null

      wsdlLocationOverride=null

      mtomEnabled=false

      15:11:21,803 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-3) Creating Service {http://ws.pos.bluedart.kewill.com/}POSWebServiceService from class com.kewill.bluedart.pos.ws.POSWebService

      15:11:21,807 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."POSWS.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."POSWS.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "POSWS.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

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

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

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

      Caused by: javax.xml.ws.WebServiceException: java.lang.reflect.UndeclaredThrowableException

          at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:368)

          at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:67)

          at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:250)

          at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:536)

          at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:116)

          at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)

          at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)

          at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

          ... 5 more

      Caused by: java.lang.reflect.UndeclaredThrowableException

          at $Proxy25.visitLabel(Unknown Source)    at org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:223)

          at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:137)

          at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:669)

          at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)

          at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:472)

          at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)

          at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:540)

          at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:252)

          at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)

          at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)

          at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)

          at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)

          at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:453)

          at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:333)

          ... 13 more

      Caused by: java.lang.NoSuchMethodException: org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)

          at java.lang.Class.getMethod(Class.java:1605) [rt.jar:1.6.0_21]

          at org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:52)

          ... 28 more

       

      15:11:21,812 ERROR [org.jboss.as.server] (host-controller-connection-threads - 5) JBAS015870: Deploy of deployment "POSWS.war" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"POSWS.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"POSWS.war\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"POSWS.war\"

          Caused by: javax.xml.ws.WebServiceException: java.lang.reflect.UndeclaredThrowableException

          Caused by: java.lang.reflect.UndeclaredThrowableException

          Caused by: java.lang.NoSuchMethodException: org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)"}}

      15:11:22,896 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment POSWS.war (runtime-name: POSWS.war) in 1084ms

       

       

       

      Please share your views and suggestion  to get rid on this.