Hi

I managed to run the Fibo example but only by making the lookup as 
context.lookup("ejb/tutorial/Fibo");
For some reason 
context.lookupLink("java:/comp/env/ejb/Fibo");
didn't work, it produced:
18:58:31,625 ERROR [Engine] StandardWrapperValve[ComputeServlet]: Allocate exception 
for servlet ComputeServlet
javax.servlet.ServletException: Lookup failed

I did manage to see - by using context.list("java:/comp/env/ejb") - that there exists 
in jndi:
Fibo: javax.naming.LinkRef
And yet the lookupLink("java:/comp/env/ejb/Fibo"); did not succeed.

The initial context is instantiated without parameters, a practice which differs from 
ejb-textbook examples. Obviously the constructor gets the necessary parameters from 
the ejb-container?

What would be the recommended tutorial for jndi, the usual suspect would of course be 
Sun's tutorial?

Risto

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to