Regarding APR: 

I do remember the same discussion happened about one year ago, when 
mod_jk was starting up. And at that time we felt that APR is the 
best solution for us, for the long term - and the same is probably true
today.

The "common" dir in mod_jk was intended as a temporary substitute for APR,
until APR is stable and released. 

The only questions are: When ? Who ? Why ? :-)

Right now the common code works reasonably well, and I don't know any
reason to _require_ a switch. There are other changes that are far more 
benefical for mod_jk - so if you have some time it would be better spent
improving the configuration, or the performance. 

If you have a need for APR in mod_jk - I'm all +1. The effort is not in
replacing the calls to jk_XXX to apr_XXX, but in testing on IIS, NES,
AOLServer, and Apache1.3.9. I don't know any module that is using APR and
works on those 3 platforms.

I would also wait for the 1.0 release of APR before doing the switch - and
maybe do the experiments and tests on other servers first. 

( BTW, there is no reason for APR not to work out-of-box, except that
someone needs to do the testing on those cases ).

A good way to do that would be to use some C magic ( #define :-) to allow 
use of either common or apr. 

BTW, I did some homeworks ( one year ago ) and tried APR - I had 
few small problems, but in the end worked. For example, the version of APR
used must match the one in Apache2.0 ( or symbol undefined may happen -
and that may become more tricky for Apache2.1 ), there are problem on
Apache1.3 ( probably IIS, etc) if more than a module is using APR and
certain link options are used ( again, symbol conflits, etc). With a bit
of work it can be resolved, but  I don't think this is the biggest
priority for mod_jk.

Costin

On Thu, 10 May 2001, GOMEZ Henri wrote:

> The question was the availability on system
> running NES (Windows/Unixes) and IIS (Windows).
> 
> I really like APR, but having it at a pre-requisite 
> to mod_jk for AJP14 will raise new questions.
> 
> How could I build APR usinb Borland C++ 5.5 under
> Window Millenium ? 
> 
> -
> Henri Gomez                 ___[_]____
> EMAIL : [EMAIL PROTECTED]        (. .)                     
> PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
> PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 
> 
> 
> 
> >-----Original Message-----
> >From: Jon Stevens [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, May 09, 2001 3:16 AM
> >To: tomcat-dev
> >Subject: Re: [PROPOSAL AJP14] AJP13 Evolution
> >
> >
> >on 5/8/01 3:00 PM, "GOMEZ Henri" <[EMAIL PROTECTED]> wrote:
> >
> >> But APR is only available in Apache 2.0, what about Apache 1.3,
> >> NES and IIS ?
> >
> >That isn't true. http://Apr.apache.org/
> >
> >APR is just a library.
> >
> >-jon
> >
> >-- 
> >If you come from a Perl or PHP background, JSP is a way to take
> >your pain to new levels. --Anonymous
> ><http://jakarta.apache.org/velocity/ymtd/ymtd.html>
> >
> 

Reply via email to