在wildfly中部署EAR时出错

时间:2014-04-01 15:48:47

标签: jboss jenkins ear wildfly

 Tue Apr 01 17:41:45 GMT+200 2014
Failed to enable fal2-ear-0.0.8.ear.

Unexpected HTTP response: 500

Request
{
    "address" => [("deployment" => "fal2-ear-0.0.8.ear")],
    "operation" => "deploy"
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => {"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
        "Services that were unable to start:" => [
            "jboss.deployment.subunit.\"fal2-ear-0.0.8.ear\".\"ccbe-fal2.war\".INSTALL",
            "jboss.deployment.unit.\"fal2-ear-0.0.8.ear\".INSTALL"
        ],
        "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]
    }},
    "rolled-back" => true
}

当我想在wildfly中部署我的Multi模块maven Spring项目时,我总是会遇到此错误。 Jenkins为我制作了一个EAR文件,我把它添加到了wildfly中。

任何人都知道这意味着什么?我无法在互联网上找到它

Thx !!

我的错误日志文件:

    2014-04-01 09:21:08,942 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "fal2-ear-0.0.6.ear" (runtime-name: "fal2-ear-0.0.6.ear")
2014-04-01 09:21:09,425 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "null" (runtime-name: "ccbe-fal2.war")
2014-04-01 09:21:11,599 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-6) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "fal2-ear-0.0.6.ear")]) - failure description: {"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
    "Services that were unable to start:" => [
        "jboss.deployment.subunit.\"fal2-ear-0.0.6.ear\".\"ccbe-fal2.war\".INSTALL",
        "jboss.deployment.unit.\"fal2-ear-0.0.6.ear\".INSTALL"
    ],
    "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]
}}
2014-04-01 09:21:11,614 ERROR [org.jboss.as.server] (XNIO-1 task-6) JBAS015870: Deploy of deployment "fal2-ear-0.0.6.ear" was rolled back with the following failure message: 
{"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
    "Services that were unable to start:" => [
        "jboss.deployment.subunit.\"fal2-ear-0.0.6.ear\".\"ccbe-fal2.war\".INSTALL",
        "jboss.deployment.unit.\"fal2-ear-0.0.6.ear\".INSTALL"
    ],
    "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]
}}
2014-04-01 09:21:11,692 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: ccbe-fal2.war) in 79ms
2014-04-01 09:21:11,692 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment fal2-ear-0.0.6.ear (runtime-name: fal2-ear-0.0.6.ear) in 83ms
2014-04-01 09:21:11,692 INFO  [org.jboss.as.controller] (XNIO-1 task-6) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

1 个答案:

答案 0 :(得分:11)

实际上,对于独立的Wildfly,我遇到了同样的问题。

  1. 首先我看了一下standalone / log / server.log。最后一行说 http监听器没有初始化。
  2. 然后我检查了standalone / configuration / standalone-full.xml。它说 http已经分配了8080。
  3. 检查了端口,切诺基服务器正在使用8080。
  4. 所以我改变了切诺基端口并重新启动了两个(切诺基和Wildfly)服务器,这就是诀窍。

    希望你像我一样解决问题。

相关问题