----------------------------------------------------------------
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!!!
----------------------------------------------------------------
My current configuration files as requested. I have three zones, opinion,
file and root; I activated the "root" just to be able to try the servlets
that came as examples. For this post, I have cut off most of the comments
so as not to flood your mailboxes.
Notice that I am mounting both /servlet and /servlets now.
----------------------------------------------------------------------------
JSERV.CONF
----------------------------------------------------------------------------
<IfModule mod_jserv.c>
ApJServManual off
ApJServProperties /usr/local/jserv/etc/jserv.properties
ApJServLogFile /var/log/httpd/jserv.log
ApJServLogLevel notice
ApJServDefaultProtocol ajpv12
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
# comment: I have tried mounting as "/servlet /opinion" and so on as well
ApJServMount /servlet ajpv12://localhost:8007/opinion
ApJServMount /file ajpv12://localhost:8007/file
ApJServMount /servlets ajpv12://localhost:8007/root
ApJServMountCopy on
ApJServAction .jhtml /servlet/org.apache.servlet.ssi.SSI
<Location /jserv/>
SetHandler jserv-status
order deny,allow
deny from all
allow from localhost 127.0.0.1 130.233.224.1
</Location>
</IfModule>
-----------------------------------------------------------------------------
JSERV.PROPERTIES
-----------------------------------------------------------------------------
wrapper.bin=/usr/local/jdk-1.1.8/bin/java
wrapper.class=org.apache.jserv.JServ
wrapper.classpath=./
wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/jserv/opinion/opinion.zip
wrapper.classpath=/usr/local/jserv/opinion/GIFEncoder.zip
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jdk-1.1.8/lib/classes.zip
wrapper.protocol=ajpv12
bindaddress=localhost
port=8007
zones=opinion,file,root
opinion.properties=/usr/local/jserv/etc/opinion.properties
file.properties=/usr/local/jserv/etc/file.properties
root.properties=/usr/local/jserv/etc/zone.properties
pool=false
pool.capacity=10
pool.controller=org.apache.java.recycle.DefaultController
security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=127.0.0.1
security.authentication=false
security.challengeSize=5
log=true
log.file=/var/log/httpd/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.servletException=true
log.channel.jservException=true
log.channel.warning=true
log.channel.servletLog=true
log.channel.critical=true
-----------------------------------------------------------------------------
OPINION.PROPERTIES
-----------------------------------------------------------------------------
repositories=/usr/local/jserv/opinion/
repositories=/usr/local/jserv/opinion/ApacheJSSI.jar
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.useCookies=true
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=20
servlets.default.initArgs=propertyfile=/home/reijo/properties.pro
-----------------------------------------------------------------------------
FILE.PROPERTIES
-----------------------------------------------------------------------------
repositories=/usr/local/jserv/file/FileServlet.jar
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=20
singleThreadModelServlet.maximumCapacity=10
servlet.file.code=FileServlet
servlet.FileServlet.initArgs=modelDirectory=/home/httpd/webhipremodels
servlet.file.initArgs=modelDirectory=/home/httpd/webhipremodels
-------------------------------------------------------------------------
ZONE.PROPERTIES
-------------------------------------------------------------------------
repositories=/usr/local/jserv/servlets
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.useCookies=true
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=10
--
--------------------------------------------------------------
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]