[PATCH] mod_jk2 compile on WIN32

2002-05-27 Thread Mladen Turk
Hi, all Here are the two patches that enables WIN32 compilation of mod_jk2. Tested on 2.0.37-dev. I think that module should be named mod_jk2(right?), and since use the APR by default. MT. Index: jk_env.c === RCS file:

[PATCH] Apache2 mod_jk2

2002-05-29 Thread Mladen Turk
Hi, Introducing native WIN32 logger breaks the Apache2 mod_jk2. Either implement the logger factory func in mod_jk2 (I'm personally against it), or ifdef it out from jk_registry. Here is the patch... MT. RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/native2/common/jk_registry.c,v

[PATCH] mod_jk2 - fix double module module exposure

2002-06-01 Thread Mladen Turk
Hi, There is an extra call to ap_add_version_component inside mod_jk2. One inside the jk2_init is IMO enough. Index: mod_jk2.c === RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_ jk2.c,v

[PATCH] jk_vm_default.c - java2 1.4 jvm.dll path

2002-06-01 Thread Mladen Turk
Hi, This one enables jni to start with java 1.4 installed. On 1.4 the jvm.dll path is in $(JAVA_HOME)/jre/bin/client/jvm.dll cvs server: Diffing . Index: jk_vm_default.c === RCS file:

RE: [PATCH] Apache2 mod_jk2

2002-06-04 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 4. lipanj 2002 20:34 To: Mladen Turk Cc: List Tomcat-Dev Subject: RE: [PATCH] Apache2 mod_jk2 On Tue, 4 Jun 2002, Mladen Turk wrote: There will be four classes dealing with particular Apache hook

RE: [PATCH] Apache2 mod_jk2

2002-06-04 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 4. lipanj 2002 22:00 To: Mladen Turk Cc: 'List Tomcat-Dev' Subject: RE: [PATCH] Apache2 mod_jk2 That's my goal too. The Java side will have all the interface, and C side will just find

RE: [PATCH] Apache2 mod_jk2

2002-06-04 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30. svibanj 2002 16:56 To: Mladen Turk Cc: 'Ignacio J. Ortega' Subject: RE: [PATCH] Apache2 mod_jk2 On Thu, 30 May 2002, Mladen Turk wrote: For start I would like to implement the Apache2 servlet

[PATCH] Apache2 mod_jk2 cleanup

2002-06-05 Thread Mladen Turk
Hi, Organize the mod_jk2 in a way that it can be extended. Common includes are moved to jk_apache2.h (perhaps this should be renamed to the mod_jk2.h). MT. Index: jk_apache2.h === RCS file:

[PATCH] jk_channel_jni.c configure dynamically

2002-06-05 Thread Mladen Turk
Hi, The patch enables to dynamically configure the channel.jni JAVA_BRIDGE_CLASS_NAME in Workers2.properties. The default one is used if class is omitted. Something like [channel.jni:jni] info=The jni channel, used if tomcat is started inprocess disabled=0 class=org/apache/jk/apr/AprImplX MT.

[PATCH] jk_jni_aprImpl.c

2002-06-06 Thread Mladen Turk
Hi, This is the further cleaning of mod_jk2. Seem that there are some leftovers in org_apache_jk_apr_AprImpl.h The patch deals with that. I simply rerun javah against the current AprImpl. Compiling mod_jk2 there are couple of warnings, mostly the type conversions from 64 to 32 bit, and bunch

[PROPOSAL] RegisterNatives

2002-06-08 Thread Mladen Turk
Hi, Are there any reason why are we loading jkjni, or mod_jk2 for inprocess mode. I think that the same can be accomplished using JNI RegisterNatives. Further more you can build the mod_jk as static module then. It would IMO require and some minor java refactoring just to know when to load the

RE: [PROPOSAL] RegisterNatives

2002-06-09 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 8. lipanj 2002 22:38 To: Tomcat Developers List Subject: Re: [PROPOSAL] RegisterNatives On Sat, 8 Jun 2002, Mladen Turk wrote: Are there any reason why are we loading jkjni, or mod_jk2 for +1

RE: [PROPOSAL] RegisterNatives

2002-06-09 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 9. lipanj 2002 18:04 To: Mladen Turk Cc: 'Tomcat Developers List' Subject: RE: [PROPOSAL] RegisterNatives Few questions: - Do we still need System.load() in jniMode ? I noticed you made

[PATCH] jk_vm_default.c make classpath easier to configure

2002-06-09 Thread Mladen Turk
Hi, Dunno if the patch has the 'real' purpose, cause it's only a way for me to make the config easier to configure. Since -Djava.class.path in JVM options can contain classpaths semicolon separated, it can become quite messy, so I've used the concept to enable to use multiple config lines and it

RE: [PROPOSAL] RegisterNatives

2002-06-09 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 9. lipanj 2002 20:20 To: 'Tomcat Developers List' Subject: RE: [PROPOSAL] RegisterNatives that out. The apr_initialize for IIS should be called IMO from DllMain in jk_isapi_plugin, but I'm not

[PATCH] native2 build.xml

2002-06-10 Thread Mladen Turk
Hi, I'm using a VS.NET for building and here is a patch that enables to do so. I've introduced a new var mssdk.tool (no more ugly ../Common/). MT. Index: build.properties.sample === RCS file:

[PATCH] jk_vm_default.c Attaching Threads and WIN32 VM guessing

2002-06-11 Thread Mladen Turk
Hi, The patch deals with unnecesary calls to the AttachCurrentThread if the GetEnv returns valid environment. The second part of patch uses WIN32 registry to guess the correct jvm.dll like Java does itself. MT. Index: jk_vm_default.c

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_signal.c jk_user.c

2002-06-12 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 12. lipanj 2002 0:09 To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_signal.c jk_user.c costin 2002/06/11 15:09:11 Added: jk/native2/common

Performance of JNI calls

2002-06-13 Thread Mladen Turk
Hi, I've seen in the JNI aprImpl the JK_DIRECT_BUFFER_NIO flag that is newer used. IMO the purpose would be to use the java.nio. Package available in the java 1.4 and JNI 1.4 specification. Now, I've done some testing and found couple of ineresting things that I would like to clear out. Don't

RE: mod_jk2 jni connector: segfault in CreateJavaVM with Sun VM; IBM VM works fine

2003-01-28 Thread Mladen Turk
Behalf Of Adam Megacz Hey, I'm using mod_jk2 with Apache2 (prefork) on Linux, and the Sun JVM (1.4 and 1.3) segfaults somewhere deep within libjvm.so's CreateJavaVM call, yet IBM's JVM (1.4) works fine. Has anybody else experienced this? Any idea what causes it? If this isn't

RE: ? to find servlets and their cpu usage at runtime

2003-01-29 Thread Mladen Turk
Here is what my mail server said about you ;). -Original Message- From: gautamjha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: *SPAM* ? to find servlets and their cpu usage at runtime SPAM: See

