I have now triple checked and I have moved activation.jar, mail.jar, and pop3.jar into jre/lib/ext.  I then did a search for those 3 files on my entire hard drive and they are only in that directory.  I restarted Orion and still get:
MessagingException: javax.mail.NoSuchProviderException: No provider for POP3
I then tried your other suggestion of removing the files from the orion.jar manifest.mf file.  I still get the same error.  I saw another response to my post suggesting that I look at my code and they gave a code sample...  I will look at this next.
 
Currently, I have the 3 jar files only in jre/lib/ext and the files are not listed in the manifest.mf file in orion.jar.
 
Dale
----- Original Message -----
Sent: Thursday, November 23, 2000 4: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
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.

Reply via email to