1 Reply Latest reply on Dec 14, 2018 1:36 PM by Frank Langelage

    Field to start wildfly server

    Rabin Samanta Newbie

      12:59:48,853 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."DataProcessing.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."DataProcessing.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "DataProcessing.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(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.ver.dataextraction.nlpclient.services.LogServiceBean with ClassLoader ModuleClassLoader for Module "deployment.DataProcessing.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: org/dom4j/DocumentType

      at java.lang.Class.getDeclaredMethods0(Native Method)

      at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

      at java.lang.Class.getDeclaredMethods(Class.java:1975)

      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: org.dom4j.DocumentType from [Module "deployment.DataProcessing.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

       

       

      12:59:48,896 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 73) HHH000412: Hibernate Core {5.0.10.Final}

      12:59:48,897 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 73) HHH000206: hibernate.properties not found

      12:59:48,899 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 73) HHH000021: Bytecode provider name : javassist

      12:59:48,925 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 73) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}

      12:59:49,864 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "DataProcessing.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"DataProcessing.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"DataProcessing.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"DataProcessing.war\"

          Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.ver.dataextraction.nlpclient.services.LogServiceBean with ClassLoader ModuleClassLoader for Module \"deployment.DataProcessing.war:main\" from Service Module Loader

          Caused by: java.lang.NoClassDefFoundError: org/dom4j/DocumentType

          Caused by: java.lang.ClassNotFoundException: org.dom4j.DocumentType from [Module \"deployment.DataProcessing.war:main\" from Service Module Loader]"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"DataProcessing.war\".POST_MODULE"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

        • 1. Re: Field to start wildfly server
          Frank Langelage Master

          Create a file named jboss-deployment-structure.xml and put this into the WEB-INF folder of your war file.

          Content:

          <?xml version="1.0" encoding="UTF-8"?>
          <jboss-deployment-structure>
              <deployment>
                  <dependencies>
                      <module name="org.dom4j"/>
                  </dependencies>
              </deployment>
          </jboss-deployment-structure>