2017-04-20 119 views
0

無法將我的耳朵部署到WildFly10.0.0中,並且在JBoss7.1.1服務器中工作正常。以下是我的項目和錯誤的詳細信息,當我將耳朵添加到服務器時,我正面臨着這些問題。用於ejbModule的Jar文件可以將耳朵文件附加爲屏幕截圖。在將其添加到服務器時發生異常。相同的耳朵在JBoss7.1.1最終版本中工作正常。WildFly10 - 無法部署我的耳朵

**jboss-deployment-structure.xml** 
<jboss-deployment-structure> 
    <deployment> 
    <dependencies> 
    <module name="com.hway.blz.fm" export="true"/> 
    <module name="com.hway.blz.common" export="true"/> 
    <module name="com.blazesoft" 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> 

FM-web.jar:具有兩類 罐使用RPC \肥皂結合 \ FM-網\ ejbModule中的\ com \ hway \ BLZ \ FM \ Fmbean暴露我的對象模型WSDL。 java

 [Error details provided in the attached screen shot][1] Pls. help me on this issue resolution. 
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" 
     }}}} 
    }}}}}} 



[1]: https://i.stack.imgur.com/UEP0O.png 
[1]: https://i.stack.imgur.com/W9WHi.png 

回答

0

看起來好像你錯過了一個模塊Caused by: org.jboss.modules.ModuleNotFoundException: com.hway.blz.fm:main。您需要確保該模塊已安裝在$JBOSS_HOME/modules目錄中。

+0

它的作品爲我添加模塊後我的相對罐子後,謝謝詹姆斯 –