Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 67932 invoked from network); 19 Feb 2007 13:49:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 13:49:50 -0000 Received: (qmail 45034 invoked by uid 500); 19 Feb 2007 13:49:55 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 45013 invoked by uid 500); 19 Feb 2007 13:49:54 -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 45002 invoked by uid 99); 19 Feb 2007 13:49:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 05:49:54 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [61.95.162.76] (HELO Kecgate02.infosys.com) (61.95.162.76) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 05:49:44 -0800 Received: from indhubbhs01.ad.infosys.com ([192.168.200.81]) by Kecgate02.infosys.com with InterScan Messaging Security Suite; Mon, 19 Feb 2007 18:37:52 +0530 Received: from BLRKECMSG04.ad.infosys.com ([172.25.213.134]) by indhubbhs01.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Feb 2007 18:37:59 +0530 Received: from BLRKECMSG13.ad.infosys.com ([172.22.147.5]) by BLRKECMSG04.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Feb 2007 18:37:59 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C75426.FA534BAC" Subject: javax.mail.NoSuchProviderException when Trying to send mail using Geronimo 1.1.1 - Reg Date: Mon, 19 Feb 2007 18:38:03 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: javax.mail.NoSuchProviderException when Trying to send mail using Geronimo 1.1.1 - Reg Thread-Index: AcdUJvz2tnmy4ISSRUygEUWA4TI5zA== From: "Kamalanathan Raman" To: X-OriginalArrivalTime: 19 Feb 2007 13:07:59.0341 (UTC) FILETIME=[FA9CA9D0:01C75426] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C75426.FA534BAC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi , =0D 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. =0D =0D 2007-02-19 18:32:54,601 ERROR com.symcor.common.util.SendMail -sendNotification(...):MessagingException=0D 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) =0D =0D Thanks and Regards, kamal **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** ------_=_NextPart_001_01C75426.FA534BAC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

****************= CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
------_=_NextPart_001_01C75426.FA534BAC--