Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jboss 在WildFly 8.2.0最终版本中部署失败_Jboss_Wildfly - Fatal编程技术网

Jboss 在WildFly 8.2.0最终版本中部署失败

Jboss 在WildFly 8.2.0最终版本中部署失败,jboss,wildfly,Jboss,Wildfly,我试图在Wildfly 8.2.0服务器中部署一个war文件,当我启用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

我试图在Wildfly 8.2.0服务器中部署一个war文件,当我启用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

请检查此答案。尝试清理部署部分。可能是同样的问题

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

//拆下这部分
...

好的,错误表明缺少安全域。但是如果没有关于war和您的设置的信息,我们很难给您一个提示。数据源配置有一个问题,我修复了这个问题。当再次启用war时,显示以下错误<代码>由以下原因引起:org.jboss.msc.service.DuplicateServiceException:service jboss.data source.java:jboss/datasources/Hibernate4SspDS已注册您的问题现在已修复,还是您面临的下一个异常?如果是,请提供配置代码段。