-
1. Re: How to call EJBs from another Wildfly instance - jboss-ejb-client.xml
ofbizbrazil Feb 19, 2014 5:25 PM (in response to ofbizbrazil)Hi all,
I read that WildFly introduces a concept about EJB context.
https://docs.jboss.org/author/display/WFLY8/Scoped+EJB+client+contexts
But how to insert into jboss-ejb-client.xml file?
<jboss-ejb-client>
<client-context>
<ejb-receivers>
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-connection" />
</ejb-receivers>
</client-context>
</jboss-ejb-client>
Any idea?
-
2. Re: Re: How to call EJBs from another Wildfly instance - jboss-ejb-client.xml
sfcoy Feb 19, 2014 8:20 PM (in response to ofbizbrazil)Have you looked at EJB invocations from a remote server instance?
-
3. Re: How to call EJBs from another Wildfly instance - jboss-ejb-client.xml
ofbizbrazil Feb 19, 2014 8:32 PM (in response to sfcoy)Yes, I read it and they´re saying about the same error: No EJB receiver available for handling
So would it be Wildfly issue? seems that jboss-ejb-client.xml is ignored by server.
By the way, in this new version "
<
subsystem
xmlns
=
"urn:jboss:domain:remoting:1.1"
>
" and "
" should be 2.0?<
jboss-ejb-client
xmlns
=
"urn:jboss:ejb-client:1.0"
>
-
4. Re: How to call EJBs from another Wildfly instance - jboss-ejb-client.xml
ofbizbrazil Feb 20, 2014 2:43 PM (in response to ofbizbrazil)I think taht I found the solution. In thsi post How can an EJB from one WildFly server call another one with remoting and SSL? i found a new attribute in connection, I don'y use SSL.
I add new atribute(bold) to this lines.
<outbound-connections>
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" username="remco5" security-realm="ejb-security-realm" protocol="http-remoting">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>
</outbound-connections>
-
5. Re: How to call EJBs from another Wildfly instance - jboss-ejb-client.xml
wdfink Feb 20, 2014 4:20 PM (in response to ofbizbrazil)If you look to EJB invocations from a remote server instance it is correct now as I changed the doc few days ago.
Also there is WFLY-2976 to change the default.