tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Carew <jca...@kana.com>
Subject RE: APXS mod_jserv.so
Date Wed, 01 Nov 2000 16:04:52 GMT
I had the same problem.  I ended up running the ld command manually.  Just
get rid of the first -o, leave the one before mod_jserv.so.  I think you
will then have to run:
APACHE_HOME/bin/apxs -i -a -n mod_jserv.so
After the manual ld command to load the module into Apache.  

Beware though, I was working on Solaris 2.7 using GNU tools and could not
get the module to run.  Apache would run on its own and I could add other
modules(like WebLogic's); but when I tried to add mod_jserv.so starting the
server resulted in a segmentation fault.  I posted my problem here and got
no help.  I hope you don't run into the same issues I did. 

  
-----Original Message-----
From: David Molloy [mailto:molloyda@eeng.dcu.ie]
Sent: Wednesday, November 01, 2000 10:04
To: tomcat-user@jakarta.apache.org
Subject: APXS mod_jserv.so


Hi,

	I am attempting to install Tomcat together with Apache1.3.14 and
I can get them working independently.  My problem lies in obtaining
the Jserv Module mod_jserv.so

I've followed the instructions in the User Guide doing the:
apxs -c *.c -o mod_jserv.so

It goes off and does it's thing and the log is below which looks pretty
good (apart from the warning at the end which seems minor). However it
doesn't result in a mod_jserv.so file that I can put into my libexec
directory in Apache.  It makes all of the object files no problem and
the resulting directory is listed below the log.  Does anyone know what
I'm doing wrong - I'm not very familiar with apxs or .so files so I'm
guessing quite a bit but I'm fairly sure that from the user guide I should
be getting the file as it doesn't really mention anything else.

Any ideas would be greatly appreciated - thanks.
Running Solaris 7, Apache 1.3.14, Tomcat3.1 Release

David Molloy

PS: Also tried searching for a version by download but couldn't find one.

oak# apxs -c *.c -o mod_jserv.so
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c autochange.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_ajpv11.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_ajpv12.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_balance.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_image.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_mmap.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_protocols.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_status.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_utils.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_watchdog.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_wrapper.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_wrapper_unix.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c jserv_wrapper_win.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/local/apache_1.3.14/include  -c mod_jserv.c
ld -G -o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wrapper.o jserv_watchdog.o jserv_utils.o
jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o
jserv_ajpv12.o jserv_ajpv11.o autochange.o -o
mod_jserv.so
ld: warning: option -o appears more than once, first setting taken

CVS                   jserv_balance.c       jserv_watchdog.o
Makefile.am           jserv_balance.o       jserv_wrapper.c
Makefile.libdir       jserv_image.c         jserv_wrapper.h
Makefile.tmpl         jserv_image.o         jserv_wrapper.o
Makefile.win32        jserv_mmap.c          jserv_wrapper_unix.c
autochange.c          jserv_mmap.o          jserv_wrapper_unix.o
autochange.o          jserv_protocols.c     jserv_wrapper_win.c
autochange.so         jserv_protocols.o     jserv_wrapper_win.o
jserv.h               jserv_status.c        libjserv.module
jserv_ajpv11.c        jserv_status.o        mod_jserv.c
jserv_ajpv11.o        jserv_utils.c         mod_jserv.o
jserv_ajpv12.c        jserv_utils.o
jserv_ajpv12.o        jserv_watchdog.c


Mime
View raw message