I made a few changes to my configuration but its not working still.
I get the message
You must specify a secret key, or disable this feature.
To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
file.
To use, add "ApJServSecretKey {filename}" where filename is document
with more or less random contents, and perhaps a few kb in length.
The Apache JServ documentation explains this in more detail.
/usr/local/sbin/apachectl start: httpd could not be started
Im sending my config files , some you ppl might take a look and see if
is there anything wrong/
####### httpd.conf #######
<IfModule mod_jserv.so>
ApJServSecretKey "/usr/local/etc/apache/jserv.secret.key"
Include /usr/local/etc/apache/jserv.conf
ApJServMount /example /example
</IfModule>
####### jserv.conf ########
ApJServManual "Off"
ApJServProperties "/usr/local/etc/apache/jserv.properties"
ApJServLogFile "/var/log/httpd/mod_jserv.log"
ApJServDefaultProtocol "ajpv11"
ApJServDefaultHost "localhost"
ApJServDefaultPort "8007"
ApJServSecretKey "/usr/local/etc/apache/jserv.secret.key"
ApJServMountCopy "Off"
<Location /jserv/>
SetHandler jserv-status
order deny,allow
deny from all
allow from .clearink.com
</Location>
####### jserv.properties ########
wrapper.bin=/usr/local/bin/java
wrapper.classpath=/usr/local/java/jserv/Apache-JServ.jar
wrapper.classpath=/usr/local/java/jsdk.jar
wrapper.classpath=/usr/local/java/lib/classes.zip
port=8007
zones=example
example.properties=/usr/local/etc/apache/zones/example
security.selfservlet=true
security.maxConnections=50
security.authentication=true
security.secretKey=/usr/local/etc/apache/jserv.secret.key
log=true
log.file=/var/log/httpd/jserv.log
log.timestamp=true
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
####### example #######
repositories=/usr/local/apache/example
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
and thats all.
my server is also running 6 virtual hosts and is listening two different
ports.
Thanks.
--
Joćo Assad
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]