hi list,

In my CustomerManagerBean, i am able to find local entity beans  with JNDi names as 
"ejb/CustomerHome" and "ejb/CustomerLoginHome".

Similarly, i am trying to access a bean with JNDI name "ejb/ProductManagerHome"  from 
CartBean. Actually, the flow is like this

web delegate -> CartHome -> CartBean -> ProductManagerHome

NOTE - However, the same "ejb/ProductManagerHome" is found successfully from web tier 
if accessed directly. I mean if i keep mapping to ejb/ProductManagerHome in 
jboss-web.xml and look it up. it is found successfully.

14:44:16,058 ERROR [ServiceLocator] Cant locate ejb/ProductManagerHome
javax.naming.NameNotFoundException: ejb not bound

but earlier in the log, when the beans were getting deployed, it gave a success message

14:18:03,717 INFO  [StatelessSessionInstancePool] Started 
jboss.j2ee:jndiName=ejb/ProductManagerHome,plugin=pool,service=EJB
14:18:03,717 INFO  [StatelessSessionContainer] Started 
jboss.j2ee:jndiName=ejb/ProductManagerHome,service=EJB

What could possibly be wrong?

I am using ServiceLocator pattern to locate my beans.

Navjot

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840251#3840251

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840251


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to