You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andy Lewis <an...@veritas.com> on 2000/08/01 20:10:27 UTC

Re: EAPI & mod_jserv

I've gotten a "warning" about that with Apache 1.3.12, but I've been running
anyway and have not encountered any problems.  I've got a fair bit of traffic
hitting it as well.


Keelan Lightfoot wrote:

> I am trying to use Tomcat with Apache, but my version of apache requires the
> EAPI version of mod_jserv. I tried to compile the module with apxs & the -EAPI
> argument, but that didn't help. I have tried a couple sources for the module
> source code (from jserv, from tomcat), and neither works.
>
> Is this something I am doing wrong, or does such a creature not exist, or does
> it exist, and I just can't find it? :)
>
> thanks,
> Keelan Lightfoot


Re: EAPI & mod_jserv

Posted by Keelan Lightfoot <ke...@idevco.net>.
On Tue, 01 Aug 2000, you wrote:
> I've gotten a "warning" about that with Apache 1.3.12, but I've been running
> anyway and have not encountered any problems.  I've got a fair bit of traffic
> hitting it as well.

Using the copy of mod_jserv.c included with tomcat, I get:


Syntax error on line 224 of /usr/opt/apache/conf/httpd.conf:
Cannot load /usr/opt/apache/libexec/mod_jserv.so into server: /usr/opt/apache/li
bexec/mod_jserv.so: undefined symbol: jserv_error_exit


I managed to fix this (gave the #include "jserv.h" an absolute path), then
it changed to


[warn] Loaded DSO modules/mod_jserv.so uses plain Apache 1.3 API, this module
might crash under EAPI! (please recompile it with -DEAPI)

Syntax error on line 123 of /etc/httpd/conf/httpd.conf:
Cannot add module via name 'mod_jserv.so': not in list of loaded modules


I am compiling the module under linux with:
apxs -i -a -c -DEAPI mod_jserv.c

I am running Apache 1.3.12.

So, my installation of Apache has EAPI support enabled, but I can't figure out
how to enable EAPI support in mod_jserv.

Thanks again,
Keelan