Solved

java mail

Posted on 2000-04-04
3
293 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
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

Suggested Solutions

Title # Comments Views Activity
Why my table column Id is not passed to java object? 4 46
java mysql insert application 14 46
Java Inheritance super keyword use 8 38
Java array sort 10 35
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

733 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