Hi all,
 
    I'm using Apache 1.3.6 Web  server with Apache Jserv1.0b + JDK1.2.1 and JSDK2.0. We are developing a web site. For that we have to provide mail utility to the web server... For this purpose I'm using Java Mail API. When I run an example as an application, I get INTERNAL SERVER ERROR.  Jserv.log file says the following error......
<------------------------------------
[24/08/1999 14:23:58:456 GMT+05:30] java.lang.NoClassDefFoundError: javax/mail/MessagingException
 at DataOperations.Member.mailToMember(Member.java:247)
 at ForgotPassword.doPost(ForgotPassword.java:27) --> This is my servlet
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
 at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
 at org.apache.jserv.JServConnection.run(JServConnection.java)
 at java.lang.Thread.run(Thread.java:479)
------------------------------------>
The flow of the program is like is this.
 
* the HTML calls a servlet.
* In that servlet I include a package
* In that Package there is a class Member: In this class I call a DataOperations class after which I call SendMail (which uses the Java Mail package).
* when I run it thru the web server its giving the above said error.
 
Am I doing some thing wrong.... Please do help me immediately......
 
Thanx in advance
Sunil
 
 
----------------------------------------------------------------------------------------------------------
" To handle yourself, use your head,
   To handle others, use your heart."
----------------------------------------------------------------------------------------------------------
 
Sunil Kumar K
BFL Software
 

Reply via email to