> #1. What version of Apache JServ you are using 1_0b2 > #2. What version of Apache you are using 1_3_4 > #3. What OS and OS version you are using Windows NT 4.0 SP4 > #4. An exact description of what is going wrong (pretend that we are not > # > there and we cannot see what you are doing). Include any useful log file > output as well. Start up log shows the JVM is crashing. However I can still access the /jserv page which leads me to believe JServ is running, but when I click on the ajpv11://localhost:8007 link I get "Internal Server Error". Here is the relevant portion of my logfile : [24/02/1999 20:32:22:573] (INFO) wrapper: Shutdown done (PID=301) [24/02/1999 20:32:22:603] (INFO) Apache Module was cleaned-up [24/02/1999 20:32:22:633] (INFO) wrapper: Java Virtual Machine started (PID=160) [24/02/1999 20:32:22:633] (INFO) wrapper: controller started (PID=301) [24/02/1999 20:32:23:835] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:23:845] (INFO) wrapper: Java Virtual Machine started (PID=246) [24/02/1999 20:32:24:416] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:24:416] (INFO) wrapper: Java Virtual Machine started (PID=304) [24/02/1999 20:32:25:017] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:25:017] (INFO) wrapper: Java Virtual Machine started (PID=166) [24/02/1999 20:32:25:588] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:25:588] (INFO) wrapper: Java Virtual Machine started (PID=175) [24/02/1999 20:32:26:198] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:26:198] (INFO) wrapper: Java Virtual Machine started (PID=66) [24/02/1999 20:32:26:759] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:26:759] (INFO) wrapper: Java Virtual Machine started (PID=258) [24/02/1999 20:32:27:380] (INFO) wrapper: Java Virtual Machine crashed [24/02/1999 20:32:27:380] (INFO) wrapper: VM died too many times w/in 5 second intervals (6); no more tries [24/02/1999 20:32:27:380] (INFO) wrapper: too many restart attempts w/in short timeframes; no more tries. There may be an error in your JServ configuration. [24/02/1999 20:32:32:668] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007 [24/02/1999 20:32:32:668] (EMERGENCY) ajp11: connection fail [24/02/1999 20:32:32:668] (ERROR) an error returned handling request via protocol "ajpv11" [24/02/1999 20:32:32:668] (ERROR) an error returned handling request via protocol "status" > #5. Your Apache JServ configuration in Apache ########################################################################### ## # Apache JServ Configuration File # # ########################################################################### ## # Note: this file should be appended to httpd.conf # Tell Apache on win32 to load the Apache JServ communication module #LoadModule jserv_module modules/ApacheModuleJServ.dll <IfModule mod_jserv.c> # Whether Apache must start Apache JServ or not (On=Manual Off=Autostart) # Syntax: ApJServManual [on/off] Default: "Off" ApJServManual off # Properties filename for Apache JServ in Automatic Mode. # In manual mode this directive is ignored # Syntax: ApJServProperties [filename] # Default: "./conf/jserv.properties" ApJServProperties "C:\Program Files\Apache Group\Apache JServ\conf\jserv.properties" # Log file for this module operation relative to Apache root directory. # Syntax: ApJServLogFile [filename] Default: "./logs/mod_jserv.log" Note: # when set to "DISABLED", the log will be redirected to Apache error log ApJServLogFile "C:\Program Files\Apache Group\Apache JServ\logs\mod_jserv.log" # Protocol used by this host to connect to Apache JServ # (see documentation for more details on available protocols) # Syntax: ApJServDefaultProtocol [name] # Default: "ajpv11" ApJServDefaultProtocol ajpv11 # Default host on which Apache JServ is running # Syntax: ApJServDefaultHost [hostname] # Default: "localhost" #ApJServDefaultHost java.apache.org # Default port that Apache JServ is listening to # Syntax: ApJServDefaultPort [number] # Default: protocol-dependant (for ajpv11 protocol this is "8007") ApJServDefaultPort 8007 # Passes parameter and value to specified protocol. # Syntax: ApJServProtocolParameter [name] [parameter] [value] # Default: NONE # Note: Currently no protocols handle this. Introduced for future # protocols. # Apache JServ secret key file relative to Apache root directory. # Syntax: ApJServSecretKey [filename] # Default: "./conf/jserv.secret.key" # Warning: if authentication is DISABLED, everyone on this machine (not # just this module) may connect to your servlet engine and execute servlet # bypassing web server restrictions. See the documentation for more # information ApJServSecretKey DISABLED # Mount point for Servlet zones # (see documentation for more information on servlet zones) # Syntax: ApJServMount [name] [jserv-url] # Default: NONE # Note: [name] is the name of the Apache URI path to mount jserv-url on # [jserv-url] is something like "protocol://host:port/zone" # If protocol, host or port are not specified, the values from # "ApJServDefaultProtocol", "ApJServDefaultHost" or "ApJServDefaultPort" # will be used. If zone is not specified, the zone name will be the first # subdirectory of the called servlet. # Example: "ApJServMount /servlets /myServlets" # if user requests "http://host/servlets/TestServlet" # the servlet "TestServlet" in zone "myServlets" on default host # thru default protocol on defaul port will be requested # Example: "ApJServMount /servlets ajpv11://localhost:8007" # if user requests "http://host/servlets/myServlets/TestServlet" # the servlet "TestServlet" in zone "myServlets" will be requested # Example: "ApJServMount /servlets # ajpv11://jserv.mydomain.com:15643/myServlets" # if user requests "http://host/servlets/TestServlet" the servlet # "TestServlet" in zone "myServlets" on host "jserv.mydomain.com" using # "ajpv11" protocol on port "15643" will be executed ApJServMount /servlets /root # Whether <VirtualHost> inherits base host mount points or not # Syntax: ApJServMountCopy [on/off] # Default: "On" # Note: This directive is meaninful only when virtual hosts are being used ApJServMountCopy on # Executes a servlet passing filename with proper extension in # PATH_TRANSLATED property of servlet request. Syntax: ApJServAction # [extension] [servlet-uri] Defaults: NONE Notes: This is used for # external tools such as JSP (Java Servlet Pages), # GSP (GNU Server Pages) or Java server side include. #ApJServAction .jsp /servlets/nl.nmg.jsp.JSPServlet #ApJServAction .gsp /servlets/com.bitmechanics.gsp.GspServlet #ApJServAction .jhtml /servlets/org.apache.ssi.SSIServlet # Enable the Apache JServ status handler with the URL of # "http://servername/jserv/" (note the trailing slash!) # Change the "deny" directive to restrict access to this status page. <Location /jserv/> SetHandler jserv-status order deny,allow deny from all allow from all </Location> ############################## W A R N I N G ############################## ################################## # Remember to disable or otherwise protect the execution of the Apache # JServ # on a production environment since this may give untrusted users # to gather # restricted information on your servlets and their # initialization arguments # ########################################################################### ## </IfModule> Michael Mattox | Advanced Web Consulting [EMAIL PROTECTED] | Affordable, Professional Consulting http://www.advweb.com/mattox | http://www.advweb.com ---------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://www.working-dogs.com/> Problems?: [EMAIL PROTECTED]
