RE: Tomcat 5 and Mail...

2004-11-24 Thread Shapira, Yoav
Hi, What Tomcat 5 version? Apache Tomcat/5.0 Let's try again: which specific Tomcat 5 version, e.g. 5.0.28? ;) The reason I ask is that I broke the MailSession factory in 5.0.25, so if you're using that build AND a JNDI MailSession factory, that would explain your problem. Yoav This

RE: Tomcat 5 and Mail...

2004-11-24 Thread Shapira, Yoav
: Tomcat 5 and Mail... Hey Everybody, I picked up a funny. Code that was working perfectly on Tomcat 4 now doesn't run on Tomcat 5 anymore, specifically the sending of the mail. I have narrowed it down to this little piece of code: CODE //Send the message. Transport.send(mesMailer

Re: Tomcat 5 and Mail...

2004-11-24 Thread Quinton Delpeche
On Tuesday 23 November 2004 16:55, Phillip Qin wrote: Okay, I have set the policies and I have built a basic mailer form, now when I try and send an e-mail I get this error: ERROR javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:611) at

[FIXED] Tomcat 5 and Mail...

2004-11-24 Thread Quinton Delpeche
Hi everybody, Sorry for being a pain but I have fixed this problem. I had the incorrection versions on the mail.jar and activation.jar files on my server. I downloaded the latest from SUN and all is well in the land again. :) Thanks again for all those that offered advice. Regards Q --

Tomcat 5 and Mail...

2004-11-23 Thread Quinton Delpeche
Hey Everybody, I picked up a funny. Code that was working perfectly on Tomcat 4 now doesn't run on Tomcat 5 anymore, specifically the sending of the mail. I have narrowed it down to this little piece of code: CODE //Send the message. Transport.send(mesMailer); /CODE I checked

Re: Tomcat 5 and Mail...

2004-11-23 Thread Quinton Delpeche
On Tuesday 23 November 2004 14:50, you wrote: Hi, Well, let's try an even simpler scenario: test it without a SecurityManager. I have now checked that I have all the correct parameter in both the server.xml and the web.xml file for ther server and each individual application respectively.

Re: Tomcat 5 and Mail...

2004-11-23 Thread Quinton Delpeche
On Tuesday 23 November 2004 15:10, Shapira, Yoav wrote: Hi, Hi, Let's try again: which specific Tomcat 5 version, e.g. 5.0.28? ;) Sorry. 5.0.27-9 The reason I ask is that I broke the MailSession factory in 5.0.25, so if you're using that build AND a JNDI MailSession factory, that would

RE: Tomcat 5 and Mail...

2004-11-23 Thread Shapira, Yoav
, November 23, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5 and Mail... On Tuesday 23 November 2004 15:10, Shapira, Yoav wrote: Hi, Hi, Let's try again: which specific Tomcat 5 version, e.g. 5.0.28? ;) Sorry. 5.0.27-9 The reason I ask is that I broke the MailSession factory

RE: Tomcat 5 and Mail...

2004-11-23 Thread Phillip Qin
- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: November 23, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5 and Mail... On Tuesday 23 November 2004 15:10, Shapira, Yoav wrote: Hi, Hi, Let's try again: which specific Tomcat 5 version, e.g. 5.0.28? ;) Sorry. 5.0.27-9