【问题标题】:jboss intellij https management interface not supported, please disable it and use http management interface insteadjboss intellij https 管理接口不支持,请禁用它并改用http管理接口
【发布时间】:2018-07-24 13:48:37
【问题描述】:

我正在 IntelliJ idea 中构建一个 spring boot 应用程序并尝试在 JBoss 中部署它。当我为应用程序创建新的 JBoss 配置时,我在底部收到此警告

尚不支持连接到 HTTPS 管理界面。请禁用它并改用 HTTP 管理接口。

我正在使用具有最新 Spring Boot 依赖项的 JBoss EAP 6.2.0 和 IntelliJ 2018。我的配置开始了,但没有连接到服务器,当我在 cmd 上执行 netstat 时,我看到服务器应该监听的端口没有任何监听。

谁能告诉我如何解决这个警告。

【问题讨论】:

    标签: java spring-boot intellij-idea web-applications jboss


    【解决方案1】:

    JBoss 集成不支持到管理界面的 https 连接。相关请求:IDEA-144621.

    作为一种解决方法,您可以更改standalone.xml 以切换到http admin:

    <management-interfaces>
    ...
        <http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">
            <socket-binding http="management-http"/> <!-- '-http' instead of '-https' here -->
        </http-interface>
    </management-interfaces>
    

    【讨论】:

    • 你知道如何使用管理控制台来做到这一点,因为不建议编辑 XML
    猜你喜欢
    • 2011-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多