You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mradul Awasthi <mr...@indoremail.com> on 2001/10/23 13:49:27 UTC

EAPI Vs DEAPI

hi ,
i have mod_jk.so file.
i made with 

        /usr/local/apache/bin/apxs -o mod_jk.so  \
        -I${JAVA_HOME}/include/linux \
        -I../jk -I${JAVA_HOME}/include \
        -c *.c ../jk/*.c
         

when i included in the httpd.conf file
LoadModule mod_jk libexec/mod_jk.so

and restart the apache ,apache fail to restart

also

[warn]Loaded DSO modules/mod_jk.so uses plain apache 1/3 API,this module might crash under EAPI! (Please recompile it with -DEAPI),
how can i recompile with -DEAPI.

thanks in advance.

Mradul

AW: EAPI Vs DEAPI

Posted by Hans Schmid <Ha...@einsurance.de>.
Hi,

I found the following in the archives and it solved my problems:

Best Regards,
Hans

-----Ursprungliche Nachricht-----
Von: Andrea Barbieri [mailto:abarbieri@intelcom.sm]
Gesendet: Montag, 23. Juli 2001 12:42
An: tomcat-dev@jakarta.apache.org
Betreff: Re: mod_jk info...


I tried to put your option but is not recognized by the Apaci configure
script, so i tried to change build-solaris.sh under mod_jk dir, in the apxs
module copilation line:

-CFLAGS="-DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -DEAPI"

and now run whithout problem

tnx

Andrea

Intelcom SpA

> -----Ursprungliche Nachricht-----
> Von: Joe Laffey [mailto:joe@laffeycomputer.com]
> Gesendet: Dienstag, 23. Oktober 2001 14:40
> An: tomcat-user@jakarta.apache.org
> Betreff: Re: EAPI Vs DEAPI
>
>
> On Tue, 23 Oct 2001, Mradul Awasthi wrote:
>
> > and restart the apache ,apache fail to restart
> >
> > also
> >
> > [warn]Loaded DSO modules/mod_jk.so uses plain apache 1/3
> API,this module might crash under EAPI! (Please recompile it with -DEAPI),
> > how can i recompile with -DEAPI.
> >
>
> EAPI is a hack applied to the apache distro source by mod_ssl. When
> applied correctly it patches the apxs module as well. This ensures that
> your modules get compiled with -DEAPI (which means "-D" define (like a C
> #define) EAPI for "extended api").
>
> I would check to be sure the apxs in your path is the one you really want
> to be using. Otherwise, re-build apache from scratch, applying the mod_ssl
> patches (if you use them). Then rebuild (make distclean first!) PHP. Be
> sure to do a make distclean (or make clean if that one is not supported)
> in the apache dir before running configure. In fact, if you are going to
> apply the mod_ssl patches I would starty with a completely fresh copy of
> the apache source (re-expand the tarball, or re-download it).
>
> Good luck,
>
> --
> Joe Laffey              |  Want to convert subnet masks between different
> LAFFEY Computer Imaging |  notations, or figure the number of IPs
> in a block?
> St. Louis, MO           |  Whatmask-It's FREE -
> www.laffeycomputer.com/wm.html
> ------------------------------------------------------------------
> ------------
>
>


Re: EAPI Vs DEAPI

Posted by Joe Laffey <jo...@laffeycomputer.com>.
On Tue, 23 Oct 2001, Mradul Awasthi wrote:

> and restart the apache ,apache fail to restart
>
> also
>
> [warn]Loaded DSO modules/mod_jk.so uses plain apache 1/3 API,this module might crash under EAPI! (Please recompile it with -DEAPI),
> how can i recompile with -DEAPI.
>

EAPI is a hack applied to the apache distro source by mod_ssl. When
applied correctly it patches the apxs module as well. This ensures that
your modules get compiled with -DEAPI (which means "-D" define (like a C
#define) EAPI for "extended api").

I would check to be sure the apxs in your path is the one you really want
to be using. Otherwise, re-build apache from scratch, applying the mod_ssl
patches (if you use them). Then rebuild (make distclean first!) PHP. Be
sure to do a make distclean (or make clean if that one is not supported)
in the apache dir before running configure. In fact, if you are going to
apply the mod_ssl patches I would starty with a completely fresh copy of
the apache source (re-expand the tarball, or re-download it).

Good luck,

--
Joe Laffey              |  Want to convert subnet masks between different
LAFFEY Computer Imaging |  notations, or figure the number of IPs in a block?
St. Louis, MO           |  Whatmask-It's FREE - www.laffeycomputer.com/wm.html
------------------------------------------------------------------------------