Forums Register Login

SB has problem looking up the EB via JNDI.

+Pie Number of slices to send: Send
I have a simple setup � a simple stateless session bean (SLSB) calling a CMP entity bean (EB) local interfaces. Problem looks like my SB has problem looking up the EB local home object via JNDI. I am using JBoss 4.0.3SP1.



ear deployed fine.
Console printout during deployment of ear:


Console printout when error happened :



The exception stack trace point to this line of my code (the one with lookup()) in my SLSB. I lookup the EB from my SLSB:


My ejb-jar.xml :


My jboss.xml for ejb jar :


What could be wrong ? Would really appreciate if someone could help me.
Thanks.

[ January 05, 2006: Message edited by: Timothy Toe ]
[ January 05, 2006: Message edited by: Timothy Toe ]
+Pie Number of slices to send: Send
Your ejb-link must match the ejb-name of the bean being link to.
+Pie Number of slices to send: Send
Roger,

Thanks for pointing that out !

Timothy Toe
catch it before it slithers away! Oh wait, it's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 899 times.
Similar Threads
Lookup pbm for a local EJB in JBOSS
Issue in CMR entity bean
error initializing Jboss-3.2.3
NameNotFoundException - but the jndi bound
JNDI Lookup for a Local EJB in JBoss
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:42:53.