Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue interacting with EJB 3 Stateful session beans on JBoss 4.0.5.GA

 
Watsh Rajneesh
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Watsh Rajneesh
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the solution here. So this can be critical issue for JBoss 4.0.5.GA that it does not work reliably with JSE 6.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic