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


Hello!

We had difficulties to get Apache/JServ working under AIX4.3. We report the
following solution:

We have applied the bugfix from bugs.apache.org #5848 in the following way:

configure, build and install apache-1.3.14 with dso-support

configure, build and install ApacheJServ-1.1.2 (with apxs)

in the source-directory ApacheJServ-1.1.2/src/c we re-linked
libjserv.so.0.0.0 with a comand like this:

 > gcc -shared -o .libs/libjserv.so.0.0.0 mod_jserv.o jserv_protocols.o
jserv_ajpv11.o jserv_ajpv12.o jserv_balance.o jserv_mmap.o jserv_watchdog.o
jserv_utils.o jserv_status.o jserv_wrapper.o jserv_wrapper_unix.o
jserv_image.o -lc -Wl,-bexpall -Wl,-bnoentry -Wl,-berok
-Wl,-bI:$PATH_TO_INSTALLED_APACHE/libexec/httpd.exp

with $PATH_TO_INSTALLED_APACHE set to that path.

then we did a 
> make install
at that location.

after this, Apache/JServ can be started via apachectrl start. (no
memory-fault anymore)

the last -Wl linker-option has been appended by us (according to bugfix
#5848)

The above gcc-line seems very configure-dependent, so it would be nice to
integrate the added option into the Makefiles.
Unfortunately I have no idea how. :-(

Regards
                Rolf Nellen


> -----Ursprüngliche Nachricht-----
> Von:  Nellen, Rolf [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Montag, 6. November 2000 12:52
> An:   [EMAIL PROTECTED]
> Betreff:      apache jserv-engine memory-faults under aix
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> Hello!
> 
> We have
> AIX 4.3
> apache-1.3.14
> ApacheJServ-1.1.2
> jsdk 2.0
> java 1.1.8
> gcc 2.95.2
> 
> We have built apache and jserv with DSO-support. Starting apache with
> 'apachectl start' results in a "memory fault (coredump)", if the file
> jserv.conf is included in httpd.conf (the jserv-engine can not be
> started.)
> 
> We have successfully used apache/jserv on other platforms (Solaris, Linux)
> so this seems to be an AIX specific problem.
> 
> We have found several postings describing this issue, but no answers yet.
> There is also a bug filed on bugs.apache.org (#5848) but the suggested fix
> is really not clear to us. Maybe somebody can help?
> 
>       Rolf Nellen
> 
> 
> --
> --------------------------------------------------------------
> 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]


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

Reply via email to