?
Solved

java mail

Posted on 2000-04-04
3
Medium Priority
?
301 Views
Last Modified: 2013-11-24
sir,
i have developed mail server useing
java mial(javax.mail)for our portal
site.i am getting in stand alone.
but when i am sending mail useing
servlets i am getting error indicating
that class loader not found and
security exceptioons
what is the solution for that.
thanking sir
0
Comment
Question by:amar000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:azawawi
ID: 2683427
Most probably the Servlet engine is not finding your javax.mail, so you should find where is the classpath for that servlet engine and add the path of javax.mail package (or jar) to it...

Or better, you could unzip it into the default classes directory (if you're using JRun, for instance).

Make sure that the JVM that the servlet engine is using can also access the jar files of javax.mail.

what is the configuration of your servlet engine, JVM...etc

Hope this helps...
for more info, dont hesitate...
0
 

Accepted Solution

by:
prabhuram earned 100 total points
ID: 2686165
Hi,
Set the classpath to the javax. directory.
If in case you are using Unix platform, dont forget to export the classpath.
If you are using windows platform, you should include the directory in which you are exe the source file into the classpath.
This 'll solve your pbm.
more queries to, prabhuram@chequemail.com
0
 
LVL 1

Expert Comment

by:vishone
ID: 2720107

> sir,

  ????
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
A solution for Fortify Path Manipulation.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question