<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello everyone!<div><br></div><div>We have a few applications protected by keycloak deployed on two jboss servers (EAP 7). I'm trying to access an EJB from an application deployed on server A to an application deployed on server B.</div><div><br></div><div>Following the basic example that comes with JBoss I've been able to do it by simply using the ApplicationRealm. My problem is that i have no identity on the remote server and I need to propagate the identity (and security context) from server A to server B.</div><div><br></div><div> I can't figure the way to configure my EJBReceiver to use another realm. </div><div><br></div><div>I keep receiving the following error :</div><div><br></div><div><div>java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:RemoteApp, moduleName:RemoteAppEJB, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@717cef09</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:798)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)</div></div><div><br></div><div><br></div><div>Is there anybody who can help me with this?</div><div><br></div><div>Thanks alot !</div><div><br></div><div>Christian Hebert</div></div>
                                           </div></body>
</html>