0

新しい JBoss サーバーをセットアップしましたが、認証のために「jboss-cli.bat」を使用してリモートでアクセスできません。 ただし、サーバー管理 Web コンソールに接続すると、認証できます。

CLI を使用すると、次のエラーが表示されます。

でコントローラに対して認証できません.* . *:9999

これは 'connect を実行した後です。.* . *'

同じコマンドをローカルで実行すると、接続できます。

この失敗した認証に関するエントリがログに見つかりません。

私は走っています。

Windows Server 2008 R2
Wildfly 8.0.0 Alpha

私のstandalone.xmlには次が含まれています。

<interfaces>
    <interface name="ManagementRealm">
        <any-ipv4-address/>
    </interface>
    <interface name="management">
        <any-ipv4-address/>
    </interface>
    <interface name="public">
        <any-ipv4-address/>
    </interface>
    <interface name="unsecure">
        <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
    </interface>
</interfaces>

この問題を解決するために、誰かが私を正しい方向に導くことができますか。どうもありがとう、

スチュアート

4

2 に答える 2

0

Redhat 7.6 と jboss 7.2 eap を使用しています。私がしたことは次のとおりです。standalone.xml から削除します。

<authentication>
        <local default-user="$local" skip-group-loading="true"/> --Delete line
        <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>

<authentication>
       <local default-user="$local" allowed-users="*" skip-group-loading="true"/> --Delete line
       <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>

さよなら。

于 2020-04-13T23:18:57.560 に答える