Ive just rebuilt mod_jk with --enable-jni according to http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
and configured the connector and workers.proerties according to http://www.howtoforge.com/apache2_tomcat5_mod_jk_p3 Can I implement this new Multithreaded mod_jk.so with Apache 2.x or should I always use the prefork MPM ? M-- ----- Original Message ----- From: "Bill Barker" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Sunday, October 14, 2007 5:34 PM Subject: Re: Does mod_jk copy memory b/w apache and tomcat (using linux, ajp13 worker)? > > "Moran Ben-David" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Chris, > > > > Thanks for taking the time to answer these. This information is very > > useful. I'll express more thanks with further questions. > > > >> Nobody uses the jni worker anymore. The jni worker was intended to be an > >> embedded Tomcat instance running from the mod_jk module, and is only > >> supported in very old versions of Tomcat (3.3 IIRC). > > > > Is there any particular reason why no one is using it? It seems that > > with large loads of http requests and responses the in-process > > interface is ideal. > > > > My assumption is that the jni worker not being used anymore has > > something to do with apache not having good if any multi-threaded > > handling for modules at the time. However, with the advent of > > apache2's MPM worker tomcat's design (multiple threads for multiple > > requests) should fit like a glove. > > > > Yes, that is mainly why nobody has expressed an interest in porting it to TC > versions higher than 3.3. It only really works on Windows. On *nix systems > you end up with multiple copies of TC running (one for each copy of httpd), > with no way to control session affinity. > > > Does this make sense? Or am I am I drawing up a neat fantasy rather > > than a plausible story? > > > >> That's because the JNI options are not applicable to new versions. > > > > Is there a way to compare how tomcat would run in-process with apache2 > > MPM? Do you know of any benchmarks in this direction? > > > > You could dig up a copy of mod_jk2 and try it. I seem to remember it was > relatively small. > > > m > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]