<div dir="ltr">I'd try the WildFly forum for JEE related issues</div><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2016 at 19:35, Christian Hebert <span dir="ltr"><<a href="mailto:christian_hebert@hotmail.com" target="_blank">christian_hebert@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<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.<wbr>IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:RemoteApp, moduleName:RemoteAppEJB, distinctName:] combination for invocation context org.jboss.ejb.client.<wbr>EJBClientInvocationContext@<wbr>717cef09</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.ejb.client.<wbr>EJBClientContext.<wbr>requireEJBReceiver(<wbr>EJBClientContext.java:798)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.ejb.client.<wbr>ReceiverInterceptor.<wbr>handleInvocation(<wbr>ReceiverInterceptor.java:128)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.ejb.client.<wbr>EJBClientInvocationContext.<wbr>sendRequest(<wbr>EJBClientInvocationContext.<wbr>java:186)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.ejb.client.<wbr>EJBInvocationHandler.<wbr>sendRequestWithPossibleRetries<wbr>(EJBInvocationHandler.java:<wbr>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><span class="HOEnZb"><font color="#888888"><div><br></div><div>Christian Hebert</div></font></span></div>
                                           </div></div>
<br>______________________________<wbr>_________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>