• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic