-
1. Re: JBoss AS 7.1.1 remote EJB lookup causes - No EJB receiver available for handling
wdfink Apr 14, 2013 3:02 PM (in response to ivankostyuk)1 of 1 people found this helpfulThe name depends on the deployed archive.
<ear name>/<module name>/<distinct nam>/<name of the bean>!<interface>
You might have a look into my quickstart
-
2. Re: JBoss AS 7.1.1 remote EJB lookup causes - No EJB receiver available for handling
ivankostyuk Apr 21, 2013 11:04 AM (in response to wdfink)Thank you Wolf-Dieter Fink.
That project is useful to check full functionality of JBoss, to play with Maven, and to check how changes in code could affect results. This project helped me to understand that everything I did I did right.
I've found the answer and it is:
To run remote EJB client application should include following seven one jars:
jboss/bin/client/jboss-client.jar
jboss/modules/org/jboss/ejb-client/main/jboss-ejb-client-1.0.5.Final.jar
jboss/modules/org/jboss/marshalling/main/jboss-marshalling-1.3.11.GA.jar
jboss/modules/org/jboss/xnio/main/xnio-api-3.0.3.GA.jar
jboss/modules/org/jboss/remoting3/main/jboss-remoting-3.2.3.GA.jar
jboss/modules/org/jboss/xnio/nio/main/xnio-nio-3.0.3.GA.jar
jboss/modules/org/jboss/sasl/main/jboss-sasl-1.0.0.Final.jar
Answered.
-
3. Re: JBoss AS 7.1.1 remote EJB lookup causes - No EJB receiver available for handling
wdfink Apr 21, 2013 10:30 AM (in response to ivankostyuk)1 of 1 people found this helpfulAll necessary classes should be packed into the bin/client/jboss-client.jar, see the README in that directory.
If there are CNF Exceptions I suppose it will be a bug.
-
4. Re: JBoss AS 7.1.1 remote EJB lookup causes - No EJB receiver available for handling
ivankostyuk Apr 21, 2013 11:02 AM (in response to wdfink)Thank you very much Wolf-Dieter Fink.
Somehow, I've managed to spoil my project, but I started from only one right jar included (and server side project of cause).
I've checked README again and did a try out. Now, everything is working fine.
So, I'm changing right answer.
For non-maven environments only one jar must be used what contains everything client can require (except remote interfaces).
jboss/bin/client/jboss-client.jar
I've noticed that assemled by Maven jar is three times smaller (in context of quickstart project) than jboss-client.jar
Thanks again.