www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Yemtsov <Alex...@rambler.ru>
Subject mod_jserv/8351: Unable to view test servlets
Date Mon, 17 Sep 2001 19:33:30 GMT

>Number:         8351
>Category:       mod_jserv
>Synopsis:       Unable to view test servlets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep 17 12:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex_bc@rambler.ru
>Release:        1.3.12
>Organization:
apache
>Environment:
Windows NT 4.0/SP6
JDK 1.3
Jserv 1.2.2
>Description:
I've just installed Jserv for Apache, configurated, and when I tried to
test it I've recived 500Eror(The server encountered an internal error or misconfiguration
and was unable to complete your request).
when I try to access internal Jserv status page, i recive normal reply.

List of my jserv.conf:
<IfModule mod_jserv.c>
ApJServManual off
ApJServProperties "h:\Jserv\conf\jserv.properties"
ApJServLogFile "h:\Jserv\logs\mod_jserv.log"
ApJServLogLevel debug
ApJServDefaultProtocol ajpv12
######################################
ApJServDefaultHost dolly 
###################################### Name of My host#######

ApJServDefaultPort 8007

ApJServSecretKey DISABLED

ApJServMount /servlet /Flash
ApJServMountCopy off
<Location /jserv/>
  SetHandler jserv-status
  
  order allow,deny
  allow from all
  #allow from 127.0.0.1
</Location>

</IfModule>

List of my jserv.properties:
wrapper.bin=h:\jdk1.3\jre\bin\java.exe
wrapper.classpath=h:\Jserv\ApacheJServ.jar
wrapper.classpath=h:\jdk1.2.2\jsdk.jar
bindaddress=dolly
port=8007
zones=Flash
Flash.properties=h:\www\servlet\zone.properties
pool=false
pool.capacity=10
pool.controller=org.apache.java.recycle.DefaultController
security.selfservlet=false
security.maxConnections=50
security.allowedAddresses=127.0.0.1, dolly
security.authentication=false
log=true
log.file=h:\Jserv\logs\jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.queue.maxage = 500000
log.queue.maxsize = 100000
log.channel=true
log.channel.servletException=true
log.channel.jservException=true
log.channel.warning=true
log.channel.servletLog=true
log.channel.critical=true

list of error log file:
[17/09/2001 18:09:04:816] (ERROR) wrapper: file h:\Jserv\conf\jserv.properties (line 75) protocol
not found
[17/09/2001 18:09:04:816] (ERROR) an error returned initializing protocol "wrapper"
[17/09/2001 18:09:04:816] (ERROR) in init all protocols "wrapper" returned an error
[17/09/2001 18:09:04:826] (EMERGENCY) Error initializing protocols
[17/09/2001 18:09:51:703] (ERROR) wrapper: file h:\Jserv\conf\jserv.properties (line 75) protocol
not found
[17/09/2001 18:09:51:703] (ERROR) an error returned initializing protocol "wrapper"
[17/09/2001 18:09:51:703] (ERROR) in init all protocols "wrapper" returned an error
[17/09/2001 18:09:51:703] (EMERGENCY) Error initializing protocols
[17/09/2001 18:10:15:227] (INFO) wrapper: Shutdown done (PID=1146)
[17/09/2001 18:10:15:227] (INFO) Apache Module was cleaned-up
[17/09/2001 18:10:15:267] (INFO) wrapper: Java Virtual Machine started (PID=781)
[17/09/2001 18:10:15:267] (INFO) wrapper: controller started (PID=1146)
[17/09/2001 18:10:15:628] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:15:628] (INFO) wrapper: Java Virtual Machine started (PID=1433)
[17/09/2001 18:10:15:888] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:15:888] (INFO) wrapper: Java Virtual Machine started (PID=1491)
[17/09/2001 18:10:16:128] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:16:128] (INFO) wrapper: Java Virtual Machine started (PID=646)
[17/09/2001 18:10:16:369] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:16:379] (INFO) wrapper: Java Virtual Machine started (PID=1179)
[17/09/2001 18:10:17:210] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:17:210] (INFO) wrapper: Java Virtual Machine started (PID=1224)
[17/09/2001 18:10:17:440] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:17:450] (INFO) wrapper: Java Virtual Machine started (PID=743)
[17/09/2001 18:10:17:691] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:10:17:691] (INFO) wrapper: VM died too many times w/in 5 second intervals (6);
no more tries
[17/09/2001 18:10:17:691] (INFO) wrapper: too many restart attempts w/in a short timeframe;
no more retries.
There may be an error in your Apache JServ configuration.
To debug, please enable all log options in jserv.properties:
log=true
log.file=/usr/local/apache/var/log/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd HHmmss:SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
restart apache, access your servlet, and examine your:
- Apache error log as specified in the ErrorLog directive;
- your jserv log file as specified in the ApJServLogFile directive;
- and the jserv log file as specified in jserv.properties for possible clues.

