RE: What's left for JK2.0.4?

2004-03-01 Thread Mladen Turk
-Original Message- From: Henri Gomez Yes, the ones that create multiple child processes. Each child in that case wishes to run it's own Tomcat process, with the same config. The consecutive TC instance fails to load (same config, same ports). Correct indeed, how could

JK2 shm

2004-03-01 Thread Mladen Turk
Hi, I'll reimplement the jk2_shm using apr_rmm. The code itself will be significantly simpler. 1. The shared memory will not be present if ap_exists_scoreboard_image retunes zero. 2. The shared memory will be present if above is satisfied using the ap_scoreboard_fname + _jk2 if our shm

RE: JK2 LB_FACTOR problem

2004-03-01 Thread Mladen Turk
-Original Message- From: Angus Mezick Why the heck to the workers with a lb_factor of 1 get a lb_value of 19[1-2]? What is lb_value? I am expecting for ever 104 requests worker 3 will get 100 of them and workers 2,4,5,6 will get 1 each. Am I wrong? default lb_factor is 1,

RE: jk2 buglets

2004-03-01 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] Assuming that the next mod_jk2 release wants to go with the present APR (0.94) or even the CVS (pre 1.0?) then we need to kludge mod_jk on solaris 8 (at least) to not use APR for this bit. No it's gonna be 0.95 (the one distributed

RE: jk2 buglets

2004-03-01 Thread Mladen Turk
-Original Message- From: Guenter Knauf Look at my today post (JK2 shm). It's going to use the shm. If the platform is missing APR_HAS_SHARED_MEMORY the shm will be disabled. Also you can alway set the shm to disabled if the APR platform MMAP is buggy. but what will

RE: jk2 buglets

2004-03-01 Thread Mladen Turk
-Original Message- From: Guenter Knauf but what will we all loose if then the scoreboard isnt active?? In case of single child mpm, nothing. On others, jkstatus at least. so the scoreboard is only for collecting stats? And for load balancing stats. Also, we adopted

JK2 Close to 2.0.4

2004-02-27 Thread Mladen Turk
Hi, I finally have a couple of days to spare on JK2. Since Henri is doing great job on Apache side, I'm willing to clean the IIS port. Are there any pending issues that I can help with, so we can make the release. MT. - To

[OT] [FW: Please update your email address...]

2004-02-27 Thread Mladen Turk
Anyone has a clue why I'm receiving this on each mail send to this group? -Original Message- From: Autoresponder [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 2:17 PM To: [EMAIL PROTECTED] Subject: Please update your email address... Reply-To: Autoresponder [EMAIL

RE: JK2 Close to 2.0.4

2004-02-27 Thread Mladen Turk
-Original Message- From: Henri Gomez While you take a look at IIS, could you investigate the BR #15278. Seems to be a problem with 16bits int ? Sure :-). Well I'd like to use apr types on all function calls, returning APR_STATUS, etc... Some work has already been done, but

RE: [OT] [FW: Please update your email address...]

2004-02-27 Thread Mladen Turk
From: Jeff Tulley This has happened to a few people in the last few months. Whomever from radgametools that is subscribed here needs to unsubscribe out of curteousy to the rest of the group, or subscribe on of these accepted addresses they list. In fact I'm receiving tree mails on

RE: [OT] [FW: Please update your email address...]

2004-02-27 Thread Mladen Turk
From: Guenter Knauf I dont use a SPAM mailer such as Outlook; so chances that a worm has subscribed to one of those lists from my machine is == 0. :-). In addition I believe that many do just the same as I: they have a separate account for list post, and a white list which only

RE: [OT] [FW: Please update your email address...]

2004-02-27 Thread Mladen Turk
-Original Message- From: Shapira, Yoav Nonetheless, I've sent new unsubscribe instructions to the above three addresses, which I can do as a moderator for tomcat-dev. Try sending a message to this list in a few minutes and see if you still get all three responses, or if

RE: New procrun binaries needed

2004-02-13 Thread Mladen Turk
I'd need new procrun binaries for the new build (in j-t-c/procrun). The old build isn't broken, so this is not critical, but it would be nice (assuming there are updates). There _are_ updates. So someone will have to produce the binaries. Should be in the CVS. MT.

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

2004-02-03 Thread Mladen Turk
From: mmanders Modified:jk/native2/common jk_channel_socket.c Log: Fix problem with port higher than 32K. Provided by Guenter Knauf. Fixed compile problem for NetWare even though this isn't built for NetWare (or any other platform.) jk_channel_socket is depriciated,

