战争部署在jboss服务器上失败了

时间:2018-01-20 09:38:14

标签: java web-applications deployment jboss web-deployment

我在jboss独立部署战争。它正在工作。但是几天之后我在战争部署失败后重新启动了服务器并出现以下错误

2017-10-04 17:30:46,967 INFO [org.jboss.as.controller](控制器启动线程)WFLYCTL0183:服务状态报告 WFLYCTL0184:新的缺失/不满足的依赖项:       service jboss.network.management(missing)dependents:[service org.wildfly.network.socket-binding.management-native,service org.wildfly.network.socket-binding.management-https]       服务jboss.network.public(缺失)dependents:[service jboss.socket-binding-manager]       service jboss.remoting.remotingConnectorInfoService.http-remoting-connector(missing)dependents:[service jboss.ejb3.connector]

    2017-10-04 17:30:46,928 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("subsystem" => "datasources"),
        ("data-source" => "konyreportsds")
    ]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
        "Services that were unable to start:" => [
            "org.wildfly.data-source.konyreportsds",
            "jboss.data-source.reference-factory.konyreportsds",
            "jboss.naming.context.java.konyreports",
            "org.wildfly.data-source.konyreportsds"
        ],
        "Services that may be the cause:" => [
            "jboss.network.management",
            "jboss.network.public",
            "jboss.remoting.remotingConnectorInfoService.http-remoting-connector",
            "jboss.network.management",
            "jboss.network.public",
            "jboss.remoting.remotingConnectorInfoService.http-remoting-connector"
        ]
    }}

我已经护目镜了,但我没有找到任何解决方案。有人可以告诉我可能是什么问题吗?

2 个答案:

答案 0 :(得分:0)

尝试删除war并单独启动appserver。看来问题与战争无关。

这可能是原因:

  

“data-source”=> “konyreportsds”

可能ds不再可用,或者无法访问。 请仔细检查standalone.xml的模块依赖关系,驱动程序和数据源。

答案 1 :(得分:0)

检查您的数据库" konyreportsds"点。也许是下来?或者您与数据库的网络连接已关闭。然后重新启动Wildfly。