リモート接続に失敗しました:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべてのau

       本日、新しいAliyunサーバーを申請し、オペレーションルームにjbossをインストールしましたが、プロジェクトをうまく展開していたところ、以下の問題が報告されていました。インターネットで検索したところ、利用可能な権限がないユーザーであることがわかりました。それを使用していたときに、jbossメッセージキューにメッセージを送信するための管理ユーザーとアプリケーションユーザー(特定の新しい方法については前を参照)を作成しました。その結果、standalone / configurationフォルダーの下の構成ファイルapplication-userが確認されました。 .propertiesおよびapplication-role.propertiesファイルとmgmt-user.propertiesファイルでは、3つのファイルに新しいユーザーとロールはありません。ただしドメイン/構成の下の対応するファイルユーザーが正常に追加されました。これは驚くべきことです(おそらく、オペレーションルームはスタンドアロンフォルダーの名前をserver1に変更しました。これは後で確認されます)。エラーは次のとおりです。

"config-based-naming-client-endpoint" read-1)JBREM000200:リモート接続に失敗しました:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべての認証メカニズムに失敗しました

14:23:43,753エラー[stderr](スレッド-81)javax.naming.NamingException:リモート接続の作成に失敗しました[ルート例外はjava.lang.RuntimeException:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべての認証メカニズム失敗しました]
14:23:43,754エラー[stderr](スレッド-81)org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36)で
14:23:43,755エラー[stderr](スレッド-81)org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:121)で
14:23:43,755エラー[stderr](スレッド-81)javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
14:23:43,756エラー[stderr](スレッド-81)javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
14:23:43,756エラー[stderr](スレッド-81)javax.naming.InitialContext.init(InitialContext.java:223)で
14:23:43,756エラー[stderr](スレッド-81)at javax.naming.InitialContext。<init>(InitialContext.java:197)
14:23:43,766エラー[stderr](スレッド-81)原因:java.lang.RuntimeException:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべての認証メカニズムが失敗しました
14:23:43,769エラー[stderr](スレッド-81)org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:87)
14:23:43,769エラー[stderr](スレッド-81)org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:56)で
14:23:43,770エラー[stderr](スレッド-81)org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(InitialContextFactory.java:166)で
14:23:43,770エラー[stderr](スレッド-81)org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:139)で
14:23:43,771エラー[stderr](スレッド-81)org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:104)で
14:23:43,771エラー[org.jboss.remoting.remote.connection]( "config-based-naming-client-endpoint "read-1)JBREM000200:リモート接続に失敗しました:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべての認証メカニズムに失敗しました
14:23:43,771エラー[stderr](スレッド-81)... 8 more
14:23:43,775 ERROR [stderr](Thread-81)原因:javax.security.sasl.SaslException:認証に失敗しました:使用可能なすべての認証メカニズムに失敗しました
14:23:43,776 ERROR [stderr](Thread- 81)org.jboss.remoting3.remote.ClientConnectionOpenListener $ Capabilities.handleEvent(ClientConnectionOpenListener.java:365)で
14:23:43,776エラー[stderr](スレッド-81)org.jboss.remoting3.remote.ClientConnectionOpenListener $ Capabilities.handleEvent(ClientConnectionOpenListener.java:214)で
14:23:43,777エラー[stderr](スレッド-81)org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)で
14:23:43,777エラー[stderr](スレッド-81)org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)で
14:23:43,778エラー[stderr](スレッド-81)org.xnio.channels.TranslatingSuspendableChannel $ 1.handleEvent(TranslatingSuspendableChannel.java:103)で
14:23:43,778エラー[stderr](スレッド-81)org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)で
14:23:43,778エラー[stderr](スレッド-81)org.xnio.nio.NioHandle.run(NioHandle.java:90)で
14:23:43,779エラー[stderr](スレッド-81)org.xnio.nio.WorkerThread.run(WorkerThread.java:184)で
14:23:43,779エラー[stderr](スレッド-81)at ...非同期呼び出し...(不明なソース)
14:23:43,779エラー[stderr](スレッド-81)org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270)で
14:23:43,780エラー[stderr](スレッド-81)org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)で
14:23:43,780エラー[stderr](スレッド-81)org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)で
14:23:43,780エラー[stderr](スレッド-81)org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:333)で
14:23:43,781エラー[stderr](スレッド-81)org.jboss.naming.remote.client.EndpointCache $ EndpointWrapper.connect(EndpointCache.java:105)で
14:23:43,781エラー[stderr](スレッド-81)org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:55)で

14:23:43,782エラー[stderr](スレッド-81) ... 11詳細



解決策は、ドメイン内の対応するファイル内の暗号化された情報をスタンドアロン構成ファイルにコピーし(新しいコンテンツのみをコピーする)、サービスを再起動することです。

おすすめ

転載: blog.csdn.net/jerry_player/article/details/73739872