Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 59197 invoked from network); 26 Feb 2007 22:30:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2007 22:30:03 -0000 Received: (qmail 95378 invoked by uid 500); 26 Feb 2007 22:30:10 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 94984 invoked by uid 500); 26 Feb 2007 22:30:10 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 94973 invoked by uid 99); 26 Feb 2007 22:30:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 14:30:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rickmcg@gmail.com designates 66.249.82.237 as permitted sender) Received: from [66.249.82.237] (HELO wx-out-0506.google.com) (66.249.82.237) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 14:29:57 -0800 Received: by wx-out-0506.google.com with SMTP id s18so1413503wxc for ; Mon, 26 Feb 2007 14:29:37 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=IF3Ye24NlkGVYob/niZUOLphfpapKMblqaAM1oVFbEBB2L3mjXm5Oyt32y+D9nnaKcpkdC7IURGd72Svkj0ZoRLR19uRrSidCT5Ejs3A3KAUxqfyLLpRegLuRYjDrVxvfp4JWY/7yWF89PC0HU+7dHd9jjb74ZEZTO6kxDJeLy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=lqXbhCPVzGN/pGw8KpB+t7f0WfK5pdIffTAThq+Kflmh3zKdxPOsGXDijvUOW3hLr8JCnow/MnV8arth+e3+txqCUllu4QFmweykTgcW97mL+rojZa57/je2r405Urauu1U8VMC6R2TuflDbT8HZrNaMA5dR4zatCADM9WPtCJk= Received: by 10.90.25.3 with SMTP id 3mr5522754agy.1172528977018; Mon, 26 Feb 2007 14:29:37 -0800 (PST) Received: from ?192.168.1.104? ( [68.191.49.248]) by mx.google.com with ESMTP id 7sm6461991agd.2007.02.26.14.29.35; Mon, 26 Feb 2007 14:29:35 -0800 (PST) Message-ID: <45E35F55.7080100@gmail.com> Date: Mon, 26 Feb 2007 17:29:41 -0500 From: Rick McGuire Reply-To: rickmcg@gmail.com User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: javax.mail.NoSuchProviderException when Trying to send mail using Geronimo 1.1.1 - Reg References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Aman Nanner/MxI Technologies wrote: > Hi, > > I'm also getting a NoSuchProviderException, but in Geronimo 1.2. It seems > that the geronimo-javamail-transport module has been moved, or no longer > exists, so what dependency should I use in its place? > In 1.2, the javamail providers are in geronimo-javamail_1.3.1_provider, which is in the org.apache.geronimo.javamail groupId. For providers, we now have POP3, NNTP, and NNTP-POST in addtion to SMTP. Rick > Thanks, > Aman > > > > ------------------------ > In order to send mail, there are two jar files you need in your > dependencies. The first jar file, geronimo-javamail_1.3.1_spec-1.1.jar is > in the base configuration and contains the javax.mail.* classes. You have > that one, otherwise you wouldn't get as far as you have. The second jar > file, geronimo-javamail-transport-1.1.1.jar contains the Geronimo SMTP > transport implementation. That's the jar file you're missing in your > application dependencies. > > Rick > > > Kamalanathan Raman wrote: > > > Hi , > > > Iam using Geronimo 1.1.1 .Can any one help me in resolving the following > issue, iam trying to configure a mail session and send notification mail. > But when I try to run my application it throws this particular error. Iam > not able to figure out what it suggests, Your valuable suggestion is > invited.Thanks in advance for your reply. > > > 2007-02-19 18:32:54,601 ERROR com.symcor.common.util.SendMail > -sendNotification(...):_MessagingException_ > > > _javax.mail.NoSuchProviderException_: Unable to locate provider for > protocol: smtp > > at javax.mail.Session.getProvider(_Session.java:227_) > > at javax.mail.Session.getTransport(_Session.java:336_) > > at javax.mail.Session.getTransport(_Session.java:366_) > > at javax.mail.Transport.send(_Transport.java:65_) > > at javax.mail.Transport.send(_Transport.java:46_) > > > at com.symcor.common.util.SendMail.sendNotification(_SendMail.java:171_) > > > at com.symcor.common.util.SendMail.sendNotification(_SendMail.java:92_) > > > at com.symcor.eds.app.RunEDSService.sendMail(_RunEDSService.java:411_) > > at com.symcor.eds.app.RunEDSService.main(_RunEDSService.java:338_) > > > 2007-02-19 18:32:54,617 INFO com.symcor.common.util.SendMail > -sendNotification(...):exit > > > 2007-02-19 18:32:54,617 ERROR root -main[]:Unable to locate provider for > protocol: smtp > > > _javax.mail.NoSuchProviderException_: Unable to locate provider for > protocol: smtp > > at javax.mail.Session.getProvider(_Session.java:227_) > > at javax.mail.Session.getTransport(_Session.java:336_) > > at javax.mail.Session.getTransport(_Session.java:366_) > > at javax.mail.Transport.send(_Transport.java:65_) > > at javax.mail.Transport.send(_Transport.java:46_) > > > at com.symcor.common.util.SendMail.sendNotification(_SendMail.java:171_) > > > at com.symcor.common.util.SendMail.sendNotification(_SendMail.java:92_) > > > at com.symcor.eds.app.RunEDSService.sendMail(_RunEDSService.java:411_) > > at com.symcor.eds.app.RunEDSService.main(_RunEDSService.java:338_) > > > Thanks and Regards, > > kamal > > __________________________________________________________________________________ > * This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. * > > >