0 Replies Latest reply on Jul 3, 2017 9:46 AM by natisebben

    Services which failed to start: service jboss.deployment.unit."Aula16.war".POST_MODULE

    natisebben

      Alguém ai já teve o mesmo problema e saberia me indicar a possível causa?

      Obs.: o servidor starta, e testei com um outro projeto, está rodando, é algo do meu projeto que não está correto.

      Estou utilizando JPA e Postgres, vou colocar os prints nos comentários da configuração de conexão (arquivos persistence.xml e standalone.xml - arquivo do wildfly).

      Stack Trace completo:
      10:19:43,453 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location C:\Users\Natália\workspace\wildfly-10.1.0.Final\standalone\data\content\65\f90d38de45c3f4808f01ecf5740f094fadaf34\content
      10:19:43,467 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "Aula16.war" (runtime-name: "Aula16.war")
      10:19:46,263 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for JPA
      10:19:46,387 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 82) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'Aula16.war#JPA'
      10:19:46,393 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 82) HHH000204: Processing PersistenceUnitInfo [
      name: JPA
      ...]
      10:19:46,434 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."Aula16.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."Aula16.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "Aula16.war"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.view.beans.AlbumBean with ClassLoader ModuleClassLoader for Module "deployment.Aula16.war:main" from Service Module Loader
      at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
      at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
      at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
      at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
      at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
      ... 5 more
      Caused by: java.lang.NoClassDefFoundError: javafx/event/ActionEvent
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
      at java.lang.Class.getDeclaredMethods(Unknown Source)
      at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:80)
      at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
      ... 10 more
      Caused by: java.lang.ClassNotFoundException: javafx.event.ActionEvent from [Module "deployment.Aula16.war:main" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
      ... 15 more

      10:19:46,665 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "Aula16.war")]) - failure description: {
      "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Aula16.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Aula16.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"Aula16.war\"
      Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.view.beans.AlbumBean with ClassLoader ModuleClassLoader for Module \"deployment.Aula16.war:main\" from Service Module Loader
      Caused by: java.lang.NoClassDefFoundError: javafx/event/ActionEvent
      Caused by: java.lang.ClassNotFoundException: javafx.event.ActionEvent from [Module \"deployment.Aula16.war:main\" from Service Module Loader]"},
      "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"Aula16.war\".POST_MODULE"],
      "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
      }
      10:19:46,750 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "Aula16.war" (runtime-name : "Aula16.war")
      10:19:46,751 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
      WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."Aula16.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."Aula16.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "Aula16.war"