Does anyone have experience with using JSP (Sun's reference
implementation, version 1.0ea) with Apache 1.3.6 and JServ 1.0?

After installing these (on Solaris 2.6) I installed jswdk 1.0ea,
following the instructions in the README to modify jserv.conf,
jserv.properties, and servlet.properties. Then copied
jswdk-1.0-ea/examples/* into apache/htdocs and using a browser access
http://domain/jsp which displays the JSP Samples page. All of the source
code links work fine, but the links to execute JSP pages fail.

One thing I don't understand about JSP is this: the .jsp page is
compiled into a servlet. Where is that servlet placed? Does the servlet
zone's properties file not need a repositories entry saying where the
compiled servlets are placed?

Many thanks for any advice,
Bruce Conrad

Log entries are:

access_log

209.90.83.44 - - [13/Aug/1999:16:20:06 -0600] "GET /jsp/snp/snoop.jsp
HTTP/1.0"500 597

mod_jserv.log

[13/08/1999 16:20:06:401] (ERROR) ajp11: Servlet Error: Internal Server
Error
[13/08/1999 16:20:06:401] (ERROR) an error returned handling request via
protocol "ajpv11"

error_log

JspEngine --> /usr/local/apache/htdocs/jsp/snp/snoop.jsp
Unhandled error! You might want to consider having an error page to
report such
errors more gracefully
java.lang.NullPointerException
        at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServ
let.java:71)
        at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java
:79)
        at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:180)
        at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:219)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:335
)
        at
org.apache.jserv.JServConnection.run(JServConnection.java:197)
        at java.lang.Thread.run(Thread.java)

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to