Need review -- WIN32 procrun

2003-02-06 Thread Mladen Turk
Hi, Something useful for me ;), but would like to hear other people opinions and sugestions. I've posted that couple of months ago, but now it's finished. The sources and binaries are at: http://jakarta.apache.org/~mturk/ Here is some brief explanation how the thing works: Procrun Features:

RE: Need review -- WIN32 procrun

2003-02-06 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Features: 1. Redirect console applications 2. Running redirected applications as services 3. Console or Windows GUI application mode to avoid any temporarily flashing console windows in case the procrun

RE: Need review -- WIN32 procrun

2003-02-06 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Well, maybe you'll have to add one or two features, like being able to optionally invoke the stop calls on the running JVM, instead of instantiating a new one (at least, I expect that's what you're doing; I

RE: Need review -- WIN32 procrun

2003-02-06 Thread Mladen Turk
-Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 6:48 PM To: Tomcat Developers List Subject: Re: Need review -- WIN32 procrun It's jakarta-commons-sandbox/component_name, actually. As JF proposed, I would see it

RE: Need review -- WIN32 procrun

2003-02-07 Thread Mladen Turk
-Original Message- From: jean-frederic clere Sorry I have missed my explainations: The InitClass/StartupClass/Shutdown/DestroyClass should be methods of one class that provide the service. Init must return after finishing (blocking). Startup that is more complicated in the

RE: JK2 not working with virtual hosts

