Re: Sending mail with JavaMail (UNCLASSIFIED)

2005-10-10 Thread Andrés Reyes
List Subject: Re: Sending mail with JavaMail Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB

Re: Sending mail with JavaMail (solved)

2005-10-10 Thread Andrés Reyes
David Tonhofer, m-plify S.A. wrote: --On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: It doesn't work. No way??? Back to basics: find all the places where mail.jar is in this hierarchy of classloaders. Make sure there is only one. Make sure that jaf.jar

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: http://java.sun.com/products/javabeans/glasgow/jaf.html --On Friday, October 07, 2005 9:33 AM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: Hi. I need to send an email using a servlet (Tomcat 4.1 / Debian

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
David Tonhofer, m-plify S.A. wrote: Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: http://java.sun.com/products/javabeans/glasgow/jaf.html Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. I forget to comment it. Sorry. --

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
The doPost exception is in the line 63 of the servlet, which is: --- MimeMessage message = new MimeMessage(s); --- -- /*** * Andrés Reyes ( [EMAIL PROTECTED] ) * TCOR Desarrollos y Sistemas, S.L. * Teléfono: 957 76 42 48 * Fax : 957 76 42 49

Re: Sending mail with JavaMail

2005-10-07 Thread Mikolaj Rydzewski
Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. Try to put them in tomcat's common/lib. It works for me. -- Mikolaj Rydzewski [EMAIL PROTECTED] Becomo S.A. tel. (12) 2927104 - To

Re: Sending mail with JavaMail [255611:132100]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 10:14 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. Try to put them in tomcat's common/lib. It works for me

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Confirmation: I have them in common/lib, too. If the mail.jar is in common/lib, then the jaf.jar must *also* be in common/lib. --On Friday, October 07, 2005 11:15 AM +0200 Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in

Re: Sending mail with JavaMail [255621:132113]

2005-10-07 Thread RTE - Meridian Club
-plify S.A. [EMAIL PROTECTED] Received: 10/7/2005 10:21 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail Confirmation: I have them in common/lib, too. If the mail.jar is in common/lib, then the jaf.jar must *also* be in common/lib

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
I have them both in /tomcat4/common/lib and included in the CLASSPATH and the servlet doesn't work (the same javax/activation/datasource exception in the line which MimeMessage is initialized). David Tonhofer, m-plify S.A. wrote: Confirmation: I have them in common/lib, too. If the mail.jar

Re: Sending mail with JavaMail

2005-10-07 Thread Giuseppe Briotti
== Date: Fri, 07 Oct 2005 11:46:45 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == I have them both in /tomcat4/common/lib

Re: Sending mail with JavaMail [255646:132140]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 10:58 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == Date: Fri, 07 Oct 2005 11:46:45 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
: == Date: Fri, 07 Oct 2005 11:46:45 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == I have them both in /tomcat4/common/lib and included in the CLASSPATH

Re: Sending mail with JavaMail [255649:132143]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 11:03 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any other place? ;) ¿Maybe the error

Re: Sending mail with JavaMail

2005-10-07 Thread Leon Rosenberg
On 10/7/05, Andrés Reyes [EMAIL PROTECTED] wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any other place? ;) ¿Maybe the error be in activation.jar itself? ( I want to believe that it isn't :( ). Hmm... unlikely... but

Re: Sending mail with JavaMail [255655:132155]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 11:17 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail On 10/7/05, Andrés Reyes [EMAIL PROTECTED] wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any

Re: Sending mail with JavaMail [255658:132158]

2005-10-07 Thread RTE - Meridian Club
-plify S.A. [EMAIL PROTECTED] Received: 10/7/2005 11:23 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200

Re: Sending mail with JavaMail

2005-10-07 Thread Giuseppe Briotti
== Date: Fri, 07 Oct 2005 12:04:37 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == activation.jar and mail.jar are placed both

Re: Sending mail with JavaMail [255664:132162]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 11:31 AM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail == Date: Fri, 07 Oct 2005 12:04:37 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= [EMAIL PROTECTED] To: Tomcat Users List

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
It doesn't work. David Tonhofer, m-plify S.A. wrote: Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: activation.jar and mail.jar are placed both in /common/lib,

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
--On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: It doesn't work. No way??? Back to basics: find all the places where mail.jar is in this hierarchy of classloaders. Make sure there is only one. Make sure that jaf.jar is at the same level or above it.

Re: Sending mail with JavaMail [255704:132206]

2005-10-07 Thread RTE - Meridian Club
-plify S.A. [EMAIL PROTECTED] Received: 10/7/2005 1:24 PM To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Sending mail with JavaMail --On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: It doesn't work. No way??? Back to basics: find

RE: Sending mail with JavaMail (UNCLASSIFIED)

2005-10-07 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Are you including your JAR files your BUILD.XML classpath ? -Original Message- From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 6:25 AM To: Tomcat Users List Subject: Re: Sending mail with JavaMail