RE: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Mladen Turk
From: Nikola Milutinovic Sent: 9. sijeanj 2004 7:31 To: Tomcat Users List Subject: Re: mod_jk2 JNI question for the brave :) Mladen Turk wrote: From: Yiannis Mavroukakis Sent: 8. sijeanj 2004 16:34 Would it not be possible to bind JNI under a single worker and then isolate

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Mladen Turk wrote: That was the thing that I considered, but again if you have multiple workers, what would be the benefit of having that much Tomcat instances running. What is the real benefit of running TC from within Apache via JNI? It should be a faster, cause there is no socket channel

RE: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Mladen Turk
From: Nikola Milutinovic Sent: 9. sijeanj 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

RE: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Yiannis Mavroukakis
. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 17:54 To: 'Tomcat Users List' Subject: RE: mod_jk2 JNI question for the brave :) From: Yiannis Mavroukakis I thought I had a rough understanding but it turns out that I dont %-) Do you mean that JNI

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Mladen Turk wrote: 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

RE: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Mladen Turk
-Original Message- From: Yiannis Mavroukakis Yep I see what you mean know (fog of stupidity lifts). Ok so to iterate, the problem is that since linux has multiple workers, these workers will want to attach themselves to their own tomcat instance. How about this then..instead

Re: mod_jk2 JNI question for the brave :)

2004-01-09 Thread Nikola Milutinovic
Yiannis Mavroukakis wrote: Yep I see what you mean know (fog of stupidity lifts). Ok so to iterate, the problem is that since linux has multiple workers, these workers will want to attach themselves to their own tomcat instance. How about this then..instead of launching several tomcat instances

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mladen Turk
From: Yiannis Mavroukakis Subject: mod_jk2 JNI question for the brave :) Hi everyone, Bringing the woes of jk2+JNI again here with the dreaded Can't find child xx in scoreboard, since I haven't found a satisfactory answer by anyone. Using TC5 with Apache 2.0.x under Linux, I can

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Yiannis Mavroukakis
to who can access them)? I'll be more than happy to volunteer for the documentation, just point at the right direction :) Thank you, Yiannis -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 14:48 To: 'Tomcat Users List' Subject: RE: mod_jk2 JNI

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mladen Turk
From: Yiannis Mavroukakis Sent: 8. sijeanj 2004 16:34 Would it not be possible to bind JNI under a single worker and then isolate that worker from the rest of the pool (possibly provide the ability for workers to carry some sort of identification bit with regards to who can access

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mark Eggers
I've tried compiling the jk2 code in jakarta-tomcat-connectors from CVS and get the following error for this file: common/jk_channel_socket.c common/jk_channel_socket.c:74:2: #error jk_channel_socket is deprecated Any thoughts? I've gotten both IP and UNIX sockets to work on Fedora Core 1

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mladen Turk
From: Mark Eggers Sent: 8. sijeanj 2004 18:09 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: mod_jk2 JNI question for the brave :) I've tried compiling the jk2 code in jakarta-tomcat-connectors from CVS and get the following error for this file: common/jk_channel_socket.c

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mark Eggers
OK . . . when I take a break from job searching I'll look at that and the missing -laprutil-0 in server/apache2/Makefile It's probably missing in the appropriate mod_jk Makefile as well. /mde/ just my two cents . . . . Yes. Few months ago we decided to use the APR as mandatory for JK2. As

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Yiannis Mavroukakis
That was the thing that I considered, but again if you have multiple workers, what would be the benefit of having that much Tomcat instances running. So either you have a single worker with the single TC instance launched or none. Having single worker running TC, keeping the rest 30 without

RE: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Mladen Turk
From: Yiannis Mavroukakis I thought I had a rough understanding but it turns out that I dont %-) Do you mean that JNI will work only under one worker containing a single child process? Are you using the Tomcat as in or out of the process? In process tomcat (invoked from webserver) can

Re: mod_jk2 JNI question for the brave :)

2004-01-08 Thread Nikola Milutinovic
Mladen Turk wrote: From: Yiannis Mavroukakis Sent: 8. sijeanj 2004 16:34 Would it not be possible to bind JNI under a single worker and then isolate that worker from the rest of the pool (possibly provide the ability for workers to carry some sort of identification bit with regards to who can