RE: [5.0.18] Release vote

2004-01-19 Thread Mladen Turk
ballot Release 5.0.18 as Stable: [x] Yes [ ] No /ballot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Jk2 object model

2004-01-11 Thread Mladen Turk
From: Costin Manolache Sent: 11. sijeanj 2004 2:36 To: Tomcat Developers List Subject: Re: Jk2 object model But this time I'd like to spend a month or so doing 'real' design without the single line of code. If we manage to put and describe our needs on the paper, the coding

RE: Jk2 object model

2004-01-09 Thread Mladen Turk
-Original Message- From: jean-frederic clere Sent: 9. sijeanj 2004 8:35 To: Tomcat Developers List Subject: Re: Jk2 object model The concept (approach) as I see it is to be able to make a connector (integrator), that would allow the zero-based-configuration. Meaning

RE: jk2 release

2004-01-09 Thread Mladen Turk
-Original Message- From: jean-frederic clere Subject: jk2 release Hi, Is it correct that the lastest Jk2 release is from 27-Nov-2002? (2.0.2 tagged JK2_2_0_2) See? What is about making a newer one? We adopted the APR as mandatory. There are few things that are left

RE: Jk2 object model

2004-01-08 Thread Mladen Turk
Hi, Since I've started few months ago all the C++ fuzziness (I did posted even some source to Costin back then), my intention wasn't to CPP-ize the existing code, but rather to move that 'dead' code on some new tracks. What I'm looking since then is some kind of different approach to the

RE: Jk2 object model

2004-01-08 Thread Mladen Turk
-Original Message- From: Henri Gomez [mailto:[EMAIL PROTECTED] I agree with you that this would be JK3, rather then JK2 on steroids :-), and it would require a different perspective. I'm in favor of _usability_ over performance in that new approach. JavaGroups or

RE: Jk2 object model

2004-01-08 Thread Mladen Turk
Hate to quote myself, but... As I said, the performance isn't a priority here, but rather usability. I'm sure that TC guys will be open here, and we will see (perhaps even in 5.1) the 'open TC API', that could be directly used, or seamlessly integrated from the native side. I would

RE: please help me sir

2004-01-08 Thread Mladen Turk
From: Ronak Patel respected sir, I have a problem in configuration of TOMCAT4.1.29 ... I am working on win98 jdk1.3.1_09 First of all I would suggest that you move to some NT-based platform, but only after resolving the cause of a problem. there is a problem while run JSP file

RE: Jk2 object model

2004-01-08 Thread Mladen Turk
From: Costin Manolache So my suggestion ( deja vue ? ) is to use evolution :-). A change in the OO model ( if needed ) or fixing/improving the current one is not as big change as it seems - it's mostly in initialization code. How about 'revolution'? On the other hand how does the evolution

RE: Jk2 object model

2004-01-07 Thread Mladen Turk
-Original Message- From: Bill Barker Sent: 7. sijeanj 2004 9:22 To: Tomcat Developers List Subject: Re: Jk2 object model I'm interested if jk2 could plug into more applications - there aren't that many generic connectors. KDE has one specialized for konqueror, and

RE: Jk2 object model

2004-01-06 Thread Mladen Turk
From Costin Manolache Sent: 6. sijeanj 2004 8:11 To: [EMAIL PROTECTED] Subject: Re: Jk2 object model jean-frederic clere wrote: Costin Manolache wrote: I remember some time ago Mladen (?) was suggesting to use C++ for jk2 instead of the pseudo-OO programming. I am -1

RE: Procrun improvements

2003-12-28 Thread Mladen Turk
-Original Message- From: Remy Maucherat Subject: Procrun improvements Hi, There are some problems with procrun for the VM setup. Right now, the only setting which works AFAIK is using java and letting procrun detect the VM using the Windows registry. The procrun is a

RE: Procrun improvements

2003-12-28 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] The question is do you need the mentioned features _now_, if there is a new release on the horizon, or this can wait for a week or two? It would be good to have a new tag for TC 5 relativelely shortly ( 2

RE: Licenses for .bat and .sh files

2003-12-23 Thread Mladen Turk
Bill Barker wrote: While editing 'service.bat', I noticed that it seems that we are shipping all of the '.bat' and '.sh' files without including an Apache license. Before I launch into a realy boring project of fixing this, I wanted to hear other opinions on how necessary it is.

TC5 Adding service.bat

2003-12-20 Thread Mladen Turk
Hi, Can we add some batch file to the TC5 installation that will enable users to easily install the TC5 as service without the need to download the .exe installer. Since the procrun is invoked from nsi installation script, making something like that would be quite simple. I even volunteer to

RE: [JK2 Enhancement] modify behavior when max_endpoints have been reached

2003-12-03 Thread Mladen Turk
From: Scott, Sean I have locally modified the head revision of the jk2 project and would like some feedback before submitting the enhancements for review. The change in behavior that we desired was that rather than returning an error when the max_connections for the endpoint

RE: [JK2 Enhancement] modify behavior when max_endpoints have been reached

2003-12-03 Thread Mladen Turk
-Original Message- From: Scott, Sean -1 on mutex/wait approach. Using that we would reinvent the wheel. There is an excellent API in the APR-UTILS that will allow us to do a non-blocking approach. Take a look at apr_reslist API. Since we agreed to use the apr

RE: [JK2 Enhancement] modify behavior when max_endpoints have been reached

2003-12-03 Thread Mladen Turk
From: Scott, Sean Seems that I miss you here... Meaning that the endpoint cache would no longer be a jk_objCache but be an apr reslist instead. Exactly! Personally I dont see a problem with waiting for the next endpoint to be returned. Theoretically the connection could

RE: [VOTE] Kurt Miller as commiter

2003-11-11 Thread Mladen Turk
+1 MT. -Original Message- From: Henri Gomez [mailto:[EMAIL PROTECTED] Sent: 11. studeni 2003 16:27 To: Tomcat Developers List Subject: [VOTE] Kurt Miller as commiter Hi to all, I would like to propose you a new tomcat commiter, Kurt Miller which as proposed many usefull patches for

RE: Why is mod_jk distributed both as 2.0.2 and 2.0.4?

2003-11-09 Thread Mladen Turk
-Original Message- From: Palle Girgensohn Hi! How come this confusion about the latest version of mod_jk2? With the jakarta-tomcat-connectors-4.1.2X, a mod_jk2 version 2.0.4 is distributed. With http://www.apache.org/dist/jakarta/tomcat-connectors/jk2/source/jakarta-tom

RE: JK2 is using APR as mandatory

2003-10-31 Thread Mladen Turk
-Original Message- From: Kurt Miller As said in the subject... plus the jk_pool and jk_channel socket are marked as deprecated. Are configurations using channel.socket depreciated now? Does this just mean that the code in jk_channel_socket.c is depreceated becuase

RE: Internal Server Error, ErrorDocument does not work using mod_jk2 and servlet engine stopped

2003-10-30 Thread Mladen Turk
From: Henri Gomez Bernhard Erdmann a écrit : Henri Gomez wrote: I'd like Apache to use its configured ErrorDocument 500 when Tomcat is down instead of mod_jk2 printing its own error statement. Ok, we could make it in the new jk2 reworks (Mladen ?) Perhaps to make that

JK2 is using APR as mandatory

2003-10-30 Thread Mladen Turk
As said in the subject... plus the jk_pool and jk_channel socket are marked as deprecated. Couple of things to do. 1. APR-ize jk_file_logger to use apr_file API instead stdio's FILE. 2. All methods will return apr_status_t instead int (work in progress). 3. Henri, what about those AS400

RE: [VOTE] New builds

2003-10-29 Thread Mladen Turk
-Original Message- From: Remy Maucherat ballot Release 4.1.29 as Stable ? [ ] Yes [ ] No /ballot ballot Release 5.0.14 as Beta ? [x] Yes [ ] No /ballot AFAICT the 5.0.14 is production quality version, much more stable and faster, at least for the applications I'm

RE: jk2/apr

2003-10-28 Thread Mladen Turk
From: Henri Gomez Ding/Dong, What's the status of jk2 use APR ? Mladen did you are still with works in progress ? I'm in a few deadline loops, again ;-). So if nobody beets me before weekend I'll commit the needed changes. MT.

RE: jk2 evolution plan

2003-10-20 Thread Mladen Turk
From: Bill Barker I could get on-board with this, after Mladen's suggestion to change the return-type of most methods to jk_status_t. Without this, mod_jk2 is hopelessly broken (and I'll contunue to ignore it :). It's to apr_status_t ;-). Sill, takes a bit more time then I thought

RE: jk2 evolution plan

2003-10-20 Thread Mladen Turk
From: Henri Gomez Mladen Turk wrote: From: Bill Barker I could get on-board with this, after Mladen's suggestion to change the return-type of most methods to jk_status_t. Without this, mod_jk2 is hopelessly broken (and I'll contunue to ignore it :). It's

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_channel.h jk_workerEnv.h jk_worker.h

2003-10-16 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] 1.17 +17 -0 jakarta-tomcat-connectors/jk/native2/common/jk_channel_un.c 1.6 +3 -3 jakarta-tomcat-connectors/jk/native2/common/jk_mutex.c 1.57 +34 -1

RE: jk2 evolution plan

2003-10-16 Thread Mladen Turk
-Original Message- From: Henri Gomez Ok, about everybody seems to agree on using apr for jk2 (still waiting Nacho for IIS). IIS uses APR by default (staticaly linked) for a long time. APR side will be to : - Update doc to indicate that APR is mandatory - Remove #idef

RE: jk2 evolution plan

2003-10-16 Thread Mladen Turk
-Original Message- From: Henri Gomez I'd like to know who could works on jk2 evolution. +1 Thanks. I can (not before friday): 1. Change all the (quasi boolean) functions to return the apr_status_t instead int (0, 1) 2. aprize jk2_log to use the apr_file_t 3. aprize

RE: jk2 evolution plan

2003-10-16 Thread Mladen Turk
-Original Message- From: Henri Gomez You should know what apr call should be used to mimic select isn't it ? PING/PONG right? Nothing that simple :-). The magick is apr_poll. It will require some modifications to the channel in general. MT.

RE: jk/jk2 - time for apr

2003-10-15 Thread Mladen Turk
+1 to use the APR as mandatory for the mod_jk. You can rename it to the mod_jk2 after that easily :-) MT. -Original Message- From: Henri Gomez Hi to all, Now that jk seems stabilized a bit, should we focalize on jk2 ? For instance I added some features to jk (ping/pong) which

RE: jk/jk2 - time for apr

2003-10-15 Thread Mladen Turk
-Original Message- From: Henri Gomez Mladen Turk a écrit : +1 to use the APR as mandatory for the mod_jk. You can rename it to the mod_jk2 after that easily :-) Heu, the idea is to make jk2 (native2) apr mandatory. We'll keep jk as it is today. And I was thinking you

RE: Committing binaries in CVS [Was] RE: cvs commit: jakarta-tomcat-connectors/procrun/bin tomcat.exe tomcatw.exe

2003-10-10 Thread Mladen Turk
-Original Message- From: jean-frederic clere Remy Maucherat wrote: Ignacio J. Ortega wrote: Sorry to disagree, but it's impossible to build the said binaries without expensive compilers. (please do not suggest Cygwin) Why? Is the Makefile broken? Doesn't matter. We

RE: [5.0.13] [4.1.28] VOTES

2003-10-09 Thread Mladen Turk
One question. Why do we need to vote on that? AFAICT the 4.1.27 was stable. and the 5.0.12 was Beta. IMHO we should vote on Release/DoNotRelease. If for example the 5.0.13 is a less quality code then 5.0.12 do not release at all, or vote for a Stable, if you dare ;-). For 4.1.x, it would be

RE: [VOTE] release mod_jk 1.2.5

2003-09-25 Thread Mladen Turk
ballot [ x] +1 release mod_jk 1.2.5 and I will help by building binaries for: 2.0.47/1.3.28+EAPI/IIS (WIN32) [ ] +0 release mod_jk 1.2.5 [ ] -0 please don't release, reason __ [ ] -1 you can't release because of __ /ballot MT.

RE: [5.0.10] New build ?

2003-09-02 Thread Mladen Turk
From: Bill Barker The console does need work. At the moment it appears to be (trying to :) assume that you are using log4j with a format something like %r [%t]: %c %p %m%n. In general, it's a hard problem, since all that it is doing is grabbing stdout/stderr and attempting to

RE: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_uri_worker_map.h jk_uri_worker_map.c

2003-08-30 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] Log: iSeries C compiler didn't like cast between const and non const. IMO the function prototype should stay const char* or modified to char** if the pointer needs to be changed, but since it isn't it should stay const char *. The

RE: something wrong in apache tomcat load balancing configuration

