I'm sorry, here is the sevlet.gnujsp.initArgs line:

servlet.gnujsp.initArgs=pagebase=/home/httpd/htdocs,scratchdir=/var/tmp,checkuri
=true,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:/hom
e/servlets/classes:/usr/src/gnujsp-1.0cvs-19991010-2135/lib/gnujsp10cvs.jar:/usr
/src/jswdk-1.0/lib/servlet.jar -d %scratchdir% -deprecation %source%

I took out that last line, but to no effect.  What could cause the system not be be
able to scan servlet headers?  Thanks.

Carsten Heyl wrote:

> Hi Ron,
>
> I downloaded the snapshot, installed the jar and did not have problems.
> See for config notes below.
> If config is o.k., try to remove all generated jsp-classes.
>
> >Hello,
> >
> >I just downloaded and installed gnujsp-1.0cvs-19991010-2135.  When
> >trying to run any .jsp file I get an Internal Error (described below).
> >I am running Linux Redhat 5.2, jdk1.2pre from blackdown.  Apache Jrun
> >servlet engine (installed and running).  To test my logic, I went went
> >back to a gnujsp install running on another host and installed
> >gnujsp-1.0cvs-19990916-0700.  It appears to work.
> >
> >I've tried to include what I think are the relevant config snippets
> >below.  Any assistance would be appreciated.
> >
> >Thanks.
> >
> >*** message from web server:
> >
> >Internal Server Error
> >
> >The server encountered an internal error or misconfiguration and was
> >unable to complete your request.
> >
> >Premature end of script headers: (null)
> >
> >*** jserv.log:
> >
> >[11/10/1999 16:46:11:099] (EMERGENCY) ajp11: cannot scan servlet headers
> >
> >[11/10/1999 16:46:11:099] (ERROR) an error returned handling request via
> >protoc
> >
> >
> >** In httpd.conf
> >
> >ApJServMount /servlets /live10-1010
> >ApJServAction .jsp /servlets/gnujsp
> >
> >
> >** In jserv.properties
> >
> >wrapper.classpath=/usr/src/jdk1.2/lib/tools.jar
> >wrapper.classpath=/usr/src/ApacheJServ-1.0/src/java/ApacheJServ.jar
> >wrapper.classpath=/usr/src/JSDK2.0/lib/jsdk.jar
> >wrapper.classpath=/usr/src/javamail-1.1.2/mail.jar
> >wrapper.classpath=/usr/src/jaf-1.0.1/activation.jar
> >wrapper.classpath=/usr/openlink/jdk11/opljdbc.jar
> >
> >zones=example,live10-0916,live10-1010
> >
> >example.properties=/usr/src/ApacheJServ-1.0/example/example.properties
> >live10-0916.properties=/home/servlets/conf/live10-0916.properties
> >live10-1010.properties=/home/servlets/conf/live10-1010.properties
> >
> >** in live10-1010 properties
> >
> >repositories=/home/servlets/classes
> >repositories=/usr/src/gnujsp-1.0cvs-19991010-2135/lib/gnujsp10cvs.jar
> >repositories=/usr/src/jswdk-1.0/lib/servlet.jar
> >
> >servlets.startup=gnujsp
> >
> >servlet.gnujsp.code=org.gjt.jsp.JspServlet
> >servlet.gnujsp.initArgs=pagebase=/home/httpd/htdocs,scratchdir=/var/tmp,checku r
>
> Is this the complete line? Looks incomplete.
>
> >
> >servlet.org.gjt.jsp.JspServlet.initArgs=scratchdir=/var/tmp
>
> No need to add this line if not calling the servlet by class name.
>
> >
> >--
> >Ron Parker
> >Software Creations            http://www.scbbs.com
> >TradeWinds Publishing         http://www.intl-trade.com
> >TradePoint Los Angeles        http://www.tradepointla.org
> >SiteDirector Security Server  http://livepublish.scbbs.com
> >Civil War Online Library      http://civilwar.scbbs.com
> >
> >
>
> Ciao,
>         Carsten

--
Ron Parker
Software Creations            http://www.scbbs.com
TradeWinds Publishing         http://www.intl-trade.com
TradePoint Los Angeles        http://www.tradepointla.org
SiteDirector Security Server  http://livepublish.scbbs.com
Civil War Online Library      http://civilwar.scbbs.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to