tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <>
Subject RE: mod_jk2 JNI question for the brave :)
Date Fri, 09 Jan 2004 09:27:58 GMT

> From: Nikola Milutinovic
> Sent: 9. siječanj 2004 10:18
> To: Tomcat Users List
> Subject: Re: mod_jk2 JNI question for the brave :)
> >>
> >>What is the real benefit of running TC from within Apache via JNI?
> > 
> > It should be a faster, cause there is no socket channel 
> involved, and 
> > all the communication goes through internall buffers, that 
> share the 
> > same process.
> Aha. So, what's the story on "binding TC to one worker"? As 
> you pointed out, Apache has it's own MPM models and very few 
> of them have just one worker.

Look at the thread.

Unfortunately the JNI isn't of much use on Linux, or to be more specific, on
any multi child mpm.
If you manage to maintain the single worker process (like winnt-mpm does),
then you can use the JNI.

The reason for that is quite simple; You cannot have two TC instances
running having the same conf.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message