【发布时间】:2017-04-24 06:56:24
【问题描述】:
我已经在 JBoss EAP 7 上以 SSL 模式部署了我的应用程序。
我的应用程序已部署并成功运行,但在启动期间,
每次服务器启动并同时部署 WAR 时,我都会在控制台上收到以下错误,不会引发异常。
11:28:11,402 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 92) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("https-listener" => "defaultssl")
]) - failure description: "WFLYCTL0216: Management resource '[(\"subsystem\" => \"undertow\")]' not found"
我一直在搜索 Red Hat JBoss 知识库,但没有找到任何解决此问题的方法。
如果我在应用服务器完全启动并初始化后部署我的 WAR,则不会重现此问题。
这个问题不会影响我的申请。
这个问题不会在 JBoss EAP 6.x、JBoss AS 7.1.x 和 Wildfly 上重现。
出现此类问题的原因可能是什么?
【问题讨论】:
-
你的 undertow 子系统配置如何?
-
您的应用程序在部署期间是否尝试查询 undertow 子系统模型?
-
是的。我调试了我的应用程序并找到了它。当时,似乎undertow模块没有初始化并且显示错误。我绕过了我的应用程序的代码,但没有显示该错误。到目前为止,我已经找到了解决上述问题的方法,并且我的应用程序运行良好。感谢您的回复。