Gaetan Zoritchak wrote:

Your code will work if you do the lookup on
"ejb/webappointments/User" instead of "java:comp/env/...".

When you make a call on a jndi context starting with "java:comp/env/..." , you are looking for reference in the context of the current component.

In your case, you probably want to make it in the global namespace.

Thx, I understand now...




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to