try jdk 1.2 or later to support jsp
Vinay Talwar
[EMAIL PROTECTED]
[EMAIL PROTECTED]



                    "Shahaji Kadam."
                    <shahaji.kadam@CIT        To:     [EMAIL PROTECTED]
                    ICORP.COM>                cc:
                    Sent by: A mailing        Subject:     JSP & NES4.0 ??
                    list about Java
                    Server Pages
                    specification and
                    reference
                    <JSP-INTEREST@java
                    .sun.com>


                    03/22/01 03:24 PM
                    Please respond to
                    A mailing list
                    about Java Server
                    Pages
                    specification and
                    reference





Hi,

I need some help in configuring the JSP on iPlanet (NES 4.0).

My system and software details are as follows:
 Operating System is HP-Unix 11.0
 JDK 1.1.8 -- (JDK 1.1.8 is taken from CD which comes with HP-Unix 11.0
system).

Servlets works fine. But when I try to acces JSP files I get HTTP 500
Internal
server error!!

I have followed steps given in Administrator's guide provided with iPlanet.
Both Servlet engine and JSP is enabled.
Change JDK or JRE is set to use JDK
Path is set to JDK dir which is /opt/java. (I tried setting Path to
/opt/java/bin, NO LUCK!!)
??? do i need to change or add any JDK specific path to Classpath also ???
Currently Classpath points to /server_root/../jar/jar files. (Nothing is
mentioned about this in Admin Guide. I tried setting CLASSPATH variable in
user's profile, but NO LUCK!).

The error log shows the following message:

[21/Mar/2001:20:12:35] info (26655): Internal Info: loading servlet
/jsp/t.jsp
[21/Mar/2001:20:12:35] info (26655): recompiling JSP file:
/home_dir/jsp/test.jsp
[21/Mar/2001:20:12:36] warning (26655): JSP compilation error:
java.lang.NoClassDefFoundError: sun/tools/javac/Main, stack:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at com.netscape.server.http.jsp.JSPCompiler.compileJSP(Compiled Code)
 at
com.netscape.server.http.jsp.JSPCompiler.compileInstance(JSPCompiler.java)
 at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java)
 at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java)
 at
com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.jav

a)
 at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled Code)

[21/Mar/2001:20:12:36] warning (26655): Internal error: Failed to load
servlet
(servlet=/jsp/test.jsp)
------end - error message-----

Note:
***************************************************************************
****************************
I tried compiling servlet file using the same JDK, which works without any
error or warning.
for this to work i had to set the CLASSPATH variable, without which it was
not
able to locate the packages (path of servlet.jar) required.
********************************************************************************

*****************************

Thanks and Regards,

Shahaji Kadam,
Associate Consultant,
Citicorp Overseas Limited (COSL), Mumbai, India.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to