This content has been marked as final.
Show 1 reply
-
1. Re: jndi lookup fails for mailservie on jboss 4.0.0
lafr Nov 4, 2004 3:38 PM (in response to furykid)No problem for us.
We have this* @ejb.resource-ref * res-ref-name="Mail" * res-type="javax.mail.Session" * res-auth="Container" * @jboss.resource-ref * res-ref-name="Mail" * jndi-name="java:/Mail"
for generating the resource-refs in ejb-jar.xml and jboss.xml.
After tha we can lookup the mail-service via "java:comp/env/Mail".