----- Mensaje original -----
De: "Jorge Alonso de Armiņo Escudero" <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviado: jueves 6 de marzo de 2003 11:04
Asunto: Fw: Is JK2 via ajp13 MT-safe


>
> ----- Mensaje original -----
> De: "Jorge Alonso de Armiņo Escudero" <[EMAIL PROTECTED]>
> Para: <[EMAIL PROTECTED]>
> Enviado: jueves 6 de marzo de 2003 9:48
> Asunto: Re: Is JK2 via ajp13 MT-safe
>
>
> > Thanks Henri for your answer.
> >
> > The tests that we are doing are under Debian Woody Linux, kernel 2.4.20
> >
> > Any way, if you tell us that the implementation of JK2 via ajp13 is
> MT-Safe,
> > the problem will be in our code.
> >
> > We are doing the initialization per thread not per process. I mean we
> > execute the initialization code in every thread.
> > Is that correct ?. ( we have tested both cases and we do not see any
> > difference )
> >
> > The initialization code is:
> >     apr_initialize();
> >     apr_pool_create();
> >     jk2_pool_apr_create();
> >     env = jk2_env_getEnv();
> > ....
> >
> > Thanks in advance for your help, and our best regards.
> > Jorge
> >
>
Finally, it works OK :·)
( The problem was, obviously, in our code )

Anyway, we would like to know which is the best way to initialize( perThread
or perProcess ).

Thanks.
Jorge


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to