Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchProviderException

 
somasekharkodali
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
all,
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
somu
 
Marilyn Monickam
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1868
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
somasekharkodali,
This is the J2EE and EJB forum. We have a forum dedicated to Weblogic. You will not receive a good response for this query.
Also
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems like marilyn had a good response.

Sometimes it's annoying when "moderator knows best."
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic