You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Fox,Tim" <Ti...@t-mobile.net> on 2005/01/18 12:34:08 UTC

mod_jk jni worker - apache + number of processes

Hi All-

Apologies for cross-posting from the user group - but in retrospect I believe this might be a better forum for this question:

I am interesting in using the in processes jni_worker with apache 2.0 on linux.

My question concerns the number of instances of a jvm, and hence tomcat that will be created.

My understanding is that, on linux the default mpm configuration will have multiple child server processes created.

Does that mean there will be multiple jvms and hence multiple tomcat instances instantiated? Or is the jvm somehow "shared" across processes?

Is it a requirement of using the jni worker that the number of child server processes is limited to 1 in the apache config?

Any help greatly appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: mod_jk jni worker - apache + number of processes

Posted by Mladen Turk <mt...@apache.org>.
Fox,Tim wrote:
> Hi All-
> 
> Apologies for cross-posting from the user group - but in retrospect I believe this might be a better forum for this question:
> 
> I am interesting in using the in processes jni_worker with apache 2.0 on linux.
> My question concerns the number of instances of a jvm, and hence tomcat that will be created.
> My understanding is that, on linux the default mpm configuration will have multiple child server processes created.
> Does that mean there will be multiple jvms and hence multiple tomcat instances instantiated? Or is the jvm somehow "shared" across processes?
> 

You listed all the problems JNI connector faces on Linux, and also the
facts why JNI is unusable.

> Is it a requirement of using the jni worker that the number of child server processes is limited to 1 in the apache config?
> 

I would suggest that you forgot all about inprocess JNI on any
unix variant with Apache, or better all together.
Even the stupid .NET has a separate process out of IIS.

Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org