-
1. Re: javax.naming.NameNotFoundException: StoreAccessBean not
vashistvishal Aug 25, 2004 8:36 PM (in response to tony1929)http://www.jboss.org/index.html?module=bb&op=viewtopic&t=36910
Check this and hopefully will get yr solution.....
Vishal -
2. Re: javax.naming.NameNotFoundException: StoreAccessBean not
tony1929 Aug 26, 2004 5:27 AM (in response to tony1929)Thanks Vishal, but the proplem is not found in that thread.
The problem is that the tutorial was set up for jboss-3.2.1 and I am using version jboss-3.2.5. with jboss jboss321all.server a ejbGenerate file is generated with jboss325all.server a xdoclet file is generated.
And I have a feeling its how the DataAccessObject is accesed, if I remover the DAO tag from StoreAccessBean.java the StoreAccessBean is picked up ok.
Do you know of any other tutorials, this is a good tutorial but I have the feeling that I will spend so much time trying to get it work that I will not get any real benefit in learning how the J2EE components work with JBoss.
Thanks Tony -
3. Re: javax.naming.NameNotFoundException: StoreAccessBean not
tony1929 Aug 28, 2004 4:50 PM (in response to tony1929)Hi Vishal,
I started from scratch and managed to get chapter 3 up and running, but ended up with the same problem in Chapter 5.
javax.naming.NameNotFoundException: StoreAccessBean not bound.
I really want to get to the bottem what causes this problem, can you give me any hints on how to debug JBoss.
The problem is without a rough idea of what causes it I am not sure of how to find out what the problem is.
I would be grateful for any help.
Thanks Tony -
4. Re: javax.naming.NameNotFoundException: StoreAccessBean not
tony1929 Aug 28, 2004 5:34 PM (in response to tony1929)Sorted the problem
the tag in StoreAccessBean
@ejb.ejb-ref ejb-name="Customer"
view-type="local"
ref-name="CustomerLocal"
generates the following in the ejb-jar
<ejb-local-ref >
<ejb-ref-name>CustomerLocal</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>au.com.tusc.bmp.CustomerLocalHome</local-home>
au.com.tusc.bmp.CustomerLocal
<ejb-link>Customer</ejb-link>
</ejb-local-ref>
what I did was then add ejb in front of CustomerLocal
<ejb-ref-name>ejb/CustomerLocal</ejb-ref-name>
which solved the problem.
Tony