2003-03-12 Thread Mladen Turk
-Original Message- From: Reinhard Moosauer [mailto:[EMAIL PROTECTED] Additional information: Without virtual host I got the request mapped. But no answer but a segmentation fault .. child .. in apache's error_log I tried the binary mod_jk2-1.3-eapi.so from

Catalina shutdown port as command line param?

2003-03-14 Thread Mladen Turk
Hi, I was wondering if we can add the '-shutdown portnumber' to the catalina's command line parameters. The usage would be to enable multiple TC instances using the same server.xml file. If present the param would override the config's Server port=8005 MT.

RE: Catalina shutdown port as command line param?

2003-03-14 Thread Mladen Turk
-Original Message- From: Henri Gomez [mailto:[EMAIL PROTECTED] Sent: 14. oujak 2003 17:44 To: Tomcat Developers List Subject: Re: Catalina shutdown port as command line param? The usage would be to enable multiple TC instances using the same server.xml file. But

RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina ServerFactory.java

2003-03-17 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I'm trying a different path that will reduce the breakage and make /admin work with embeded as well. Basically I'm creating the Service and Server, even for embeded ( where only engine is used ).

RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina ServerFactory.java

2003-03-17 Thread Mladen Turk
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache If you execute the emebed target in tomcat5, you'll get an embed/ dir, and inside you'll have a lib/ with an ( almost ) minimal set of jars - you can rejar them in a single jar if you really

RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina ServerFactory.java

2003-03-17 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Just wanted to let you know that the new embedded in 5.0 is great. Costin (and I, to some extent) got it running with JBoss 3.2 without any problem. The big advantage is that it's just like Tomcat standalone,

RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina ServerFactory.java

2003-03-17 Thread Mladen Turk
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache What I ment was a catalina.bat or catalina.sh embedded calling o.a.c.s.Embedded I think Embedded class should be deprecated in 5.0, and all 'embedding' should be done via JMX. I haven't

RE: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina ServerFactory.java

2003-03-17 Thread Mladen Turk
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache Well - you need at least something in the classpath :-) That something can create a class loader with all the other jars - and call a method inside. Why? The java/lang/ClassLoader is all that

RE: Tomcat-user

2003-03-19 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED] Sent: 19. oujak 2003 16:23 To: '[EMAIL PROTECTED]' Subject: Tomcat-user Hola a todos: As any of you know i'm currently one the moderators ( well i'm mostly the human spamwatch, but this another history

RE: [VOTE] [4.1.24] Stability rating

2003-03-20 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 20. oujak 2003 11:12 To: Tomcat Developers List Subject: [VOTE] [4.1.24] Stability rating ballot [ ] Alpha [ ] Beta [x] Stable (GA) /ballot MT.

RE: tomcat as isapi

2003-06-09 Thread Mladen Turk
Did you try to put the question on the tomcat-users list? Think you will find better support there. Also you will need to specify the TC version, the connector version, the OS, etc... From my experience, some search engine like google might help you. -Original Message- From:

RE: Apache 2 and mod_jk and mod_dir doesn't works

2003-06-18 Thread Mladen Turk
Glenn Nielsen wrote With that bug fix, and the others recently submitted it looks like we will need to do another mod_jk 1.2 release in the next month. I can act as release manager again. Cool, but why to wait for the next mont? Can we do it now? I have the build environment set up

RE: jk_nt_service

2003-07-02 Thread Mladen Turk
-Original Message- From: Oxley, David Subject: jk_nt_service Tomcat developers, Can I suggest we bring back jk_nt_service.exe for running Tomcat as a service for 5.0.x? Why? It works perfectly fine with TC4.1 and is a lot more flexible and easier to use for the end

RE: Performance of JNI calls

2002-06-13 Thread Mladen Turk
-Original Message- From: Pier Fumagalli [mailto:[EMAIL PROTECTED]] Sent: 13. lipanj 2002 19:35 To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: Re: Performance of JNI calls Mladen Turk [EMAIL PROTECTED] wrote: The most important thing that bothers me

RE: Performance of JNI calls

2002-06-13 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13. lipanj 2002 20:45 To: Mladen Turk Cc: List Tomcat-Dev Subject: Re: Performance of JNI calls Few comments on the code ( first look ): In many case there is no need to SetByteArrayRegion

JNI Performance Take 2

2002-06-15 Thread Mladen Turk
Hi, Hope that I've created the valid test environment this time :-) My last test results were (for me, at least) a little bit unclear so I've recreated (very crude) the jk2's Java-C bridge. Conclusion is that direct buffer access has only 5% higher throughput and that's only cause there are

