You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Serge Knystautas <se...@lokitech.com> on 2001/09/05 20:13:23 UTC

Re: Exception: No provider for smtp

Sergey,

I've thought about this quite a bit and can't even guess at what the problem
would be.  Maybe the Locale you're running in is an issue?  Also what OS/JVM
are you using?  Any other pertinent details so I can try to recreate the
problem?

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Ushakov, Sergey N" <us...@int.com.ru>
To: <ja...@jakarta.apache.org>
Sent: Wednesday, August 29, 2001 12:38 PM
Subject: Re: Exception: No provider for smtp


> Serge, I have revised my CLASSPATH and the jars.
>
> Original mail_1_2.jar is in the right place, there is no stray mail* class
> archives in the system, and the command line that launches James is not
> truncated.
>
> Can I do anything to debug the issue?
>
> Regards,
> Sergey Ushakov
>
>
> ----- Original Message -----
> From: "Serge Knystautas" <se...@lokitech.com>
> To: <ja...@jakarta.apache.org>; "Ushakov, Sergey N"
> <us...@int.com.ru>
> Sent: Wednesday, August 29, 2001 10:34 AM
> Subject: Re: Exception: No provider for smtp
>
>
> > This is rather strange.  There should be a mail_1_2.jar in the lib
> directory
> > that's about 275kb.  In there, there should be 3 classes in the
> > com.sun.mail.smtp package.
> >
> > Maybe it's finding a different mail.jar first in your classpath (do you
> have
> > a stripped version somewhere else in your classpath that's defined
before
> > you start James?)
> >
> > Serge Knystautas
> > Loki Technologies
> > http://www.lokitech.com/
> > ----- Original Message -----
> > From: "Ushakov, Sergey N" <us...@int.com.ru>
> > To: <ja...@jakarta.apache.org>
> > Sent: Tuesday, August 28, 2001 10:19 PM
> > Subject: Exception: No provider for smtp
> >
> >
> > > Hi,
> > >
> > > My second problem is with outgoing mail.
> > >
> > > If the recipient is in the outer world, the message is not sent and an
> > > exception occurs (see below).
> > >
> > > I use dial-up Internet connection. ISP connection was already
> established
> > > (and the same) at the moments of James startup and mail processing.
> > >
> > > What may be wrong or missing?
> > >
> > > Regards,
> > > Sergey Ushakov
> > >
> > >
> > > Quotation from mailet.log:
> > >
> > > 2001.08.29 09:50:15 540 (INFO) from Mailets: ToProcessor: Sending mail
> > > org.apache.james.core.MailImpl@6e4648 to transport
> > > 2001.08.29 09:50:15 610 (INFO) from Mailets: RemoteDelivery: Remotely
> > > delivering mail Mail999049813517-0-!965622694
> > > 2001.08.29 09:50:15 640 (INFO) from Mailets: RemoteDelivery: sending
> mail
> > to
> > > [s_ushakov@yahoo.com] on yahoo.com
> > > 2001.08.29 09:50:15 670 (INFO) from Mailets: RemoteDelivery: Remote
> > delivery
> > > thread (0) will process mail
Mail999049813517-0-!965622694-to-yahoo.com
> > > 2001.08.29 09:50:15 680 (INFO) from Mailets: RemoteDelivery:
attempting
> to
> > > deliver Mail999049813517-0-!965622694-to-yahoo.com
> > > 2001.08.29 09:50:16 512 (INFO) from Mailets: RemoteDelivery:
attempting
> > > delivery of Mail999049813517-0-!965622694-to-yahoo.com to host
yahoo.com
> > > 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Exception
> > > caught in RemoteDelivery.deliver() :
javax.mail.NoSuchProviderException:
> > No
> > > provider for smtp
> > > 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Exception
> > > delivering mail (Mail999049813517-0-!965622694-to-yahoo.com:
> > > javax.mail.NoSuchProviderException: No provider for smtp
> > >  at javax.mail.Session.getProvider(Session.java:289)
> > >  at javax.mail.Session.getTransport(Session.java:483)
> > >  at
> > >
> >
>
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
> > > a:126)
> > >  at
> > >
> >
>
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:27
> > > 4)
> > >  at java.lang.Thread.run(Thread.java:484)
> > >
> > > 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Storing
> > message
> > > Mail999049813517-0-!965622694-to-yahoo.com0 into outgoing after 0
> retries
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: james-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org