在WildFly 8.2.0 Final中部署失败

时间:2015-09-16 05:31:56

标签: jboss wildfly

我试图在Wildfly 8.2.0服务器中部署一个war文件,当我启用战争时,它会抛出以下错误。

Failed to enable nxp-bd-server.war.
Unexpected HTTP response: 500
Request{
"address" => [("deployment" => "nxp-bd-server.war")],
"operation" => "deploy"}Response
Internal Server Error{
"outcome" => "failed",
"failure-description" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.undertow.deployment.default-server.default-host./nxp-bd-server.UndertowDeploymentInfoService is missing [jboss.security.security-domain.sp]"]},
"rolled-back" => true}

我缺少其他任何配置吗?

首先部署sqljdbc-4.0.jar

1 个答案:

答案 0 :(得分:0)

请检查此答案https://stackoverflow.com/a/31963449/4917517。尝试清理部署部分。可能是同样的问题。

<deployments>
    //remove this part
    <deployment name="your_file.war" runtime-name="your_file.war">
        <fs-archive path=".../your_file.war"/>
    </deployment>
    ...
</deployments>