身份验证失败:所有可用的身份验证机制均失败:PLAIN:javax.security.sasl.SaslException:PLAIN:服务器拒绝了身份验证

时间:2019-03-26 08:52:36

标签: jboss ejb jboss7.x jboss-eap-7

我有一个程序,该程序使用JBoss eap 7服务器并使用EJB远程客户端与JBoss服务器进行通信。但是,当客户端有时访问服务器时,我可以成功访问并调用EJB。但有时会出现以下错误:

Authentication failed: all available authentication mechanisms failed:
   PLAIN: javax.security.sasl.SaslException: PLAIN: Server rejected authentication

一些要点:

  1. 我的JBoss服务器是集群的。

  2. 在处理来自jboss-ejb-client 4.0.12版本的故障节点时,抛出此异常。

Object is : RemotingEJBDiscoveryProvider.java 
inner class : final class DiscoveryAttempt
Method: public void handleFailed(final IOException exception, final URI destination)
3. And once exception is there, jboss considered them as failedDestinations.

但是我的问题是为什么这是间歇性的?有时所有节点都被视为有效目的地,并且成功进行了呼叫。

感谢您对此的帮助。 谢谢。

0 个答案:

没有答案
相关问题