[jboss-user] [JNDI and Naming] - How do I enable JNDI for Mail service?

laredotornado do-not-reply at jboss.com
Mon Nov 23 17:28:38 EST 2009


Hi,

I just downloaded and installed JBoss 5.1 AS for Mac 10.5.6.  I have a web application that I want to be able to use JBoss' email service.  However, when I try and access "java:/Mail" like so

   return (Session) new InitialContext().lookup(getMailSession());  

 I get the exception -- "javax.naming.NameNotFoundException: Mail not bound".

This is the only thing that appears in my boot.log file.  Can you help out with other troubleshooting steps?  Thanks, - Dave

15:08:51,216 DEBUG [ServiceConfigurator] MailService set to jboss:service=Mail in jboss.management.local:j2eeType=J2EEDomain,name=Manager

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

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



More information about the jboss-user mailing list