4 Replies Latest reply on Apr 20, 2017 10:36 AM by Gajendra Kumar G

    WildFly10 - unable to deploy my ears

    Gajendra Kumar G Newbie

      My ears are working fine with JBoss 7.1.1 Final version and today plan to deploy in WildFly10.0.0Final and below error reported. Can someone suggest a solution for this?

       

      2017-04-19 16:59:06,793 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: fm-web.jar) in 30ms

      2017-04-19 16:59:06,795 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment fm-rules.ear (runtime-name: fm-rules.ear) in 33ms

      2017-04-19 16:59:06,796 INFO  [org.jboss.as.controller] (ServerService Thread Pool -- 74) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.module.service."deployment.fm-rules.ear".main (missing) dependents: [service jboss.deployment.unit."fm-rules.ear".FIRST_MODULE_USE]

            service jboss.module.service."deployment.fm-rules.ear.fm-web.jar".main (missing) dependents: [service jboss.deployment.subunit."fm-rules.ear"."fm-web.jar".FIRST_MODULE_USE]

            service jboss.module.spec.service."deployment.fm-rules.ear.fm-web.jar".main (missing) dependents: [service jboss.deployment.unit."fm-rules.ear".FIRST_MODULE_USE]

      WFLYCTL0185:    Newly corrected services:

            service jboss.module.service."deployment.behaviormaps-rules.ear".main (no longer required)

            service jboss.module.service."deployment.behaviormaps-rules.ear.behaviormaps-web.jar".main (no longer required)

            service jboss.module.spec.service."deployment.behaviormaps-rules.ear.behaviormaps-web.jar".main (no longer required)

      WFLYCTL0186:   Services which failed to start:      service jboss.module.service."deployment.fm-rules.ear.fm-web.jar".main

            service jboss.module.service."deployment.fm-rules.ear".main

       

       

      2017-04-19 16:59:19,536 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "fm-rules.ear" (runtime-name: "fm-rules.ear")

      2017-04-19 16:59:19,542 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0207: Starting subdeployment (runtime-name: "fm-web.jar")

      2017-04-19 16:59:19,551 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.module.service."deployment.fm-rules.ear.fm-web.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.fm-rules.ear.fm-web.jar".main: WFLYSRV0179: Failed to load module: deployment.fm-rules.ear.fm-web.jar:main

        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)

        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:1142)

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

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

      Caused by: org.jboss.modules.ModuleNotFoundException: com.tangosol:main

        at org.jboss.modules.Module.addExportedPaths(Module.java:1243)

        at org.jboss.modules.Module.addExportedPaths(Module.java:1277)

        at org.jboss.modules.Module.addPaths(Module.java:1121)

        at org.jboss.modules.Module.link(Module.java:1448)

        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1476)

        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225)

        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)

        ... 5 more

        • 1. Re: WildFly10 - unable to deploy my ears
          Gajendra Kumar G Newbie

          jboss-deployment-structure.xml

          <jboss-deployment-structure>

              <deployment>

                  <dependencies>

                      <!--module name="com.healthways.fm" export="true"/-->

            <module name="com.hway.blz.fm" export="true"/>

                      <!--module name="com.healthways.common" export="true"/-->

            <module name="com.hway.blz.common" export="true"/>

                      <module name="com.blazesoft" export="true"/>

                      <!--module name="com.tangosol" export="true"/-->

                      <module name="com.thoughtworks" export="true"/>

                      <module name="org.jboss.ws.cxf.jbossws-cxf-client" services="true"  export="true"/>

                  </dependencies>

              </deployment>

          </jboss-deployment-structure>

           

          Jar file used  in ejbModule to prepare ear file.

          Giving an exception while adding it to server. same ear working fine in JBoss7.1.1 Final version.

           

          Dismiss

          Wed Apr 19 21:51:18 GMT-500 2017

          Unable to assign fm-rules.ear.

           

           

          Unexpected HTTP response: 500

           

           

          Request

          {

              "operation" => "composite",

              "address" => undefined,

              "steps" => [{

                  "operation" => "add",

                  "address" => [

                      ("server-group" => "main-server-group"),

                      ("deployment" => "fm-rules.ear")

                  ],

                  "runtime-name" => "fm-rules.ear",

                  "enabled" => true

              }]

          }

           

           

          Response

           

           

          Internal Server Error

          {

              "outcome" => "failed",

              "result" => {"step-1" => {

                  "outcome" => "failed",

                  "rolled-back" => true

              }},

              "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"master" => {

                  "server-one" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {

                      "jboss.module.service.\"deployment.fm-rules.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.fm-rules.ear\".main: WFLYSRV0179: Failed to load module: deployment.fm-rules.ear:main

              Caused by: org.jboss.modules.ModuleNotFoundException: com.hway.blz.fm:main",

                      "jboss.module.service.\"deployment.fm-rules.ear.fm-web.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.fm-rules.ear.fm-web.jar\".main: WFLYSRV0179: Failed to load module: deployment.fm-rules.ear.fm-web.jar:main

              Caused by: org.jboss.modules.ModuleNotFoundException: com.hway.blz.fm:main"

                  }}}},

                  "server-two" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {

                      "jboss.module.service.\"deployment.fm-rules.ear.fm-web.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.fm-rules.ear.fm-web.jar\".main: WFLYSRV0179: Failed to load module: deployment.fm-rules.ear.fm-web.jar:main

              Caused by: org.jboss.modules.ModuleNotFoundException: com.hway.blz.fm:main",

                      "jboss.module.service.\"deployment.fm-rules.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.fm-rules.ear\".main: WFLYSRV0179: Failed to load module: deployment.fm-rules.ear:main

              Caused by: org.jboss.modules.ModuleNotFoundException: com.hway.blz.fm:main"

                  }}}}

              }}}}}}

           

          Pls. help me on this issue resolution

          • 2. Re: WildFly10 - unable to deploy my ears
            Stephen Coy Master

            Have you migrated the "com.hway.blz.fm" JBoss module from JBoss 7.1.1 to the new WildFly server?

            • 3. Re: WildFly10 - unable to deploy my ears
              Gajendra Kumar G Newbie

              Yes it is, have build jar file using java8 and included in ear. there are no other classes available inside my ear expect these jar classes and MANIFEST.MF and jboss-deployment-structure.xml which is pasted above.

               

               

              • 4. Re: WildFly10 - unable to deploy my ears
                Gajendra Kumar G Newbie

                ear file attached for reference.