【问题标题】:Operation "read-attribute" failed during JBoss EAP 7 startupJBoss EAP 7 启动期间“读取属性”操作失败
【发布时间】:2017-04-24 06:56:24
【问题描述】:

我已经在 J​​Boss 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模块没有初始化并且显示错误。我绕过了我的应用程序的代码,但没有显示该错误。到目前为止,我已经找到了解决上述问题的方法,并且我的应用程序运行良好。感谢您的回复。

标签: jboss wildfly


【解决方案1】:

我观察了 JBoss EAP 7 应用服务器的行为。在服务器初始化期间未加载 undertow 子系统。当应用程序在启动期间尝试访问 undertow 子系统的详细信息时,会出现此问题。在服务器启动后部署应用程序时,不会出现此问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多