Google Answers Logo
View Question
 
Q: Configuration of iPlanet Web Server for JavaMail. ( No Answer,   0 Comments )
Question  
Subject: Configuration of iPlanet Web Server for JavaMail.
Category: Computers > Software
Asked by: parth-ga
List Price: $10.00
Posted: 10 Oct 2002 17:02 PDT
Expires: 12 Oct 2002 10:39 PDT
Question ID: 75069
Hi,
 
I have been using Java Web Server 2.0 for a long time (on NT
platform). Now I want to migrate to iPlanet web server 6.0 SP4.
I was using a JSP page to send emails. The JSP was working fine on
previous web server. Means, the code is fine. Now, I want to know -
what configuration is required to make the same JSP work with iPlanet
web server?
 
In fact, I read all the documentation of JavaMail and of iPlanet web
server and configured both accordingly. But, still it is NOT
working!!! The Problem is described below :
 
Problem : 
I installed the iPlanet web server 6.0 SP4. I also downloaded the
JavaMail API1.3 and JAF (Javabean Activation Framework) and put the
JAR files into Environment variable - classpath.
But when I try to run the JSP file, which just sends an email using
the JavaMail 1.3 packages (it was working fine with my previous web
server - Java Web Server 2.0. So, the code is fine), it does not work
and gives following ERRORs :
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
[10/Oct/2002:11:42:39] info (  117): Internal Info: loading servlet
/test/mailsend6.jsp
[10/Oct/2002:11:42:53] info (  117): JSP: JSP1x compiler threw
exception
org.apache.jasper.JasperException: Unable to compile class for
JSPNote: sun.tools.javac.Main has been deprecated.
C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_mailsend6_jsp.java:18:
Package javax.mail not found in import .
import  javax.mail.*;
        ^
C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_mailsend6_jsp.java:19:
Package javax.mail.internet not found in import.
import  javax.mail.internet.*;
        ^
C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_mailsend6_jsp.java:20:
Class javax.activation.DataHandler not found in import.
import javax.activation.DataHandler;
       ^
3 errors, 1 warning
 
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
 at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
 at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
 at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
 
[10/Oct/2002:11:42:53] warning (  117): Internal error: Failed to get
GenericServlet. (uri=/test/mailsend6.jsp,SCRIPT_NAME=/test/mailsend6.jsp)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Can you give some solution for this problem?

Thanks,
Nirav.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy