I am trying to get Apache JSSI 1.1 to work on RedHat 5.2 Linux using
Apache 1.3.6, JServ 1.0, and Blackdown's JDK 1.1.7B.  When I load a page
using the <SERVLET> tag, I get a NullPointerException in
PageParserServlet.doGet at line 326.

I do have regular servlets working.  I believe that I am getting my SSI
servlet loaded, as I do not get the "class not found" error I had
before.  Interestingly, I get a null pointer exception at this same
point regardless of whether my class was found or not.

I would greatly appreciate any suggestions.  I hope I'm just making a
simple mistake.

Guy

My httpd.conf file includes jserv.conf, which has:

 ApJServProperties /usr/local/apache/conf/jserv.properties
 ApJServMount /servlets /main
 ApJServMount /test     /test

jserv.properties has:

 wrapper.bin=/usr/local/jdk1.1.7/bin/java
 wrapper.class=org.apache.jserv.JServ
 wrapper.classpath=/usr/local/jsrv/lib/ApacheJServ.jar
 wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
 wrapper.classpath=/usr/local/servlets/ApacheJSSI.jar
 zones=main
 main.properties=/usr/local/apache/conf/jserv.main.properties

jserv.main.properties has:
 repositories=/usr/local/servlets
 repositories=/usr/local/servlets/ApacheJSSI.jar
 servlet.jserv.code=org.apache.jserv.JServSSI
 repositories=/usr/local/mysql

The test.jhtml file is in .../apache/htdocs and contains:
  <BR>TEST:  <SERVLET CODE=HelloWorldSSI>
  Your web server has not been configured to support servlet tags.
  </SERVLET>

The resulting browser page just says:

  TEST:

The tail of jserv.log has:
 [21/06/1999 17:49:26:167 PDT] Read: HUser-Agent        Mozilla/4.5 [en]
(WinNT; U)
 [21/06/1999 17:49:26:168 PDT] Header: User-Agent=Mozilla/4.5 [en]
(WinNT; U)
 [21/06/1999 17:49:26:168 PDT] All data read.
 [21/06/1999 17:49:26:168 PDT] Parsing cookies
 [21/06/1999 17:49:26:169 PDT] Calling service()
 [21/06/1999 17:49:26:172 PDT] Sending response headers.
 [21/06/1999 17:49:26:172 PDT] Status: 200 OK
 [21/06/1999 17:49:26:172 PDT] Content-Type: text/html
 [21/06/1999 17:49:26:176 PDT] java.lang.NullPointerException: 
        at
org.apache.servlet.ssi.PageParserServlet.doGet(PageParserServlet.java:326)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        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 subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to