----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Fri, 30 Jun 2000 04:45:56 -0700 (PDT)
From:
Hi,
I'm a newbee who tries to install Jserv. And all seems
to have gone well, ps aux reports that Jserv is
running. The logfiles are quiet, except for informing
me that the Jserver has started. But I can't get the
examples Servlets running. Does anyone know whats
wrong ?
here are my conf:
changes in /usr/local/apache/conf/httpd.conf
"ApjServManual off
ApjServSecretKey
/usr/local/apache/etc/jserv.secret.key
ApjServProperties
/usr/local/apache/etc/jserv.properties
ApjServLogFile /usr/local/apache/share/logs/jserv.log
ApjServMount /servlets /servlets
<Location /status/jserv>
SetHandler jserv-status
order deny,allow
allow from localhost
</Location>"
/usr/local/apache/etc/jserv.properties
"wrapper.bin=/usr/lib/jdk/bin/java
wrapper.class=org.apache.jserv.JServ
wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
bindaddress=localhost
port=8007
zones=servlets
servlets.properties=/usr/local/apache/etc/jserv.servlets.properties
security.maxConnections=50
security.allowedAddresses=127.0.0.1,10.168.12.158,10.168.12.160
security.authentication=false
log=false
log.file=/usr/local/apache/etc/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.channel.init=false
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
log.channel.singleThreadModel=true"
jserv.servlets.properties
"repositories=/usr/local/apache/share/servlets
autoreload.classes=true
autoreload.file=true"
In /usr/local/apache/share/servlets there are 2
servlets that came with the JServer packege. Hello and
IsItWorking. But if I point Netscape to
'http://localhost:8007/servlets/Hello' I get the error
message "Document contained no data".
Pointing it to http://localhost/servlets/Hello
directly just makes it wait..... (Host localhost
conntacted... waiting for reply)
IF anyone had any suggestions I would be forever
thankful...
Magnus Ekdahl
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]