----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It does have a search feature!

We cannot guess what you are trying to do:
#1. Include version numbers for all software.
#2. Include relevant configuration settings.
#3. Include full descriptions of the problem.

Got Linux? Seeing lots of java processes?
<http://java.apache.org/faq/?file=274>
----------------------------------------------------


System info:
Sun Sarc Solaris 2.5.1
Apache server: 1.3.9

../../bin/httpd -V
Server version: Apache/1.3.9 (Unix)
Server built:   Oct  1 1999 13:26:06
Server's Module Magic Number: 19990320:6
Server compiled with....
 -D EAPI
 -D EAPI_MM
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D SHARED_CORE
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D SHARED_CORE_DIR="/usr/local/apache/libexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

 I decided to move over a static build to a DSO with v 1.3.9, prior to
 this I had build v1.3.4 as a static build.

 The only configuration changes I had to make in httpd.conf were :
----------------
 # Load the DSO modules.
 LoadModule ssl_module       libexec/libssl.so
 LoadModule status_module    libexec/mod_status.so
 LoadModule info_module            libexec/mod_info.so
 LoadModule speling_module   libexec/mod_speling.so
 LoadModule anon_auth_module libexec/mod_auth_anon.so
 LoadModule dbm_auth_module  libexec/mod_auth_dbm.so
 LoadModule digest_module    libexec/mod_digest.so
 LoadModule expires_module   libexec/mod_expires.so
 LoadModule example_module   libexec/mod_example.so
 
 # mod_jserv must be loaded/added ahead of mod_rewrite
 LoadModule jserv_module   libexec/mod_jserv.so
 LoadModule rewrite_module libexec/mod_rewrite.so
 
 <IfDefine SSL>
 AddModule mod_ssl.c
 </IfDefine>
 
 # Force Apache to recognise JServ
 AddModule mod_jserv.c
 AddModule mod_rewrite.c
 .....
-----
 In jserv.conf:

 ApJServDefaultProtocol ajpv12
 ApJServLogLevel info
 .....
------

 The error messages reported in apache_jserv.log are:

....

[05/10/1999 15:38:21:120] (ERROR) wrapper: environment[ 3] 
PATH=/bin:/usr/local/bin:/usr/local/GNU/bin:/bin:/usr/bin:/usr/local/bin
[05/10/1999 15:38:21:120] (INFO) wrapper: Java VM died 10 times in a row with less 
than 120 seconds between successive failures, set
ting 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 t
rue, the 'log.file' property to a file writable  by the uid as whom Apache JServ is 
run, and by enabling log channels  using the 'lo
g.channel.*' properties)
[05/10/1999 15:42:21:183] (INFO) wrapper: Java VM restarting (PID=27723)
[05/10/1999 15:42:21:186] (INFO) wrapper: Java VM spawned (PID=27840, PPID=27723)
[05/10/1999 15:42:44:183] (INFO) wrapper: Java VM not responding (PID=27723) [timeout]
[05/10/1999 15:42:45:183] (EMERGENCY) ajp12: ping: no reply (-1)
[05/10/1999 15:47:24:190] (INFO) wrapper: Java VM restarting (PID=27723)
[05/10/1999 15:47:24:193] (INFO) wrapper: Java VM spawned (PID=27857, PPID=27723)
[05/10/1999 15:47:47:191] (INFO) wrapper: Java VM not responding (PID=27723) [timeout]
[05/10/1999 15:47:48:191] (EMERGENCY) ajp12: ping: no reply (-1)
[05/10/1999 15:52:27:199] (INFO) wrapper: Java VM restarting (PID=27723)
[05/10/1999 15:52:27:203] (INFO) wrapper: Java VM spawned (PID=27870, PPID=27723)
[05/10/1999 15:52:50:200] (INFO) wrapper: Java VM not responding (PID=27723) [timeout]
[05/10/1999 15:52:51:200] (EMERGENCY) ajp12: ping: no reply (-1)
......

 Having log=true and there are no errors in the jserv.log file. All Zones
 are correctly initialized. I have the jserv build tree from Sept 28 1999 (only
 few days old). Someone in FAQ suggested a possible stale ApacheJserv.jar file,
 this definitely isn't the cause in this instance.


  Any clues would be a great help.

  Tarang


--
--------------------------------------------------------------
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]

Reply via email to