JK2 MagAjp in ChannelJni

2002-06-15 Thread Mladen Turk
Hi, I would like to clean some things in native2, so here is something (concept probably) that's itching me. First of all can we agree that we have a well defined communication environment between the connector and the web server? I think we can, cause there are no third party stuff intervening

TomcatMonitor

2002-06-15 Thread Mladen Turk
Hi, As a maker of ApacheMonitor I _know_ that the support for the Tomcat's start/stop/monitor would be trivial. The question is can we (Apache2 and Tomcat) agree to coexist, or make two different try buttons. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: TomcatMonitor

2002-06-16 Thread Mladen Turk
-Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: 16. lipanj 2002 5:03 To: [EMAIL PROTECTED] Subject: Re: TomcatMonitor I wouldn't have a problem with that. No sense reinventing the wheel for one or the other of us... +1. and a ++1 here.

RE: jk 1.2 freese/snap time in JTC ?

2002-06-18 Thread Mladen Turk
We have a serious problem with jk and apache2. Try running: ab -n 1 -c 100 http://localhost:8000/examples/jsp/dates/date.jsp I have 59 [Tue Jun 18 18:07:14 2002] [warn] [client 127.0.0.1] handler jakarta-servlet not found for: date.jsp Now, IMHO there is problem with map_uri_to_worker,

RE: jk 1.2 freese/snap time in JTC ?

2002-06-18 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18. lipanj 2002 19:26 To: Tomcat Developers List Cc: GOMEZ Henri Subject: RE: jk 1.2 freese/snap time in JTC ? I'm not sure I understand how request_rec gets recycled while we are in

RE: jk 1.2 freese/snap time in JTC ?

2002-06-18 Thread Mladen Turk
-Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: 18. lipanj 2002 19:39 To: 'Tomcat Developers List' Cc: 'GOMEZ Henri' Subject: RE: jk 1.2 freese/snap time in JTC ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

mod_jk 1.2.0 workers pool

2002-06-20 Thread Mladen Turk
Can we make a worker to be per request created if none available is found, that way we will theoretically end up with MaxThreadsPerChild workers but reuse one if the done() was finished? May be ... We should speak about that in tomcat-dev where Costin and others could give us some precious

RE: mod_jk 1.2.0 workers pool

2002-06-20 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20. lipanj 2002 19:17 To: Mladen Turk Cc: List Tomcat-Dev Subject: Re: mod_jk 1.2.0 workers pool I'm curious what is creating the conflict - the worker is supposed to be singleton and have the state

mod_jk testing (WAS RE: mod_jk 1.2.0 workers pool)

2002-06-21 Thread Mladen Turk
First some things about testing: DO NOT USE the date.jsp (it could return various html lengths, so from there are coming those Failed requests ). I've just browsed through the source code of ab and it uses the first page as its length ethalon, and date.jsp could retur various length if the tests

Close to solution ( WAS RE: mod_jk testing)

2002-06-21 Thread Mladen Turk
Think we can close that! I've created the worker pool modifiable through workers.properties with the worker.ajp13.poolsize. The sadest thing is that I was so close the solution on day 0 (remember the mutexes?). Well what ever! There is some minor bug when using loglevel=debug, and it works

[PATCH] mod_jk 1.2.0 workers pool

2002-06-21 Thread Mladen Turk
Think this solves a lot of problems (at least to my tests). Don't forget to add the worker.ajp13.poolsize=nn in the workers.properties (this is the actual number of workers (connections) to the TC), the default is 1. This value should be close to the number of predicted client connections, or

RE: [PATCH] mod_jk 1.2.0 workers pool

2002-06-21 Thread Mladen Turk
I started take a look at patches, but I didn't like the Sleep(10). Why did you put a Sleep only in Windows case ? Cause I don't know what is the actual function call on unix :) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: [PATCH] mod_jk 1.2.0 workers pool

