Hi,
 
I set up an Apache Web server v1.3.14 and ApacheJServ v1.1.2. on WIN2000 Professional platform. Web server works OK, but I have encountered some problems with Apache JServ. JServ starts automatically without any problems, but if I want to run a servlet, a get an Internal Server Error (500) message from Apache (servlet engine is not working). Log files say the following:
 
Apache Error.log:
[Thu Mar 15 14:26:06 2001] [error] [client 100.100.100.1] client denied by server configuration: c:/program files/apache group/apache/www/jserv
 
JServ mod_jserv.log:
[15/03/2001 16:19:02:235] (EMERGENCY) ajp12: can not connect to host 100.100.100.1:8007
[15/03/2001 16:19:02:235] (EMERGENCY) ajp12: connection fail
[15/03/2001 16:19:02:235] (ERROR) an error returned handling request via protocol "ajpv12"
[15/03/2001 16:19:02:235] (ERROR) an error returned handling request via protocol "status"
 

I 've been going thru files jserv.conf, jserv.properties and zone.properties (which are described in details at the bottom of this mail) but I can't figure out what the problem could be.

Any suggestions!

Regards,
Aleksander Pivk

Here is detailed description of my configuration files
*************** jserv.conf ******************************
LoadModule jserv_module "C:/Program Files/Apache JServ 1.1.2/ApacheModuleJServ.dll"
 
<IfModule mod_jserv.c>
  ApJServManual off
  ApJServProperties "C:/Program Files/Apache JServ 1.1.2/conf/jserv.properties"
  ApJServLogFile "C:/Program Files/Apache JServ 1.1.2/logs/mod_jserv.log"
  ApJServLogLevel info
  ApJServDefaultProtocol ajpv12
  ApJServDefaultHost my.domain.com
  ApJServDefaultPort 8007
  ApJServSecretKey DISABLED
  ApJServMount /servlet /root
  ApJServMount /servlets /root
  ApJServMountCopy off
</IfModule>
******************************************************

********************* jserv.properties *******************
wrapper.bin=c:\program files\jdk1.2.2\bin\java.exe
wrapper.classpath=C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar
wrapper.classpath=c:\program files\jsdk2.0\lib\jsdk.jar

bindaddress=localhost
port=8007

zones=root
root.properties=C:\Program Files\Apache JServ 1.1.2\servlets\zone.properties

pool=false
pool.capacity=10
pool.controller=org.apache.java.recycle.DefaultController

security.selfservlet=true
security.maxConnections=50
security.authentication=false

log=true
log.file=c:\Program Files\Apache JServ 1.1.2\logs\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
******************************************************

********************* zone.properties *******************
repositories=C:\Program Files\Apache JServ 1.1.2\servlets,C:\Program Files\Apache JServ 1.1.2\example

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

******************************************************
 

Reply via email to