Please someone help!!!
I am trying to add Apache Jserv as a dynamic
shared object to the Apache Web Server 1.3.9.
I have installed the binary Apache Web Server and
checked that it has DSO support enabled by
looking for mod_so.c when I ran httpd -l from
within the Apache bin directory.
Apache is running fine (I get a congratulations
page when I go to http://hostname with a web
browser).
I ran the configure script for Apache JServ with
the following options
*************************************
--enable-shared=max
--prefix=/cimage/jserv
--with-JSDK=/cimage/JSDK2.0/jsdk.jar
--with-apxs=/usr/local/apache/bin/apxs
**************************************
I then ran make ; make install. This created the
docs directory in /cimage/jserv and
ApacheJServ.jar and mod_jserv.so
in /cimage/apache/libexec
I then restarted apachectl which complained about
the line which loads mod_jserv.so
******************************************
apachectl restart: httpd not running, trying to
start
Syntax error on line 238
of /cimage/apache/conf/httpd.conf:
Cannot load /cimage/apache/libexec/mod_jserv.so
into server: ld.so.1: /cimage/ap
ache/bin/httpd:
fatal: /cimage/apache/libexec/mod_jserv.so:
unknown file type
apachectl restart: httpd could not be started
*******************************************
However when running file against mod_jserv.so it
says 'current ar archive, not a dynamic
executable or shared object'
What have I done wrong?
Thanks in advance
Fran
Sent via Deja.com http://www.deja.com/
Before you buy.