2002-06-21 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 21. lipanj 2002 13:44 To: Tomcat Developers List Subject: RE: [PATCH] mod_jk 1.2.0 workers pool sleep(#seconds) or usleep(#microseconds) The it should be usleep (1); No the real problem is

RE: mod_jk testing (WAS RE: mod_jk 1.2.0 workers pool)

2002-06-21 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 21. lipanj 2002 17:27 To: 'Mladen Turk'; 'Tomcat Developers List' Cc: '[EMAIL PROTECTED]'; 'GOMEZ Henri' Subject: RE: mod_jk testing (WAS RE: mod_jk 1.2.0 workers pool) Ahhh, finally got to do the test

RE: mod_jk 1.2.0 release news

2002-06-21 Thread Mladen Turk
What about those forced closed connections, and not closed sockets? You're right, there is still more jk_open_connection calls than jk_close_connection. Could you try to figure and fix that ? I'll try, or consider that done :-). If it works on W2K and not on XP, it's a M$ problem

mod_jk2 channels startup

2002-06-23 Thread Mladen Turk
Hi, There is one strange (well, not that at all) behavior of mod_jk2 that I would like to fix. When we load the module, the channels gets opened on the first client request. Now, the problem lies in the fact that the next client can send request prior the channel is opened, since opening takes

FW: mod_jk cache and socket timeout

2002-06-24 Thread Mladen Turk
channels will drop after worker.cache_timeout. Since IMO there was the general +1 for Jan's patch, here is the original with added endpoint timeout. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: 22. lipanj 2002 18:06 To: GOMEZ Henri Subject: mod_jk cache and socket

RE: mod_jk cache and socket timeout

2002-06-24 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 24. lipanj 2002 14:21 To: Tomcat Developers List Subject: RE: mod_jk cache and socket timeout Basically I don't like the time. The alternative is to use something like GetTickCount(). there is no

RE: mod_jk cache and socket timeout

2002-06-24 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 24. lipanj 2002 17:33 To: Tomcat Developers List Subject: RE: mod_jk cache and socket timeout The APR on unix for apr_time_now() uses gettimeofday, and then we could use the timeval's tv_sec, and on WIN32

RE: mod_jk cache and socket timeout

2002-06-24 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 24. lipanj 2002 17:57 To: Tomcat Developers List Subject: RE: mod_jk cache and socket timeout to be simple we could just use time() and getdifftime for 1.2.0 release. 1.2.1 could use more sophisticated code.

RE: mod_jk cache and socket timeout

2002-06-24 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 24. lipanj 2002 18:10 To: Tomcat Developers List Subject: RE: mod_jk cache and socket timeout +1 at both, if my opinion matters ;-) Yes, it count. So Mladen, let's go and commit. We all three

RE: Configuring mod_jk2

2002-06-25 Thread Mladen Turk
Hi, Perhaps we should explain the new RegisterNatives directive 'inprocess', cause it will register all the needed interfaces by itself... 12. This begs the question: how is mod_jk2 configured. It's done using # Dynamic library serverRoot=/usr/local/apache2 # load the jni

RE: Configuring mod_jk2

2002-06-25 Thread Mladen Turk
-Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED]] Sent: 25. lipanj 2002 11:48 To: Tomcat Developers List Subject: Re: Configuring mod_jk2 Mladen Turk wrote: Hi, Perhaps we should explain the new RegisterNatives directive 'inprocess', cause

RE: Configuring mod_jk2

2002-06-25 Thread Mladen Turk
-Original Message- From: Simon Stewart [mailto:[EMAIL PROTECTED]] Sent: 25. lipanj 2002 12:57 To: [EMAIL PROTECTED] Subject: RE: Configuring mod_jk2 Mladen also mentioned the RegisterNatives directive inprocess. I'm about to go searching through the archives of the list,

RE: Configuring mod_jk2

2002-06-25 Thread Mladen Turk
-Original Message- The RegisterNatives is the JNI way that we are using to force the mod_jk2 to register its native methods instead of using that from Java, so that we don't need to explicitly use the System.loadLibrary. The option can be enabled with the directive:

mod_jk2 keepalive sockets

2002-06-26 Thread Mladen Turk
Hi, Can we implement those keepalive sockets on jk2, like on mod_jk? The implementation IMO would be much easier then on jk. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[PATCH] WAS mod_jk2 keepalive sockets

2002-06-27 Thread Mladen Turk
-Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: 26. lipanj 2002 22:06 Can we implement those keepalive sockets on jk2, like on mod_jk? The implementation IMO would be much easier then on jk. Well, there was no comments on my previous mail, so I've build

RE: [JK2] JNI worker Init complete

