Hi, 

I have quite difficult problem:

I'd like to start JServ automatically with Apache via the property "ApJServManual 
Off". This works well for about 40 minutes. Then  JServ hangs up and no further 
servlet-requests are served. The webserver still works fine (serves static html). It 
seems, that two apache processes are running and no java-process is running anymore. 
It seems to me that Apache is trying to run another JServ-Server or anything like 
that. 

I'm running Apache 1.3.6 with JServ 1.0 under Sun JDK 1.2.1 and JSDK 2.0 and NT.

Most curious is that when turning ApJServManual On and starting JServ manual 
everything works fine!

Anybody knows anything about that behavior???

logs:


access.log
....
172.X.X.X - user [15/Jul/1999:10:28:23 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=15 HTTP/1.0" 200 1297
172.X.X.X - user [15/Jul/1999:10:28:23 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=15 HTTP/1.0" 200 1297
172.X.X.X - user [15/Jul/1999:10:28:27 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=2 HTTP/1.0" 200 9096
172.X.X.X - user [15/Jul/1999:10:28:28 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=15 HTTP/1.0" 200 1297
172.X.X.X - user [15/Jul/1999:10:33:29 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=1 HTTP/1.0" 200 -
172.X.X.X - user [15/Jul/1999:10:33:31 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=1 HTTP/1.0" 500 619
172.X.X.X - user [15/Jul/1999:10:33:32 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=14 HTTP/1.0" 200 -
172.X.X.X - user [15/Jul/1999:10:33:33 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=1 HTTP/1.0" 200 -
172.X.X.X - user [15/Jul/1999:10:33:34 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=14 HTTP/1.0" 500 619
172.X.X.X - user [15/Jul/1999:10:33:35 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=1 HTTP/1.0" 500 619
172.X.X.X1 - user [15/Jul/1999:10:34:09 +0200] "GET 
/servlets/ASServer.EasyQuestionServlet?type=2&std_id=2 HTTP/1.0" 500 619


error.log
....
[Thu Jul 15 10:33:28 1999] [info] [client 172.X.X.X] read script header timed out
[Thu Jul 15 10:33:28 1999] [info] [client 172.X.X.X] read script header timed out
[Thu Jul 15 10:33:29 1999] [info] [client 172.X.X.X] read script header timed out
[Thu Jul 15 10:33:32 1999] [info] [client 172.X.X.X] read script header timed out
[Thu Jul 15 10:33:33 1999] [info] [client 172.X.X.X] read script header timed out
[Thu Jul 15 10:35:54 1999] [info] [client 172.X.X.X1] read script header timed out
[Thu Jul 15 10:35:56 1999] [error] forcing termination of child #0 (handle 148)
[Thu Jul 15 10:35:56 1999] [info] removed PID file c:/programme/apache 
group/apache/logs/httpd.pid (pid=88)


mod_jserv.log (for real times add 2 hours)
...
[15/07/1999 07:26:20:586] (INFO) Apache Module was cleaned-up
[15/07/1999 07:32:27:584] (INFO) Apache Module was cleaned-up
[15/07/1999 07:32:27:724] (INFO) Apache Module was cleaned-up
[15/07/1999 07:32:27:984] (INFO) Apache Module was cleaned-up
[15/07/1999 07:40:00:685] (INFO) Apache Module was cleaned-up
[15/07/1999 07:40:00:846] (INFO) Apache Module was cleaned-up
[15/07/1999 07:40:01:336] (INFO) Apache Module was cleaned-up
[15/07/1999 08:33:31:492] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
[15/07/1999 08:33:31:512] (EMERGENCY) ajp11: connection fail
[15/07/1999 08:33:31:512] (ERROR) an error returned handling request via protocol 
"ajpv11"
[15/07/1999 08:33:34:497] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
[15/07/1999 08:33:34:497] (EMERGENCY) ajp11: connection fail
[15/07/1999 08:33:34:497] (ERROR) an error returned handling request via protocol 
"ajpv11"
[15/07/1999 08:33:35:398] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
[15/07/1999 08:33:35:398] (EMERGENCY) ajp11: connection fail
[15/07/1999 08:33:35:398] (ERROR) an error returned handling request via protocol 
"ajpv11"
[15/07/1999 08:34:09:647] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
[15/07/1999 08:34:09:647] (EMERGENCY) ajp11: connection fail
[15/07/1999 08:34:09:647] (ERROR) an error returned handling request via protocol 
"ajpv11"
[15/07/1999 08:35:56:331] (INFO) Apache Module was cleaned-up


JServ.log
....
[15/07/1999 09:40:02:959 GMT+02:00] ApacheJServ/1.0 is starting...
[15/07/1999 09:40:02:959 GMT+02:00] WARNING: connection authentication is disabled
[15/07/1999 09:40:03:149 GMT+02:00] Connection allowed from localhost/127.0.0.1
[15/07/1999 09:40:03:149 GMT+02:00] Listening on port 8007 accepting 50 maximum 
connections
[15/07/1999 09:40:03:169 GMT+02:00] Creating Servlet Zones
[15/07/1999 09:40:50:337 GMT+02:00] ASServer.EasyQuestionServlet: init
[15/07/1999 09:49:11:287 GMT+02:00] ASServer.UpdateData: init
[15/07/1999 10:28:37:029 GMT+02:00] ApacheJServ/1.0 is starting...
[15/07/1999 10:28:37:029 GMT+02:00] WARNING: connection authentication is disabled
[15/07/1999 10:28:37:720 GMT+02:00] Connection allowed from localhost/127.0.0.1
[15/07/1999 10:28:37:720 GMT+02:00] Listening on port 8007 accepting 50 maximum 
connections


Thanks
Thoralf Czichy


PS: I used Apache JMeter to simulate five users requesting images generated of 
userdata-dependend database queries. Each JMeter-user sends a request each six 
seconds. Servlet execution time is about 1 to 2 seconds per image. Which means the 
server works with about 80 % performance.

PPS: if it is of interest: 
commands for starting JServ in manual mode: 

set jsdk=c:\Jsdk2.0\lib\jsdk.jar
set jserv=c:\Programme\Apache Group\Apache JServ\ApacheJServ.jar
set other=c:\jdk1.2.1\lib\dt.jar;c:\jdbc\classes111_OracleThin.zip
set other2=c:\jdk1.2.1\lib\tools.jar;c:\html\servlets
set props=c:\Programme\Apache Group\Apache JServ\conf\jserv.properties
set log=c:\Programme\Apache Group\Apache JServ\logs\jserv.log
set classes=%Classpath%;%jsdk%;%jserv%;%other%;%other2%
c:\jdk1.2.1\bin\java.exe -classpath "%classes%" org.apache.jserv.JServ "%props%"


jserv.properties for auto-mode:
wrapper.bin=c:\jdk1.2.1\bin\java.exe
wrapper.classpath=C:\Programme\Apache Group\Apache JServ\ApacheJServ.jar
wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
wrapper.classpath=C:\jdk1.2\jre\lib\rt.jar
wrapper.classpath=C:\jdbc\classes111_OracleThin.zip
wrapper.classpath=C:\html\servlets
wrapper.classpath=C:\html\root\classes
wrapper.classpath=C:\html\root\jar
port=8007
zones=root
root.properties=C:\Programme\Apache Group\Apache JServ\conf\zone.properties
security.selfservlet=true
security.maxConnections=50
security.authentication=false
log=true
log.file=C:\Programme\Apache Group\Apache JServ\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.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



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to