----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi!

Iīm using the Apache -Webserver V1.3.9 using JServ V1.0 and jdk1.2.2
under SuSE Linux 6.2 (Kernel 2.2.10).

I want to use JSP with gnujsp but i canīt access jsp-Sites. Access to
HTML-Sites works fine.
Iīve got an error within the JServ-module:

apache-errorlog:
[Fri Jan  7 09:44:55 2000] [error] [client 192.168.142.52] Premature end
of script headers: (null)

jserv.log:
[07/01/2000 09:44:55:073] (EMERGENCY) ajp11: cannot scan servlet headers

[07/01/2000 09:44:55:073] (ERROR) an error returned handling request via
protocol "ajpv11"

In the FAQ iīve read about this error and the reason should be that the
JServ isnīt running. But I can connect to Apache and JServ using:
    telnet localhost 80 and telnet localhost 8081

I think, the reason could be the jdk, because javac seems to be never
called. Does anybody have got an idea or a solution about this problem?

best regards

Rene

My Config and Logfiles:

http.conf:

# JServ:
LoadModule jserv_module libexec/mod_jserv.so
AddModule mod_jserv.c

# JServ:
<IfModule mod_jserv.c>
ApJServManual off
ApJServSecretKey DISABLED
ApJServProperties /usr/local/apache/conf/jserv.properties
ApJServLogFile /var/log/www/jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultHost support.internolix.com
ApJServDefaultPort 8081
ApJServMountCopy on
ApJServAction .jsp /serv/org.gjt.jsp.JSPServlet
ApJServMount /serv /life
</IfModule>

jserv.properties:
wrapper.bin=/usr/lib/java/bin

wrapper.class=org.apache.jserv.JServ

wrapper.path=/bin:/usr/bin:/usr/local/bin:/usr/lib/java

wrapper.classpath=/usr/local/apache/jclasses/ApacheJServ.jar
wrapper.classpath=/usr/local/apache/jclasses
wrapper.classpath=/usr/lib/java/lib/jsdk.jar
wrapper.classpath=/usr/lib/java/lib/classes.zip
wrapper.classpath=/usr/lib/java/gnujsp/lib/gnujsp10.jar

wrapper.env.copyall=true
wrapper.protocol=ajpv11

port=8081
zones=life
life.properties=/usr/local/apache/conf/life.properties

security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=192.168.142.52]
security.authentication=false

log=true
log.file=/var/log/www/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.queue.maxage = 5000
log.queue.maxsize = 1000
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletLog=true

life.properties:
repositories=/usr/lib/java/gnujsp/lib/gnujsp10.jar
repositories=/usr/local/apache/share/gnujsp-classes
repositories=/usr/lib/java
repositories=/usr/local/apache/servlets

autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=10

servlets.startup=org.gjt.jsp.JSPServlet
servlets.default.initArgs=repository=/usr/local/apache/share/gnujsp-classes/

servlet.org.gjt.jsp.JSPServlet.initArgs=repository=/usr/local/apache/share/gnujsp-classes/

# gnujsp:
life.gnujsp.code=org.gjt.jsp.JSPServlet
life.gnujsp.initArgs=classfiles=/usr/local/apache/share/gnujsp-classes/


Logfiles:
apache-errorlog:
[Fri Jan  7 09:44:55 2000] [error] [client 192.168.142.52] Premature end
of script headers: (null)

jserv.log:
[07/01/2000 09:44:55:073] (EMERGENCY) ajp11: cannot scan servlet headers

[07/01/2000 09:44:55:073] (ERROR) an error returned handling request via
protocol "ajpv11"




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to