2002-06-27 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 28. lipanj 2002 1:28 To: 'tomcat-dev' Subject: [JK2] JNI worker Init complete When tomcat is started inprocess ( by JNI ) we need a way to signal when tomcat ( 3.3 and 4.1.X ) initialization is

mod_jk startup

2002-06-29 Thread Mladen Turk
Hi, Some more explanations about the recent patch. All the worker initialization checking is done in the load balancer. The only drawback is that all the calls are disabled until the worker finishes with the initialization (perhaps it could be done inside the worker itself but IMO it will be

RE: mod_jk startup

2002-06-29 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29. lipanj 2002 20:08 To: Tomcat Developers List Subject: RE: mod_jk startup On Sat, 29 Jun 2002, Mladen Turk wrote: Also, why a new jkStatus method instead of setAttribute() ? Need

isapi_redirector2 build using static APR

2002-06-29 Thread Mladen Turk
IMO it would be better to build the non Apache connectors using static APR builds. That way we don't need to ship the extra dll's with the connector. The dll builds are ok for mod_jk2 since Apache is already there. It would be quite easy to do that adding /D APR_DECLARE_STATIC /D

RE: isapi_redirector2 build using static APR

2002-06-30 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 30. lipanj 2002 18:45 To: '[EMAIL PROTECTED]' Subject: RE: isapi_redirector2 build using static APR De: Mladen Turk [mailto:[EMAIL PROTECTED]] Enviado el: 30 de junio de 2002 7:28 hmmm

RE: isapi_redirector2 build using static APR

2002-06-30 Thread Mladen Turk
( or pre-built whenever they have a release ) Maybe having the dll around will encourage other uses as well :-) Costin On Sun, 30 Jun 2002, Mladen Turk wrote: -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 30. lipanj 2002 18:45 To: '[EMAIL

RE: mod_jk 1.2.0 - release notes

2002-07-01 Thread Mladen Turk
-Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 1. srpanj 2002 13:20 To: [EMAIL PROTECTED] Subject: mod_jk 1.2.0 - release notes I'm finalizing the mod_jk 1.2.0 release. Load-Balancing and keep-alive/timeout and I need more documentation on it from

Jk2 shutdown

2002-07-01 Thread Mladen Turk
Hi, There are few things left with the gracefull TC shutdown. 1. The Apache version works ok. 2. The IIS shutdowns the TC but the dll is still left loaded. Think that the TomcatStarter is left hanging, cause stdout/stderr redirection files stays opened. I would like to make the TomcatStarter

RE: Jk2 shutdown

2002-07-01 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 1. srpanj 2002 19:40 To: Tomcat Developers List Subject: Re: Jk2 shutdown On Mon, 1 Jul 2002, Mladen Turk wrote: We already have a mechanism/API for shutdown - and I don't see any good reason

RE: Jk2 shutdown

2002-07-01 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 1. srpanj 2002 21:31 To: Tomcat Developers List Subject: RE: Jk2 shutdown What about having a separate worker.jni: that will execute the stop command ? In theory we can have as many worker.jni we

mod_jk2 shuts down

2002-07-02 Thread Mladen Turk
Hi, Finaly been able to gracefully shutdown the isapi_redirector without the need to reboot the machine! The reason were the ghost threads left attaching in other and detaching jvm in another. Right now we have the Apache2/WIN32 and IIS tested and working. What about other platforms, and how

RE: mod_jk2 shuts down

2002-07-02 Thread Mladen Turk
Good work!!, are you volunteering to be the release manager? :) What is this? A man hunt :) In any case +1!!! Would, but have no idea what the RM should do :) 1. We still need to update the docs before any release (just look at the Tomcat Users list). 2. Didn't do any tests with the 1.3

RE: [VOTE] Apache Tomcat 5.0 Proposal

2002-07-03 Thread Mladen Turk
ballot [X] +1 I support the proposal, and will help implement it [ ] +0 I support the proposal [ ] -0 I do not support the proposal [ ] -1 I am against the proposal being implemented, because: /ballot MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

mod_jk2 jvm thread issues

2002-07-04 Thread Mladen Turk
Hi, We have still some problems with the threads and jvm attach/detach. The detaching is now done in the afterRequest (It was already there but commented), but that doesn't prevent the case of the premature request dying when we are processing a long request (ore hanged one) and trying to

