www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Santoro <pe...@pscomp.com>
Subject Re: mod_jserv/5117: Servlet's destroy method does not appear to be called on server restart or stop
Date Sun, 10 Oct 1999 16:00:02 GMT
The following reply was made to PR mod_jserv/5117; it has been noted by GNATS.

From: Peter Santoro <peter@pscomp.com>
To: apbugs@hyperreal.org, jserv-bugdb@apache.org, apbugs@apache.org
Cc:  Subject: Re: mod_jserv/5117: Servlet's destroy method does not appear to be 
 called on server restart or stop
Date: Sun, 10 Oct 1999 11:46:00 -0400

 With full jserv logging turned on, the last messages printed from
 mod_jserv are as follows during a server stop or restart:
 
 ... jserv_watchdog:(...) watchdog_cleanup()
 ... Apache Module was cleaned-up
 
 I'm not an expert in mod_jserv and its source code, but it appears that
 the problem is related to mod_jserv's load balancing logic and/or an
 improper configuration on my part.  Adding additional log statements to
 jserv_watchdog.c revealed that cfg->shmfile was null inside
 watchdog_cleanup() causing it to return without doing anything --
 further suggesting that ApJServShmFile was not set in the config file
 (which it was not).  Although, LOAD_BALANCE is #defined in jserv.h by
 default, no load balancing statements appear in my jserv config files. 
 (BTW, when I attempted to comment out the #define LOAD_BALANCE statement
 in jserv.h and rebuild, I got compile errors.  I believe
 jserv_cfg_shmfile() in mod_jserv.c needs to be wrapped using #ifdef
 LOAD_BALANCE ... #endif preprocessor statements.)

Mime
View raw message