I had the same problem with pop3 and for me it worked just to put pop3.jar
in orion/lib and change the code to:
session = Session.getInstance(props, null);
// store = session.getStore(new URLName(Constants.MAIL_URL)); // this is
the right way
store = new POP3Store(session, new URLName(Constants.MAIL_URL));
(where Constants.MAIL_URL is something like: "pop3://cucu:[EMAIL PROTECTED]")
The problem seems to be that Orion doesn't read the javamail.providers file
from META-INF directory.
FlorinM
----- Original Message -----
From: Christian Sell
To: Orion-Interest
Sent: Thursday, November 23, 2000 11:24 PM
Subject: Re: pop3.jar again
Dale,
This is my favorite one..
I am running an application under orion which uses JavaMail & pop3. The 2
solution alternatives to the classloader problem I personally tested
successfully were
a) MOVE mail.jar AND pop3.jar to jre/lib/ext (note the MOVE. Both should be
accessed from the same place)
b) modify manifest.mf inside orion.jar and add the pop3.jar
I have to admit I stayed with b). I just re-modified it yesterday after
downloading the newest orion release :-)
----- Original Message -----
From: Dale Bronk
To: Orion-Interest
Sent: Thursday, November 23, 2000 8:40 PM
Subject: pop3.jar again
Has anyone figured out how to use pop3.jar with Orion? I have tried moving
the pop3.jar and activation.jar to my jdk/lib/ext directory like someone
suggested and it still gets an error "no providers found". I then tried
what someone else suggested... Starting orion with the actual class with
main in it rather than orion.jar and specifying the classpath pointing to my
activation.jar and pop3.jar from sun.
I can't get it to work with Orion.
Orion, if you are listening... Please help. There have been several
questions with this same problem. I know I have it setup correctly because
I can run the little test app and it lists my pop3 as a provider plain as
day. This is of course not running in the same vm as Orion. The common
problem I get from this list is that it is a problem with Orion classloader.
Orion, please let us know what we have to do.
Dale Bronk
[EMAIL PROTECTED]