Adding a module to Apache disables jserv

Adding a module to Apache disables jserv

Post by Annette Strupp-Adam » Thu, 13 May 1999 04:00:00



I configured an Apache 1.3.3 server to automatically start the Apache
JServ servlet engine when the server comes up.
I  am using Apache-JServ-1.0b2.  Everything went fine, and I wrote my
first servlet.

Then I had to configure the Apache server to efficiently process a large
number of users. I, therefore,  reconfigured Apache
to include the mod_auth.dbm module.

Now the servlet engine no longer works.

Is it true that, in order to add a new module to Apache, one has to
reconfigure, for example, as in my case, the JServ servlet
engine from scratch ?  I have modified the examples on the servlet
engine some, so do I have to install a brand-new JServ
servlet engine while reconfiguring the Apache Web Server to include
mod_auth.dbm ?

When I do a :

httpd -l

the jserv module no longer is included.  The mod_auth.dbm is.

Thank you,

Annette

--
Annette Strupp-Adams
Senior Systems Analyst

National Library of Medicine

 
 
 

1. Problems adding Apache JServ module to Apache Web Server as a Dynamic Shared Object

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.

2. Options for printers on network

3. Unable to compile jserv module on Apache 1.3.1

4. Errno and kernel

5. Apache won't recognize Jserv Module

6. Win98 PC confused by computer name!!??

7. Q: Apache module jserv: compile?

8. Problem with DNS

9. apache cmpilation problem with Jserv module

10. Apache Jserv / java servlets under FreeBSD Apache

11. Add a module into existing Apache build?

12. Adding a module to Apache 1.3.12

13. How to add/activate a module to apache?