首页 > 解决方案 > Wildfly 18 - WFLYCTL0362:资源“/subsystem=undertow/server=default-server/http-listener=http”所需的功能不可用

问题描述

我正在将我的 jboss eap 6 迁移到 wildfly 18,因为我们正在将我们的应用程序从 java 6 移动到 java 8 。我是wildfly 18的新手,在启动服务器时我遇到了错误-

09:22:59,671 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=undertow/server=default-server/https-listener=https' are not available:
    org.wildfly.network.socket-binding.https; Possible registration points for this capability: 
        /socket-binding-group=*/socket-binding=*
09:22:59,672 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=undertow/server=default-server/http-listener=http' are not available:
    org.wildfly.network.socket-binding.https; Possible registration points for this capability: 
        /socket-binding-group=*/socket-binding=*
09:22:59,678 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.**
09:22:59,698 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Full 18.0.0.Final (WildFly Core 10.0.0.Final) stopped in 13ms

我在standalone.xml 文件和standalone-ha.xml 中更改了socket bindinfs在两个文件中添加了Socket binding 更改-

当我从以前的 jboss eap 6 文件中复制所有这些套接字时。我能解释一下为什么需要这些不同的 2 个套接字绑定并且在 jboss 中也可以使用吗?

它在寻找什么能力?我需要添加一些外部元素吗?

需要对此提出建议..我是否在standalone.xml 文件中遗漏了某些内容?或打包在模块文件夹中?我很困惑,需要尽快解决这个问题.. 提前谢谢你!

标签: jbossportwildflyjboss-eap-6wildfly-18

解决方案


对于此错误 - https ,standalone-ha.xml 中缺少管理 https 端口。我们必须确保它应该存在于独立和独立 ha xml 文件中。


推荐阅读