Hello, I got the same error (javax.servlet.ServletException: Lookup of java:/comp/env/ 
failed)

There are two possible corrections:

1) In ComputeServlet.java, add the link attribute:
@web.ejb-ref link = "Fibo"  
In this case the complete @jboss.ejb.ref-jndi can be removed. The value of the link 
attribute must match the tag <ejb-name> in the ejb-jar.xml file.

2) Alternatively, simply change the value of the attribute link:
@jboss.ejb.ref-jndi link = "Fibo"
I think this must match the tag <jndi-name> in the jboss.xml file. Maybe that's the 
reason why the value "ejb/tutorial/Fibo" doesn't work.

Both versions then worked for me.

Greetings,
  Rainer

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

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


-------------------------------------------------------
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-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to