[17/09/2001 18:10:44:179] (EMERGENCY) ajp12: can not connect to host 192.168.237.116:8007
[17/09/2001 18:10:44:179] (EMERGENCY) ajp12: connection fail
[17/09/2001 18:10:44:179] (ERROR) an error returned handling request via protocol "ajpv12"
[17/09/2001 18:17:13:539] (INFO) wrapper: Shutdown done (PID=2452)
[17/09/2001 18:17:13:539] (INFO) Apache Module was cleaned-up
[17/09/2001 18:17:13:619] (INFO) wrapper: Java Virtual Machine started (PID=370)
[17/09/2001 18:17:13:619] (INFO) wrapper: controller started (PID=2452)
[17/09/2001 18:17:16:964] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:16:974] (INFO) wrapper: Java Virtual Machine started (PID=411)
[17/09/2001 18:17:17:645] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:17:655] (INFO) wrapper: Java Virtual Machine started (PID=1443)
[17/09/2001 18:17:18:165] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:18:185] (INFO) wrapper: Java Virtual Machine started (PID=2437)
[17/09/2001 18:17:18:636] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:18:646] (INFO) wrapper: Java Virtual Machine started (PID=165)
[17/09/2001 18:17:19:097] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:19:107] (INFO) wrapper: Java Virtual Machine started (PID=1119)
[17/09/2001 18:17:19:547] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:19:557] (INFO) wrapper: Java Virtual Machine started (PID=1478)
[17/09/2001 18:17:20:018] (INFO) wrapper: Java Virtual Machine crashed
[17/09/2001 18:17:20:018] (INFO) wrapper: VM died too many times w/in 5 second intervals (6);
no more tries
[17/09/2001 18:17:20:018] (INFO) wrapper: too many restart attempts w/in a short timeframe;
no more retries.
There may be an error in your Apache JServ configuration.
To debug, please enable all log options in jserv.properties:
log=true
log.file=/usr/local/apache/var/log/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd HHmmss:SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
restart apache, access your servlet, and examine your:
- Apache error log as specified in the ErrorLog directive;
- your jserv log file as specified in the ApJServLogFile directive;
- and the jserv log file as specified in jserv.properties for possible clues.

[17/09/2001 18:17:21:120] (EMERGENCY) ajp12: can not connect to host 192.168.237.116:8007
[17/09/2001 18:17:21:120] (EMERGENCY) ajp12: connection fail
[17/09/2001 18:17:21:120] (ERROR) an error returned handling request via protocol "ajpv12"
[17/09/2001 18:19:31:016] (EMERGENCY) ajp12: can not connect to host 192.168.237.116:8007
[17/09/2001 18:19:31:016] (EMERGENCY) ajp12: connection fail
[17/09/2001 18:19:31:016] (ERROR) an error returned handling request via protocol "ajpv12"
>How-To-Repeat:
No, due to security reasons of my lan, sorry boys :)
>Fix:
Well, my be miscofiguration?
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message