javax. naming .Name NotFoundException: StoreAccessBean not bound (common error)
Tony Evans
Ranch Hand
Joined: Jun 29, 2002
Posts: 521
posted
0
I am running the following tutorial : Tutorial for building J2EE Applications using JBOSS and ECLIPSE Chapter 3.
When I run the tutorial I get the following error : NameNotFoundException: StoreAccessBean not bound
it seems to be a common problem although no one has yet posted a solution.
The tutorial involves a session bean calling a DAO. Calling the session bean by itself there is no problem its when it calls a the DAO method it falls over.
As I see it there must be a bug in the XDOCLET generation. If you have completed this tutorial or got past chapter can u give me the fix.
If this is unfixable please let me know and I will spend my time working on another unworkable tutorial.
what I did was then add ejb in front of CustomerLocal <ejb-ref-name>ejb/CustomerLocal</ejb-ref-name>
which solved the problem.
Tony
Ken Loh
Ranch Hand
Joined: Feb 16, 2005
Posts: 190
posted
0
The solution that you've mentioned however requires the same modification each time xdoclet is run. This is very unproductive as far as developer's effort is concerned.