SYSTEM: solaris 2.6, sun enterprise 2 server
APACHE: 1.3.4
JSERV: 1.0
I am having a spot of trouble getting apache to talk to JServ.
These are the conf snippets:
----------------------------------------------------------------------------
----
http.conf:
----------------------------------------------------------------------------
----
<IfModule mod_jserv.c>
ApJServManual off
ApJServDefaultProtocol ajpv11
ApJServDefaultHost localhost
ApJServSecretKey /usr/local/apache/etc/jserv.secret.key
ApJServProperties /usr/local/apache/etc/jserv.properties
ApJServLogFile /usr/local/apache/logs/mod_jserv.log
ApJServDefaultPort 8007
ApJServMount /servlets /manu
<Location /jserv/>
SetHandler jserv-status
order deny,allow
deny from all
allow from all
</Location>
</IfModule>
----------------------------------------------------------------------------
----
----------------------------------------------------------------------------
----
jserv.properties:
----------------------------------------------------------------------------
----
wrapper.bin=/usr/java/bin/java
wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar
wrapper.classpath=/usr/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/ifxjava_home/lib/ifxjdbc.jar
wrapper.classpath=/export/home/manu/servlets/classes
wrapper.protocol=ajpv11
port=8007
zones=manu
manu.properties=/export/home/manu/servlets/conf/servlets.properties
security.maxConnections=50
security.allowedAddresses=127.0.0.1,<THE MACHINE IP>
security.authentication=true
security.secretKey=/usr/local/apache/etc/jserv.secret.key
log=true
log.file=/usr/local/apache/logs/jslog/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.signal=true
log.channel.exceptionTracing=true
log.channel.servletLog=true
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.servletManager=true
log.channel.singleThreadModel=true
----------------------------------------------------------------------------
----
----------------------------------------------------------------------------
----
The manu Zone: servlets.properties
----------------------------------------------------------------------------
----
repositories=/export/home/manu/servlets
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=0
session.timeout=1800000
servlets.startup=ManuServlet
----------------------------------------------------------------------------
----
With this configuration, when I bring apache up, loading a servlet
(ManuServlet)
at startup, JServ logfile indicates that the servlet has been loaded -
jserv.log entries are made
as they are when bringing the same conf up under WinNT (which works fine).
When accessed via http on http://<hostname>/servlets/ManuServlet
the browser makes a connection and hangs until the request times out. This
indicates to me that
apache is having trouble communicating with JServ.
Could someone suggest what is wrong with this configuration....
Cheers
Julian Taylor
[EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]