jboss - 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 文件中遗漏了某些内容?或打包在模块文件夹中?我很困惑,需要尽快解决这个问题.. 提前谢谢你!
解决方案
对于此错误 - https ,standalone-ha.xml 中缺少管理 https 端口。我们必须确保它应该存在于独立和独立 ha xml 文件中。
推荐阅读
- javascript - 如何在本机反应中创建跨平台图标?
- javascript - 解析 JSON 以提取键和值
- angular - Angular5 中的错误/异常处理 .. ResponseEntity 在异常时返回 null
- php - CakePhp 上的 LC_TIME 翻译问题
- android - Android:VectorDrawable 用于通知小图标 pre-lollipop
- sql - 查找不适合多个定义范围的所有值
- git - 尽管设置了 ssh,为什么在推送时提示输入用户名?
- nuget - 错误 NuGet 包谷歌翻译 API
- java - xml 的 Xpath 表达式评估返回空“”
- node.js - 是否可以在进度/openedge 文件中调用 NodeJS 服务?