File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes NoSuchProviderException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "NoSuchProviderException" Watch "NoSuchProviderException" New topic



Joined: May 22, 2001
Posts: 1
Iam developping Mailing system.
I wrote one stateless session bean to send mail.
In the bean i implented the logic using javax.mail.* and javax.mail.internet.*;
iam using smtp servies.
The same logic working fine with javawebserver2.0 and from command prompt.
but problem is,While using weblogic server it is throwing run time exception called NoSuchProviderExeption.
any body can help me ..........
ok bye
Marilyn Monickam
Ranch Hand

Joined: Jun 05, 2001
Posts: 66
I 've encountered the same error.You need to set the mail.jar and activation.jar in the PRE_CLASSPATH variable in startweblogic.bat.I think this should help.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1868
This is the J2EE and EJB forum. We have a forum dedicated to Weblogic. You will not receive a good response for this query.
Welcome to Javaranch. We follow some conventions pertaining to User names. The rules are specified at here . These conventions are strictly followed. There are no Exceptions in this case. In the simplest of terms names are required to have at least two words separated by a space. It would be advised that this be your real full name.
Your User name does not follow these conventions. It is recommended that you immediately register under a name conforming to the conventions.

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

It seems like marilyn had a good response.

Sometimes it's annoying when "moderator knows best."
I agree. Here's the link:
subject: NoSuchProviderException
It's not a secret anymore!