Remote Invocation of EJB in WildFly 10 using JNDI lookup -
im trying invoke ejb remote server using jndi lookup, im using ejb3 spring-mvc in wildfly 10 , configuration guided in documentation has been done in client , remote server https://docs.jboss.org/author/display/wfly10/ejb+invocations+from+a+remote+client+using+jndi
but still i'm not able connection of remote server.
1) created user under applicationrealm , gave permissions master slave setup remote ejb invocation.
2) jboss-ejb-client.properties file, here have given wildfly user_name , password of host server.
endpoint.name=client-endpoint remote.connections=one, 2 remote.connection.one.host=172.16.25.26 remote.connection.one.port=8080 remote.connection.one.username=abcd remote.connection.one.password=abcd@123 remote.connection.two.host=localhost remote.connection.two.port=8080 remote.connection.two.username=guest remote.connection.two.username=guest # org.jboss.as.logging.per-deployment=true
my exception is
javax.naming.authenticationexception: failed connect server. servers tried: [http-remoting://172.16.25.26:8080 (authentication failed: available authentication mechanisms failed: jboss-local-user: javax.security.sasl.saslexception: failed read server challenge [caused java.io.filenotfoundexception: d:\wildfly-10.0.0.final\standalone\tmp\auth\local3540175271681581878.challenge (the system cannot find file specified)] digest-md5: javax.security.sasl.saslexception: digest-md5: cannot perform callback acquire realm, authentication id or password [caused javax.security.auth.callback.unsupportedcallbackexception])] [root exception javax.security.sasl.saslexception: authentication failed: available authentication mechanisms failed:
please tell me missing here thats causing exception , significance of secret-key generated while creating user in wildfly , configure key
Comments
Post a Comment