Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 12485 invoked from network); 30 Sep 2008 11:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2008 11:42:23 -0000 Received: (qmail 86276 invoked by uid 500); 30 Sep 2008 11:42:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85665 invoked by uid 500); 30 Sep 2008 11:42:10 -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 85654 invoked by uid 99); 30 Sep 2008 11:42:10 -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 04:42:10 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.128] (HELO smtp5.freeserve.com) (193.252.22.128) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 11:41:09 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3416.me.freeserve.com (SMTP Server) with ESMTP id CD1661C00082 for ; Tue, 30 Sep 2008 13:41:32 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.187.106]) by mwinf3416.me.freeserve.com (SMTP Server) with ESMTP id B4CC11C00081 for ; Tue, 30 Sep 2008 13:41:32 +0200 (CEST) X-ME-UUID: 20080930114132740.B4CC11C00081@mwinf3416.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id 0AF5D1A44BE for ; Tue, 30 Sep 2008 12:41:37 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mYj+VwCV9NWd for ; Tue, 30 Sep 2008 12:41:32 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id B7D021A420A for ; Tue, 30 Sep 2008 12:41:32 +0100 (BST) Message-ID: <48E21066.20904@apache.org> Date: Tue, 30 Sep 2008 12:41:26 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat migration from T5 to T5.5 mail References: <19739822.post@talk.nabble.com> In-Reply-To: <19739822.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org AlexM3 wrote: > Hello, > > I'm migrating a Tomcat Cluster, when I thought everything was working fine, > session cluster, balancing,etc, I noticed that the mails were not send by > the java aplication. > > I installed the library mail.jar and activation.jar and configured the > web.xml and the context.xml as the Official Tomcat notes say. The aplication > has not changed and can't change, and it works perfect in the old installed > Tomcat 5. The error that I get when the application tries to send the mail > is: > > javax.mail.NoSuchProviderException: smtp > at javax.mail.Session.getService(Session.java:760) > at javax.mail.Session.getTransport(Session.java:685) > at javax.mail.Session.getTransport(Session.java:628) > ... # More errors lije that > > > I have read in some forums that the problem could be that Tomcat is loading > that libraries 2 times. I have checked everything and the only folder they > are is $CATALINA_HOME/common/lib and they're not in any other place like > $CATALINA_HOME/shared/lib or $CATALINA_HOME/webapps/myapplication/* > > Anyone has any idea why I have this error? The configuration of resources changed significantly between 5.0.x and 5.5.x. Are you using the 5.5.x version? Mark --------------------------------------------------------------------- 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