Solved

java mail

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now