----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi!
Try using 'ajpv12' instead of 'ajp12' for communication between
Apache and JServ.
Regards,
--Svante
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi!
> I have read the FAQs but can't find what I need to solve my problem.
>
> OS: RH6 2.2.12 Kernel
> JDK: 1.2 from Blackdown
> JSDK: 2.0
> Apache: 1.3.9 with compiled in mod_jserv
>
> I expect that I have done some things right since I can run the "Hello"
> and "IsItWorking" servlets ONCE and sometimes a few more times after
> starting
> Apache. But then - it all dies! I invoke them using the URL and that
> works
> like I said only a few times. After that there is an internal server
> error and following output in the
> mod_jserv.log-file:
>
> [18/10/1999 12:20:12:749] (INFO) wrapper: Java VM restarting (PID=1021)
> [18/10/1999 12:20:12:749] (INFO) wrapper: Java VM spawned (PID=1273,
> PPID=1021)
> [18/10/1999 12:20:25:769] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [18/10/1999 12:20:25:769] (EMERGENCY) ajp12: function connection fail
> [18/10/1999 12:20:25:769] (INFO) wrapper: Java VM is not responding
> (PID=1021)
> [18/10/1999 12:21:14:939] (ERROR) wrapper: printing debugging
> information (command line, env)
> [18/10/1999 12:21:14:939] (ERROR) wrapper: argument[ 0]
> /usr/local/jdk1.2/bin/java
> [18/10/1999 12:21:14:939] (ERROR) wrapper: argument[ 1]
> org.apache.jserv.JServ
> [18/10/1999 12:21:14:939] (ERROR) wrapper: argument[ 2]
> /usr/local/jserv/etc/jserv.properties
> [18/10/1999 12:21:14:939] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [18/10/1999 12:21:14:939] (ERROR) wrapper: environment[ 1]
>
>CLASSPATH=/usr/local/jserv/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar:/usr/local/jdk1.2/jre/lib/rt.jar
>
> [18/10/1999 12:21:14:939] (INFO) wrapper: Java VM died 10 times in a row
>
> with less than 120 seconds between successive failures, setting delay to
>
> 300 seconds before restarting. Check the Apache error log and the Apache
>
> JServ log files for more details; for maximum log information be sure to
>
> enable the Apache JServ log file in the main jserv properties file by:
> setting the 'log' property to true, the 'log.file' property to a file
> writable by the uid as whom Apache JServ is run, and by enabling log
> channels using the 'log.channel.*' properties)
> [18/10/1999 12:25:15:739] (INFO) wrapper: Java VM restarting (PID=1021)
> [18/10/1999 12:25:15:739] (INFO) wrapper: Java VM spawned (PID=1304,
> PPID=1021)
> [18/10/1999 12:25:28:759] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [18/10/1999 12:25:28:759] (EMERGENCY) ajp12: function connection fail
> [18/10/1999 12:25:28:759] (INFO) wrapper: Java VM is not responding
> (PID=1021)
> [18/10/1999 12:29:45:209] (EMERGENCY) ajp12: can not connect to host
> 212.247.51.36:8007
> [18/10/1999 12:29:45:210] (EMERGENCY) ajp12: connection fail
> [18/10/1999 12:29:45:210] (ERROR) an error returned handling request via
>
> protocol "ajpv12"
> [18/10/1999 12:29:58:366] (EMERGENCY) ajp12: can not connect to host
> 212.247.51.36:8007
> [18/10/1999 12:29:58:366] (EMERGENCY) ajp12: connection fail
> [18/10/1999 12:30:09:508] (ERROR) an error returned handling request via
>
> protocol "ajpv12"
> [18/10/1999 12:30:18:729] (INFO) wrapper: Java VM restarting (PID=1021)
> [18/10/1999 12:30:18:729] (INFO) wrapper: Java VM spawned (PID=1339,
> PPID=1021)
> [18/10/1999 12:30:31:749] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [18/10/1999 12:30:31:749] (EMERGENCY) ajp12: function connection fail
> [18/10/1999 12:30:31:749] (INFO) wrapper: Java VM is not responding
> (PID=1021)
> [18/10/1999 12:31:42:412] (INFO) Wrapper: Shutting down JServ (PID=1021)
>
> (sig 15)
> [18/10/1999 12:31:42:429] (INFO) jserv_watchdog:(1020)
> watchdog_cleanup()
> [18/10/1999 12:31:42:429] (INFO) Apache Module was cleaned-up
>
>
> Most greatful for any ideas.
> Everything seems to be correct set up but .......it all dies.. Apache
> is started manually after reboot.
> The log contains references to localhost but I am pretty sure that I use
>
> the actual IP in all config files(httpd.conf too)..
>
> Thanks in advance!
> Regards
> OLA SAMUELSON
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]