Herve Tchepannou <[EMAIL PROTECTED]> writes:

> In JBoss documentation, its recommended to defined in the
> ejb-jar.xml a resource named mail/Mail of type
> javax.mail.Session. and in the code, request it via the JNDI name
> java:Mail, which works fined.
> 
> But when I try to request the JavaMail session with the JNDI name
> java:comp/env/mail/Mail, I receive an exception?! It seems to me
> that EJB specs recomend to access resource via
> java:/comp/env/... domain.
> 
> So why can't I access mail session via java:/comp/env/mail/Mail?

Doesn't jboss report the JNDI name space on the mbean interface on
port 8082?

-- 
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to