AuthComplete WAS POST problems

2002-07-06 Thread Mladen Turk
Hi, Introduced a new registry configuration parameter 'authComplete'. The problem is that we cannot use the existing config functions cause the reading should be done prior we have a environment, so it had to go into a separate function. The default is to disable the SF_NOTIFY_AUTH_COMPLETE

[PATCH] experimental jk2 iis thread pool

2002-07-06 Thread Mladen Turk
* * Author: Mladen Turk [EMAIL PROTECTED] * * Version: $Revision: 1.0 $ * ***/ #define _WIN32_WINNT 0x0400 #include httpext.h #include

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_isapi_plugin.c

2002-07-07 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: 7. srpanj 2002 21:28 To: 'Tomcat Developers List' Subject: RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_isapi_plugin.c Mladen, there are 2 ways to configure i_r2.dll, with a

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_isapi_plugin.c

2002-07-07 Thread Mladen Turk
-Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: 7. srpanj 2002 21:50 To: 'Tomcat Developers List' Subject: RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_isapi_plugin.c Mladen, there are 2 ways to configure i_r2.dll, with a I'm

Jk2 logging

2002-07-08 Thread Mladen Turk
Hi, Recently there was a question on the Users List about log messages in the Apache's error.log. I've changed the INFO logging to get logged as notice instead of warning (cause it may be misleading as the user reported). Now, I propose to change the every occurrence of the following: if(

RE: mod_jk2 jvm thread issues

2002-07-08 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 8. srpanj 2002 19:40 To: Tomcat Developers List Subject: Re: mod_jk2 jvm thread issues IMO we are needing something like a TLS to fix that, or make the behavior similar to the apache's request rec,

mod_jk2 worker_jni hooks

2002-07-11 Thread Mladen Turk
Some more explanation of the worker jni hooks. Why the hooks? To be able to execute a particular class during a different process stage. There are 4 types of hooks (as briefly explained in the commit mail): 1. onStartup (worker.jni:onStartup) This hook will register the native functions for

mod_jk, mod_jk2 URI spaces

2002-07-31 Thread Mladen Turk
Hi, Just been working for a week on a real-life TC-mod_jk situation, and found some interesting limitations (well, point of views to the concept). What are we doing right now is 'favoring' TC over Apache URI resolving, meaning that if we set something like /*.html, then all the .html context

RE: mod_jk, mod_jk2 URI spaces

2002-07-31 Thread Mladen Turk
Now I propose that we make something like _not_ URI space filtering. Meaning that one could be able to serve every .html file through TC except for the /*/some_space/ location. Right now we are checking and hoping that the TC will accept the context, and then we forget that immediately.

RE: mod_jk, mod_jk2 URI spaces

2002-07-31 Thread Mladen Turk
-Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:00 AM To: Tomcat Dev List Subject: RE: mod_jk, mod_jk2 URI spaces This above sentence is confusing. You probably meant configuration options as a series of include/exclude

RE: [VOTE] [4.1.8] Stability rating

2002-08-02 Thread Mladen Turk
[ ] Alpha [x] Beta -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [VOTE] [4.1.8] Stability rating

2002-08-02 Thread Mladen Turk
[ ] Alpha [x] Beta -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]

2002-08-09 Thread Mladen Turk
Hi, Remember the last month advanced URI space resolution I proposed? Well, I've been working on that for a week or so, and found myself doing things that are more or less regular expression matching of request uri. Even existing uri_map code has a trace of that (matching star for example), so

RE: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]

2002-08-09 Thread Mladen Turk
From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Costin Manolache I thought about this few times - it's a good idea but a bit scary ( the build process ) The easiest would be if the guys from Apache 2 move the regex to the apr-util (I already make the question about that on the

RE: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]

2002-08-10 Thread Mladen Turk
-Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 10, 2002 2:04 AM To: Tomcat Dev List Subject: Re: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces] Doesn't mod_rewrite do what you want here? In combination with mod_proxy, it can

RE: [REPOST] [VOTE] [4.1.9] Stability rating

2002-08-14 Thread Mladen Turk
ballot [x] Alpha [ ] Beta /ballot MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [REPOST] [VOTE] [4.1.9] Stability rating

2002-08-14 Thread Mladen Turk
SORRY I MEANT BETA. ballot [ ] Alpha [X] Beta /ballot MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   9   >