2003-08-14 Thread Mladen Turk
From: Thutkawkorapin, Jessada Sent: Thursday, August 14, 2003 1:13 PM To: [EMAIL PROTECTED] Subject: something wrong in apache tomcat load balancing configuration The problem is that when I re-start the 2nd server, load-balancer ignore it and requests are still proceed 100% by server #1. Be

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: 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: 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: [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-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: 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

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: 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

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

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: ? 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

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

[proposal] JK2 (WIN32) add dynamic load balancing

2003-01-22 Thread Mladen Turk
Hi guys, It's been a long time :-). I would like to add the dynamic load balancing to the existing one. Since I know how to implement that only on WIN platform, I'll elaborate that a bit. The WIN32 has Performance Monitor that monitors server's activity. There is also and interface to that

[proposal] add the apr_queue mechanism to apr_socket

2003-01-22 Thread Mladen Turk
One more... Here is the scenario: If TC instance is too busy or reached the connection limit the next connection is refused, causing entire worker to switch to the error state. This isn't very smart (at least for threaded servers). I propose that we use the apr_queue to solve that. The socket

RE: [proposal] JK2 (WIN32) add dynamic load balancing

2003-01-22 Thread Mladen Turk
-Original Message- The WIN32 has Performance Monitor that monitors server's activity. There is also and interface to that using Registry functions, although the data isn't really stored in the registry. We could use those information to select the least loaded server as

RE: First version of JK2 Domino connector and more questions about JNI-mode

2003-01-03 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] Great news! My workers2.properties lookes like this for the VM initialization [vm:] info=Parameters used to load a JVM in the server process OPT=-Djava.class.path=${CATALINA_HOME}/bin/tomcat-jni.jar; Try using the folwing instead

RE: Questions related to a port of the IIS-connector to Domino I plan to provide

2002-12-30 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 3:15 PM To: Tomcat Developers List Subject: RE: Questions related to a port of the IIS-connector to Domino I plan to provide Good, so if there is DSAPI, there shuld't be

RE: Questions related to a port of the IIS-connector to Domino I plan to provide

2002-12-29 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: Questions related to a port of the IIS-connector to Domino I plan to provide What version of Domino? Think that new 6.0 is all JAVA

RE: Questions related to a port of the IIS-connector to Domino I plan to provide

2002-12-29 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 7:20 PM To: Tomcat Developers List Subject: RE: Questions related to a port of the IIS-connector to Domino I plan to provide What version of Domino? Think that new 6.0

RE: GPG key for mod_jk2 2.0.2 not valid ?

2002-12-20 Thread Mladen Turk
-Original Message- From: Pier Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 5:15 PM To: Tomcat Developers List Subject: FW: GPG key for mod_jk2 2.0.2 not valid ? FYI, not acked... Can someone look into it? Pier -- Forwarded Message From:

[ANNOUNCEMENT] JK2-2.0.2 released

2002-11-27 Thread Mladen Turk
. [Jean-Frederic Clere] * Don't send initial chunk for chunked encoding, fix #14282 [Costin Manolache] * Fix the POST data on JNI [Mladen Turk] * Remove the deprecated message for path [Costin Manolache] * Add the regular expressions to uriMap. The regex uris

JK2_2_0_2 Tagged

2002-11-26 Thread Mladen Turk
Hi, Just tagged the j-t-c with JK2_2_0_2 Hope that sources and WIN32 binaries will be available later this day. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [4.1.16] New tag ?

2002-11-23 Thread Mladen Turk
-Original Message- From: Remy Maucherat It would be good to have updated native connectors at the same time or before. Before, IMO. I'm posting this to confirm that all the fixes which were needed in JK are in. Think that Henri is preparing a tag this week for

[5.0] Is it working on 1.4.1 ?

2002-11-22 Thread Mladen Turk
Hi, Trying to use the nightly builds with 1.4.1 on WIN32, but without much luck. SEVERE: Parse Fatal Error at line 307 column 39: The string -- is not permitted within comments. org.xml.sax.SAXParseException: The string -- is not permitted within comments. Cleaning common/enorsed help a bit,

RE: Tagging JK2_2_0_2

2002-11-22 Thread Mladen Turk
-Original Message- From: jean-frederic clere I have applied all the patches I have for the moment. Cheers Jean-frederic Cool, thx. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [5.0] Is it working on 1.4.1 ?

2002-11-22 Thread Mladen Turk
-Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Yes , its works but you have a bug in Xerces 2.2.0 anmd 2.2.1 cause that problem. Download Xerces 2.1 or the current Xerces nightly build (where the bug have been fixed). Will try, but why is it then

[5.0] Bootstrap.java and main() arguments

