I've got the same problem with JBoss 4.0.4RC1 in the mail service JNDI lookup
always returning null.
>From the log:
anonymous wrote : 16:42:45,312 INFO [MailService] Mail Service bound to
mail/Mail
My code:
Context jndiContext = new session = (Session) jndiContext.lookup("mail/Mail");
| if( session == null ) {
| logger.error("JNDI lookup returned null session.");
| }
Program output:
anonymous wrote : 16:46:55,156 [main] ERROR EmailUtils : JNDI lookup returned
null session.
Any ideas what is going on?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930002#3930002
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930002
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user