3 Replies Latest reply on Sep 3, 2016 4:39 AM by Wolfgang Mayer

    urgent problem with EJB invocations from a remote client using JNDI ?!!!

    kayvan jamshidi Newbie

      I wrote a war application deployed on wildfly 9.0.2 final based on "EJB invocations from a remote client using JNDI" example on jboss documentation that connect to remote EJB inside war deployment on wildfly 10 .

      BUT!!! I stuck with this , getting this exception :

      ERROR [org.jboss.remoting.remote.connection] (Remoting "client-endpoint" I/O-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed:

         DIGEST-MD5: javax.security.sasl.SaslException: DIGEST-MD5: Cannot perform callback to acquire realm, authentication ID or password [Caused by javax.security.auth.callback.UnsupportedCallbackException]

      14:00:27,058 WARN  [org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector] (ServerService Thread Pool -- 65) Could not register a EJB receiver for connection to remote ip server:7273: java.lang.RuntimeException: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed:

         DIGEST-MD5: javax.security.sasl.SaslException: DIGEST-MD5: Cannot perform callback to acquire realm, authentication ID or password [Caused by javax.security.auth.callback.UnsupportedCallbackException]


      i used adduser script for create user pass in applicationrealm mode and i watched standalone-full.xml in subsystem remoting section that applicationrealm used for realm . so then it doesnt any problem with this. i should add any more config to standalone-full.xml to work fine my apps.

      any help so appreciated.