----------------------------------------------------------------
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 use Apache 1.3.12 with JServ 1.1.2 on a Sparc Clone (SunOS 5.7)
with the test-configuration (at the moment) as shipped with JServ.
On server startup I find almost every time the following lines
in mod_jserv.log:
[28/09/2000 22:06:04:147] (INFO) Apache-JServ 1rst initialization: JVM
will be started later 1 14379 13880
[28/09/2000 22:06:05:011] (INFO) Apache Module was cleaned-up
[28/09/2000 22:06:05:024] (INFO) Apache-JServ 1rst initialization: JVM
will be started later 1 14380 14379
As you can see, the JVM is never started, because the module
thinks on 2nd initialization it's still the 1st.
On line 186 of src/c/jserv_wrapper_unix.c we find
if (ap_standalone && getppid() == 1) {
which doesn't work, because the 2nd process (here 14380) is
not yet owned by init (PID 1).
As a workaround I inserted in my installation
sleep(1);
before this line which works fine for the moment.
Is there any other way to check whether it's the
second pass of initialization?
MfG
Peter Sturm, cogito GmbH
--
The Nature of Space & Time should be debugged...
there's a Hole in there somewhere.
| || || | | || | || | | | | || || | || | || | | || | | || |
cogito Informationssysteme GmbH Fon: +49 7031 714 930
Otto-Lilienthal-Strasse 36 Web: http://www.cogito.de/
D-71034 Boeblingen E-Mail: mailto:[EMAIL PROTECTED]
**** Ab Anfang 2001: Max-Eyth-Str. 35 * 71088 Holzgerlingen ****
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]