2002-11-22 Thread Mladen Turk
Hi, Since new Bootstrap combines BootstrapService, we have some launch param differences from 4.x. Can we change the startup params as follows in main method: 1. rename startd to start 2. rename stopd to stop 3. rename start to run 4. rename stop to kill The latest two can be changed to some

[TOMCAT] Disabling Server shutdown port?

2002-11-21 Thread Mladen Turk
Hi, Can we disable the server shutdown port? I was thinking if I set the port to 0, then the StandardServer shouldn't create the shutdown socket. The reason for that is cause the embedded TC doesn't really need that if the JNI is the only communication channel. Server could be shut down from

RE: [TOMCAT] Disabling Server shutdown port?

2002-11-21 Thread Mladen Turk
-Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] You should use the BootstrapService class instead of Bootstrap. Silly me ... ;-(. What about ChannelSocket can it be disabled too ? Something like: public void init() throws IOException { // Find a

Tagging JK2_2_0_2

2002-11-21 Thread Mladen Turk
Hi, There has been lots of changes since 2.0.1 like: - Regular expressions for uri mapping - Duplicating global directives - Fixing POST on JNI - etc... I'm planning to tag the JK2 on Monday 25th. Any objections to that? Also we still need to do a lot of work on the docs (hope that John will

[DONATION] procrun

2002-11-21 Thread Mladen Turk
Hi, I would like to donate the following code to the Apache community. The main reason for that is missing of decent service dispatcher for the Tomcat. The application can be run either as a service, console application, dll, or windows application. Needs some work and testing, but it can be IMO

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

2002-11-21 Thread Mladen Turk
That's like you said ... ;) Is there a Java implementation withouth threads? If not then, we should disable jni for non-threaded apr. Make that dependent of HAVE_JNI. There is no need to compile in the JNI for non-threaded servers. Or simply... #ifndef APR_HAS_THREADS #error You will need to

RE: Tagging JK2_2_0_2

2002-11-21 Thread Mladen Turk
-Original Message- I remember that a FIONBIO was causing me some problems it seems there is a #if 0 #endif So the code between is not used any more. Could we remove it? Yes... That was my invention after all (blocking blocked socket) ;-). /* When a socket is created, it

RE: [DONATION] procrun

2002-11-21 Thread Mladen Turk
-Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Costin Manolache Sent: Thursday, November 21, 2002 7:24 PM To: [EMAIL PROTECTED] Subject: Re: [DONATION] procrun Looks good. Is this your code ( or code you have copyright to ) ? My own. IMO the best way

[JK2] jni channel doesn't send POST data (WAS: [JK2] Apache2 add read-ahead for POST data)

2002-11-20 Thread Mladen Turk
Hi, Apache isn't the bugger here. The jni itself is unable to process the POST data. The channel_jni is invoked for the getChunk (id 6), but then nothing happens (at least I wasn't been able to trace any jni_send). It invokes the response dispatcher, but then nothing happens. (Think that this

RE: ajp13 errors

2002-11-20 Thread Mladen Turk
-Original Message- From: Jacco Braat [Wed Nov 20 18:03:24 2002] [error] Error ajp_process_callback - write failed [Wed Nov 20 18:03:24 2002] [error] ajp13.service() ajpGetReply unrecoverable error 3 [Wed Nov 20 18:03:24 2002] [error] ajp13.service() Error forwarding

RE: [JK2] jni channel doesn't send POST data (WAS: [JK2] Apache2 add read-ahead for POST data)

2002-11-20 Thread Mladen Turk
-Original Message- From: Costin Manolache It's most likely a bug. I know Nacho is using JNI with IIS - and the code looks fine. Yeah, it was... Just fixed it in the cvs. We were sending reply msg and the handler was feeding post msg. Looks fine now (tested with 100K POST data)

[JK2] Apache2 add read-ahead for POST data

2002-11-19 Thread Mladen Turk
Hi, Seems that we have some problems reading POST data from Apache2. My proposal is to add the read ahead buffer. Looking at some modules I found that most of them has that feature. For example mod_isapi has a default read ahead buffer length of 49152 bytes (48 k). (Why?) Question: Can we make

4.0 and 4.1 servlet-mapping

2002-11-08 Thread Mladen Turk
Hi, Probably shuld, but I hate to STWF ;). In 4.0 the /app/WEB-INF/classes/ were mapped to the /app/servlet/ In 4.1 I need explicitly to put the servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping So that can work. Is

<    2   3   4   5   6   7   8   9   >