Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 71805 invoked from network); 30 Sep 2008 16:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2008 16:19:30 -0000 Received: (qmail 64657 invoked by uid 500); 30 Sep 2008 16:19:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64422 invoked by uid 500); 30 Sep 2008 16:19:17 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64411 invoked by uid 99); 30 Sep 2008 16:19:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 09:19:17 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_RFC_DSN,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 16:18:15 +0000 Received: from [192.168.0.101] (unknown [63.208.76.4]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 0A88E23E49A for ; Tue, 30 Sep 2008 12:18:46 -0400 (EDT) Message-Id: <7D4D70C5-48E6-4AA4-AB84-AA5C165C1928@jmlafferty.com> From: David Fisher To: "Tomcat Users List" In-Reply-To: <19740598.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Tomcat migration from T5 to T5.5 mail Date: Tue, 30 Sep 2008 11:18:45 -0500 References: <19739822.post@talk.nabble.com> <19740598.post@talk.nabble.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org Hi, Just a thought, but you might want to check the permissions on the jar =20= files. I've gotten errors like that when I lacked permission to read. Regards, Dave On Sep 30, 2008, at 6:54 AM, AlexM3 wrote: > > Hello, > > Firt of all thanks for your fast answer. > > - My Java versi=F3n is jdk1.5.0_06, it's the same that is using the =20= > old Tomcat > 5 and it works. Anyway I've tried to remove aplication.jar and an =20 > error asks > for him. > > - I've tested my linux system "mail" function and it works, the =20 > aplication > deployed in Tomcat 5 works too. > > - My context.xml is: > > > > > type=3D"javax.mail.Session" > mail.smtp.host=3D"localhost"/> > > > > - What i've done to configure the mail is the same as your guide =20 > Albretch > says: > 1. Copy mail.jar and activation.jar to $CATALINA_HOME/common/lib > 2. Edit context.xml and add the ressource mail/Session: > > type=3D"javax.mail.Session" > mail.smtp.host=3D"localhost"/> > > 3. Edit web.xml and add the resource-ref: > > > > Resource reference to a factory for javax.mail.Session > instances that may be used for sending electronic mail > messages, preconfigured to connect to the appropriate > SMTP server. > > > mail/Session > > > javax.mail.Session > > > Container > > > > 4. The code is written and tested. > > Any idea? > --=20 > View this message in context: = http://www.nabble.com/Tomcat-migration-from-T5-to-T5.5-mail-tp19739822p197= 40598.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org