JBoss EAP 6 における JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed エラー
Issue
- ejb クライアントに remote-outbound-connection を設定し、別の JBoss EAP 6 サーバーで ejb を呼び出すと以下のエラーメッセージが表示されますが、node2 は設定した jboss.node.name プロパティであるため、メッセージが何を示しているか分かりません。
ERROR [org.jboss.remoting.remote.connection] (Remoting "node2" read-1) JBREM000200:Remote connection failed: javax.security.sasl.SaslException:Authentication failed: all available authentication mechanisms failed
- クライアントの
"standalone.xml"には、以下の設定があります。
<security-realm name="ejb-security-realm">
<server-identities>
<secret value="cf86fc49735679542aa078d3d4a976be"/>
</server-identities>
</security-realm>
...
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm" />
<outbound-connections>
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" security-realm="ejb-security-realm" username="user">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>
</outbound-connections>
...
<outbound-socket-binding name="remote-ejb">
<remote-destination host="host1" port="4447"/>
</outbound-socket-binding>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0.x
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.