无法将应用程序部署到 jboss v7.4,日志显示 "address already in use"

Failed to deploy application to jboss v7.4, logs says "address already in use"

我在尝试将应用程序部署到 jboss7.4 版本时在日志中收到“地址已在使用”异常。应用程序部署失败。我该如何解决这个问题?

15:29:26,241 ERROR [org.jboss.as.controller.management-operation] [] [] WFLYCTL0013: Operation ("add") failed - address: ([
    ("core-service" => "management"),
    ("management-interface" => "native-interface")
]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.remoting.server.management" => "WFLYRMT0004: Address already in use 0.0.0.0:10499
    Caused by: java.net.BindException: Address already in use"}}
15:29:26,263 ERROR [org.jboss.as.controller.management-operation] [] [] WFLYCTL0013: Operation ("add") failed - address: ([
    ("core-service" => "management"),
    ("management-interface" => "http-interface")
]) - failure description: {
    "WFLYCTL0080: Failed services" => {"org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use /0.0.0.0:10490"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.http-upgrade-registry.http-management"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.remoting.remoting-http-upgrade-service.http-management is missing [jboss.http-upgrade-registry.http-management]"]
}
15:29:26,272 ERROR [org.jboss.as.controller] [] [] WFLYCTL0459: Triggering roll back due to missing management services.
15:29:26,272 ERROR [org.jboss.as.controller.management-operation] [] [] WFLYCTL0013: Operation ("add") failed - address: ([
    ("core-service" => "management"),
    ("management-interface" => "native-interface")
]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.remoting.server.management" => "WFLYRMT0004: Address already in use 0.0.0.0:10499
    Caused by: java.net.BindException: Address already in use"}}

我找到了使用这些端口的应用程序的 PID,并使用了 kill -9 PID。成功了。