Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
: Tuesday, June 10, 2003 5:07 AM Subject: Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1] Here is what I did under 2.4.3. The same thing should work in 3.2.1, as I see mail-service.xml is in the default server. Check your server (either the logs or jmx-console) to make sure

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Guy Rouillier
, June 10, 2003 5:07 AM Subject: Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1] Here is what I did under 2.4.3. The same thing should work in 3.2.1, as I see mail-service.xml is in the default server. Check your server (either the logs or jmx-console) to make sure the mail

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
: Guy Rouillier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 5:07 AM Subject: Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1] Here is what I did under 2.4.3. The same thing should work in 3.2.1, as I see mail-service.xml is in the default

[JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-09 Thread Marco Tedone
Hi, I would like to retrieve a javax.mail.Session object from within a class running under Tomcat. I would like to user the javax.mail.Session provided by Jboss. In the jmx-console, I can see that under the java Namespace there is the 'Mail' name; however, from within my class, when I do the

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-09 Thread Guy Rouillier
Here is what I did under 2.4.3. The same thing should work in 3.2.1, as I see mail-service.xml is in the default server. Check your server (either the logs or jmx-console) to make sure the mail service has started properly. Source: Session session = ((Session) new