1 Reply Latest reply on Jul 23, 2015 12:19 PM by Tomaz Cerar

    Jboss EAP 6.4 Alpha JBAS018733: Failed to proceed with phase POST_MODULE from deployment "teste.war"

    Leandro Máximo Cunha Newbie

      I migrated the EPA Jboss 6.3 Beta for JBoss EAP 6.4 Alpha, I think it has no major changes, but when my road project is excultando the following error:

       

      11:55:00,536 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) MSC000001: Failed to start service jboss.deployment.unit."test.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.war".POST_MODULE: JBAS018733: Falha ao proceder com a fase POST_MODULE do deployment "test.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
      Caused by: java.lang.RuntimeException: JBAS018757: Erro ao obter informação reflectiva para o class br.com.lumi.test.service.PdvTransacaoService com o ClassLoader ModuleClassLoader for Module "deployment.test.war:main" from Service Module Loader
        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        ... 5 more
      Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/client/ResponseProcessingException
        at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_67]
        at java.lang.Class.privateGetDeclaredFields(Class.java:2436) [rt.jar:1.7.0_67]
        at java.lang.Class.getDeclaredFields(Class.java:1806) [rt.jar:1.7.0_67]
        at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        ... 10 more
      Caused by: java.lang.ClassNotFoundException: javax.ws.rs.client.ResponseProcessingException from [Module "deployment.test.war:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
        ... 15 more
      
      
      11:55:00,541 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Falha na operação ("deploy") - endereço ([("deployment" => "test.war")]) - falha na descrição: {"JBAS014671: Falha de serviços" => {"jboss.deployment.unit.\"test.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.war\".POST_MODULE: JBAS018733: Falha ao proceder com a fase POST_MODULE do deployment \"test.war\"
          Caused by: java.lang.RuntimeException: JBAS018757: Erro ao obter informação reflectiva para o class br.com.lumi.test.service.PdvTransacaoService com o ClassLoader ModuleClassLoader for Module \"deployment.test.war:main\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/client/ResponseProcessingException
          Caused by: java.lang.ClassNotFoundException: javax.ws.rs.client.ResponseProcessingException from [Module \"deployment.test.war:main\" from Service Module Loader]"}}
      11:55:00,581 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Implantado "test.war" (runtime-name: "test.war")
      11:55:00,583 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Relatório
       de status de serviço JBAS014777: Serviços que falham na inicialização:      service jboss.deployment.unit."test.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.war".POST_MODULE: JBAS018733: Falha ao proceder com a fase POST_MODULE do deployment "test.war"
      

       

       

      jboss-deployment-structure.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-deployment-structure>
        <deployment>
        <dependencies>
        <!-- Dependencia do JODReports -->
        <module name="org.apache.xerces" />
        <!-- Dependencia do cliente RESTEasy -->
        <module name="org.jboss.resteasy.resteasy-jaxrs" services="import"/>
        <module name="org.jboss.resteasy.resteasy-jaxb-provider" services="import"/>
        <module name="org.jboss.resteasy.resteasy-multipart-provider" services="import"/>
        <module name="org.jboss.resteasy.resteasy-jackson-provider" services="import"/>
        </dependencies>
        </deployment>
      </jboss-deployment-structure>
      

       

      is there any configuration to be done in standalone.xml?