I am getting the following error when i run the
ex05_1/ path Client_2.java code from
EJB 3.0 book by Bill Burke (O'reilly). The entire code for this book can be found
here. I am using JBoss 4.0.5.GA with EJB 3.0 RC 9 Patch 1 patch installed.
In short the error occurs at the following line in Client_2.java:
and it says
on the first line. But i have used the jboss.xml to give the jndi-name to the bean as used in the above code snippet but still i donot see why it fails to find the reference of the Stateful bean from naming service whereas it works fine (ie is able to lookup the reference of) for Stateless session bean. I am using ejb3 with clustering installation type for JBoss 4.0.5.GA and have already installed the patch EJB 3 RC 9 Patch1 which was said to fix a bug of hot redeployment of EJB 3 beans giving a Wrong target error message.
The complete error is below:
If anyone has been able to run the ex05_1/ examples from the book EJB 3.0 then please reply to this post as to how you resolved it. I have seen a list of related issues reported at JBoss EJB 3 subproject which may be the reason and one of the
interdependent issues is still not fixed.
Thanks in advance.
-Watsh