yes , after you create mail session in cosole page, you can look up the mail
session using " mail/loggingMailSession" Is there any exception in the server
log or you just got the null object returned ? you can check if the jndi
entry is there via asadmin command : after starting glassfish server , run
asadmin list-jndi-entries --context mail asadmin command is under
${glassfish-server}/bin "loggingMailSession: javax.naming.Reference Command
list-jndi-entries executed successfully." will be returned if the mail
session is created.
--
[Message sent by forum member 'lemon_zhang']
View Post: http://forums.java.net/node/898585