Re: Bad example (harmful to HP/UX)

2005-01-31 Thread jean-frederic clere
William A. Rowe, Jr. wrote: Attached is a simple patch to correct the jk_apxs detection macros. In every case we search for .so (.dylib) we should also consider the .sl files our HP/UX friends rely on. Done, thanks. Bill

Re: [patch] jk 1.2.8 Build failure on linux (1 liner)

2005-01-20 Thread jean-frederic clere
William A. Rowe, Jr. wrote: I'm finding that @top_builddir@ isn't resolved when I run ./buildconf / ./configure against apache1.3 apxs, so the libtool isn't resolved. The fix is trivial, use the same fixed top_builddir=.. as all the other /native/ directories used. -0: It would be better to

Re: still jk2?

2004-12-31 Thread jean-frederic clere
William A. Rowe, Jr. wrote: http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/index.html seems a bit dated. Perhaps add some indication that this is no longer the recommended solution? That is an archive of the old documentation. Bill

Re: [VOTE] JK 1.2.8 Stability

2004-12-30 Thread jean-frederic clere
It looks stable for me ;-) Season Greetings Jean-Frederic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Website updates

2004-11-22 Thread jean-frederic clere
Remy Maucherat wrote: I propose the following changes to the main website: - in the Documentation section, add JK 1.2 - add the new JK documentation to the website - in the Documentation section, add mod_proxy, linking to the Apache 2.1 documentation - when the next Tomcat 5.5 stable is released,

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp13_worker.c

2004-11-10 Thread jean-frederic clere
Mladen Turk wrote: Costin Manolache wrote: Mladen Turk wrote: David Rees wrote: Are you sure it's a good idea to wait until it crashes rather than fail in a controlled method? How much overhead is there to check aw-name for NULL? Can't be much... Yes I am. Look, if the system can not alloc

mod_jk changing map_free to jk_map_free

2004-10-29 Thread jean-frederic clere
Hi, I have a funny core on a debian machine: +++ #0 0x40723712 in map_free () from /opt/SMAWoIS/apache13/libexec/libphp4.so #1 0x40804d7e in close_workers () from /opt/SMAWoIS/apache13/libexec/libjk.so #2 0x40804983 in wc_close () from /opt/SMAWoIS/apache13/libexec/libjk.so #3 0x40802ae1 in

Re: Problems with jakarta-tomcat-connectors-jk2-2.0.[24]-src/jk/native2/configure and HP-UX 11.0

2004-10-07 Thread jean-frederic clere
HORSTMAN, MARK A (SBCSI) wrote: Here's a diff against jakarta-tomcat-5.0.28-src/jakarta-tomcat-connectors to fix the problem. Configures, compiles and works for Solaris 2.8 and HP-UX 11.0 with httpd-2.0.52: Thanks, Could please report it in bugzilla? (To make sure it will not be forgotten).

Re: Problems with SSL_CLIENT_CERT_CHAIN_n from servlet

2004-10-06 Thread jean-frederic clere
Jesús Luna wrote: Hi everybody, Currently I'm developing a servlet that validates with our OCSP service a user certificate received from Apache v1.3.29 (with mod_ssl v2.8.16 and ajp13 workers), but the problem is that I need to extract some data about the correspondent client certificate chain to

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote: Hello, I have two simple question to the new mod_ajp: Can we add a small documentation how people can compile and configure the new mod_ajp? The mailing list are tell us a lot informations, but please can someone desicribe the current state? The developement of the proxy ajp

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Remy Maucherat wrote: jean-frederic clere wrote: Peter Rossbach wrote: Hello, I have two simple question to the new mod_ajp: Can we add a small documentation how people can compile and configure the new mod_ajp? The mailing list are tell us a lot informations, but please can someone desicribe

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
balancer://myCluster/examples/ /Location +++ Can you please, add some documentation ( jk/xdocs) that let people find the new module and configuration ? Thanks Peter jean-frederic clere schrieb: Remy Maucherat wrote: jean-frederic clere wrote: Peter Rossbach wrote: Hello, I have two simple question

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
and configuration ? Done. Thanks Peter jean-frederic clere schrieb: Remy Maucherat wrote: jean-frederic clere wrote: Peter Rossbach wrote: Hello, I have two simple question to the new mod_ajp: Can we add a small documentation how people can compile and configure the new mod_ajp? The mailing list are tell

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Peter Rossbach wrote: Hello Jean Frederic, fine, your example help me, but the current online balancer documentation is only a useless summary. Exist a better one at cvs or is it a open ToDo item? That is a ToDo item ;-( Thanx Peter jean-frederic clere schrieb: Peter Rossbach wrote: Cool

Re: Need help with mod_ajp

2004-10-05 Thread jean-frederic clere
Remy Maucherat wrote: jean-frederic clere wrote: Remy Maucherat wrote: To make sure I got everything right: so all the code and dev is done there now ? Yes. BTW, who's a committer on httpd ? I and Mladen ([EMAIL PROTECTED]). I checked out the CVS. Very impressive. (here, I'd like to ask about

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-08 Thread jean-frederic clere
Jonathan Rengifo wrote: Hi to all ... I've install Apache2 and Tomcat5 last versions from the Apache project web page, and they are currently well running standalone in my 64 bits Solaris 9 Box, but now I need to connect them, so I installed the new mod_jk2 connector, with succeeding results at

AJP lib files added to httpd-2.0 repos

2004-08-18 Thread jean-frederic clere
Hi, I have added to the httpd-2.0/modules/proxy the following files: ajp.h ajp_header.c ajp_header.h ajp_link.c ajp_msg.c They are also in jakarta-tomcat-connectors/ajp/ajplib/test. They have to be kept up to date (synchronized) please remember to mail the diff to the other repos dev-list when

Re: New Mod_Proxy - some testing/looking

2004-08-13 Thread jean-frederic clere
NormW wrote: Good evening Bill, All... Please direct these comments to [EMAIL PROTECTED] - b.t.w., you can check out the latest httpd-2.0 HEAD and pick up the entire proxy solution (you must explicitly --enable-proxy-ajp and have the ajplib sources there too.) Someone want to take a wack at

Re: Jsvc support for SGI

2004-08-12 Thread jean-frederic clere
Oellien, F (Frank) wrote: Hello, I have just tried to compile the jsvc tool for SGI IRIX 6.5. However, this system is not supported in the moment. In the INSTALL.txt file of the source package it was remarked that you need details of the operating system and the JDK to implent it into the jsvc. I

Re: Fwd: md5 sums for jakarta downloads

2004-08-10 Thread jean-frederic clere
Pier Fumagalli wrote: Begin forwarded message: From: Andy Mudrak [EMAIL PROTECTED] Date: 10 August 2004 00:57:44 BST To: [EMAIL PROTECTED] Subject: md5 sums for jakarta downloads Hi, I noticed that your MD5 sums on your website are not all formatted correctly. I specifically downloaded the

Re: Fwd: md5 sums for jakarta downloads

2004-08-10 Thread jean-frederic clere
Research Informatics -Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 5:26 AM To: Tomcat Developers List Subject: Re: Fwd: md5 sums for jakarta downloads Pier Fumagalli wrote: Begin forwarded message: From: Andy Mudrak [EMAIL PROTECTED

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jean-frederic clere
Hi, Be carefull with our os: +++ #if (APR_MAJOR_VERSION 1)^M #undef apr_socket_create #define apr_socket_create apr_socket_create_ex^M #endif^M +++ It does not run on my OS(s): +++ [EMAIL PROTECTED]:~/apache20 bin/apachectl start httpd: Syntax error on line 287 of

Re: tomcat.exe and tomcatw.exe

2004-08-04 Thread jean-frederic clere
Glen Stampoultzis wrote: Hi, I was just wondering how tomcat.exe and tomcatw.exe get built. I grepped a number of the tomcat modules but could find a reference to files of these names. I think it comes from jakarta-commons/daemon/src/native/nt/procrun. Regards, Glen

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jean-frederic clere
Mladen Turk wrote: [EMAIL PROTECTED] commited: new = apr_array_push(conf-aliases); -new-fake = f; -new-real = r; +new-fake = apr_pstrdup(cmd-pool, f); +new-real = apr_pstrdup(cmd-pool, r); There is no need to do that. The f is eventually set to cmd-path

Re: Libajp -- some naming considerations.

2004-08-02 Thread jean-frederic clere
Mladen Turk wrote: Hi, Cause the API still in the stage of developement I'd like to make some renaiming, cause we'll be stuck into for a while. 1. ajp_msg_get/peek_byte = ajp_msg_get/peek_uint8 to be consistent with other data type, or change the ajp_msg_append from uint8 to byte. +1 2.

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy proxy_ajp.c

2004-07-30 Thread jean-frederic clere
Graham Leggett wrote: [EMAIL PROTECTED] wrote: First try to get proxy using ajp (Note that is for httpd-2.1). Couple of comments (realising this is first try code): /* * Canonicalise http-like URLs. * scheme is the scheme for the URL * urlis the URL starting with the first '/'

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c ajp.h

2004-07-30 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: mturk 2004/07/29 23:32:54 Modified:ajp/ajplib/test ajp_header.c ajp.h Log: Change the casting from void* to msg*. We don't need that, cause the ajp_msg_t is public. The ideas was to prevent including of ajp.h in proxy_ajp.c Now ajp_header.c doesn't

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c ajp.h

2004-07-30 Thread jean-frederic clere
Mladen Turk wrote: -Original Message- From: jean-frederic clere The ideas was to prevent including of ajp.h in proxy_ajp.c Now ajp_header.c doesn't compile: But the ajp.h is a public API for libajp, so, it should be included in any project using it. It has defined OK but I want

Re: Someone with JSR154 karma...

2004-07-29 Thread jean-frederic clere
Shapira, Yoav wrote: ... please commit the Portuguese resources attached to Bugzilla 29923: http://issues.apache.org/bugzilla/show_bug.cgi?id=29923. I don't have karma myself for the jakarta-servletapi-5 module. Thanks, It should go in jakarta-servletapi-5/jsr154/examples/WEB-INF/classes as

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test testajp.c

2004-07-29 Thread jean-frederic clere
Mladen Turk wrote: Hi, Running testajp (ajp_send_header) I see in catalina console: 2004.07.29 09:58:23 org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 72 Something missing? Yes, a ajp_msg_reset() was missing. I have committed the change. MT.

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_msg.c

2004-07-29 Thread jean-frederic clere
Henri Gomez wrote: [EMAIL PROTECTED] wrote: jfclere 2004/07/29 01:47:49 Modified:ajp/ajplib/test ajp_msg.c Log: Add ajp_msg_peek_byte() to read the type of the response. Revision ChangesPath 1.9 +24 -0 jakarta-tomcat-connectors/ajp/ajplib/test/ajp_msg.c it

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_msg.c

2004-07-29 Thread jean-frederic clere
Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: [EMAIL PROTECTED] wrote: jfclere 2004/07/29 01:47:49 Modified:ajp/ajplib/test ajp_msg.c Log: Add ajp_msg_peek_byte() to read the type of the response. Revision ChangesPath 1.9 +24 -0 jakarta-tomcat

ajp_marshal_into_msgb to the new ajp

2004-07-28 Thread jean-frederic clere
Hi, I am going to move and adapt the ajp_marshal_into_msgb to the new ajp library. Any comments? Cheers Jean-Frederic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ajp_marshal_into_msgb to the new ajp

2004-07-28 Thread jean-frederic clere
Henri Gomez wrote: jean-frederic clere wrote: Hi, I am going to move and adapt the ajp_marshal_into_msgb to the new ajp library. in ajp_msg.c or a new ajp_proto13.c ? ajp_header.c and ajp_header.h I wonder if how many C source file we should have ? A lot

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c

2004-07-28 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: mturk 2004/07/28 09:34:22 Modified:ajp/ajplib/test ajp_header.c Log: Modify sc_for_req_method. It is exactly the same as Apache's lookup_builtin_method with added SC_M_SEARCH Thanks. Mine was telling: +++ [Wed Jul 28 18:43:56 2004] [debug]

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c

2004-07-28 Thread jean-frederic clere
Mladen Turk wrote: [EMAIL PROTECTED] jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c +rc = ajp_msg_create(r-pool,msg); Can we use Apache coding convention having one space after comma in function params? Oops, I have done lot of those... I will fix them tomorrow. It won't IMO have

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp_header.c

2004-07-28 Thread jean-frederic clere
jean-frederic clere wrote: [EMAIL PROTECTED] wrote: mturk 2004/07/28 09:34:22 Modified:ajp/ajplib/test ajp_header.c Log: Modify sc_for_req_method. It is exactly the same as Apache's lookup_builtin_method with added SC_M_SEARCH Thanks. Mine was telling: +++ [Wed Jul 28 18:43:56

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c

2004-07-28 Thread jean-frederic clere
Mladen Turk wrote: [EMAIL PROTECTED] commited: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c One question. In ajp_send_header you are calling twice the ajp_ilink_send(sock,msg); First checking rv, and second not. Copy/paste ? Oops, that may why the Tomcat is not

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c

2004-07-28 Thread jean-frederic clere
jean-frederic clere wrote: Mladen Turk wrote: [EMAIL PROTECTED] commited: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c One question. In ajp_send_header you are calling twice the ajp_ilink_send(sock,msg); First checking rv, and second not. Copy/paste ? Oops

Re: mod_ajp / ajplib

2004-07-27 Thread jean-frederic clere
Henri Gomez wrote: Mladen Turk wrote: Henri Gomez wrote: It seems we all agreed on the need to make an ajplib using APR to provide a fully functionnal AJP client lib. This library will be used by : - mod_ajp (at least to have some sort of test framework) Well, it's discussable if we decide

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test testajp.c httpd_wrap.c

2004-07-27 Thread jean-frederic clere
Henri Gomez wrote: Mladen Turk wrote: Henri Gomez wrote: Mladen what about commiting your work on mod_ajp. Even if we didn't take any decisions yet, it will be usefull to have it save somewhere in ASF CVS ;) It's on the apache web site, so it won't get lost, cause I have no intent to remove

Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test Makefile

2004-07-27 Thread jean-frederic clere
Mladen Turk wrote: [EMAIL PROTECTED] commited: Add lib_ajp and build testajp using it. Can you add some preproc define to makefile for lib_ajp (I would preffer libajp), and testajp in a form of: #ifdef AJP_USE_HTTPD_WRAP #include httpd_wrap.h #else #endif It will enable using wrapper

Re: jk 1.2.6 release - need more binaries

2004-07-26 Thread jean-frederic clere
Henri Gomez wrote: Hi to all, For jk 1.2.6 the following binaries are allready available : Windows (ISAPI/JK for AP 1.3.31/JK for AP2 2.0.50) Linux (JK for Fedora Core 2 Apache 2.0.50, for Suse 8.0 Apache 2.0.50 PPC, for Suse 9.1 Apache 2.0) Solaris (JK for Apache 1.3.31 EAPI/STANDARD) iSeries

Re: Mod_ajp initial

2004-07-26 Thread jean-frederic clere
Henri Gomez wrote: Costin Manolache wrote: Mladen Turk wrote: Of course, no one is forced to participate in development, but everyone is welcome. The only question is do we have enough juice to make it official. AFICT, Remy, Henri and myself are in favor. But frankly I see no reason for someone

Re: jk 1.2.6 to be tagged

2004-07-23 Thread jean-frederic clere
Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ JFC's portable.h breaks NetWare too; should I now extend the #ifndef like Henry did? I don't see what is wrong: jk/native/common/portable.h should be created from portable.h.in when doing configure. I

Re: jk 1.2.6 to be tagged - showstopper

2004-07-23 Thread jean-frederic clere
Henri Gomez wrote: Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ I've just tried to build on Linux, and it breaks in jki_connect.c on two boxes, SuSE 7.2 and SuSE9, on the first because no in_addr_t, on the second because its defined as struct and

Re: jk 1.2.6 to be tagged

2004-07-23 Thread jean-frederic clere
Henri Gomez wrote: Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ JFC's portable.h breaks NetWare too; should I now extend the #ifndef like Henry did? I guess there are probably more platforms which dont have portable.h, so it's perhaps a better

Re: jk 1.2.6 to be tagged - showstopper

2004-07-23 Thread jean-frederic clere
Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ I've just tried to build on Linux, and it breaks in jki_connect.c on two boxes, SuSE 7.2 and SuSE9, on the first because no in_addr_t

Re: jk 1.2.6 to be tagged - showstopper

2004-07-23 Thread jean-frederic clere
Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ I've just tried to build on Linux, and it breaks in jki_connect.c on two boxes, SuSE

Re: jk 1.2.6 to be tagged - showstopper

2004-07-23 Thread jean-frederic clere
Günter Knauf wrote: Hi, http://jakarta.apache.org/~hgomez/jakarta-tomcat-connectors-jk-1.2.6/ I've just tried to build on Linux, and it breaks in jki_connect.c on two boxes, SuSE 7.2 and SuSE9, on the first because no in_addr_t, on the second because its defined as struct and not ulong;

Re: jk 1.2.6 to be tagged - showstopper

2004-07-23 Thread jean-frederic clere
Gnter Knauf wrote: Hi, I don't get the problems on my 7.2 and 9.0 ;-( hmm, maybe it's a 7.1, or 7.0 box; I will check; but I looked already with man inet_addr and found ulong as return value, and not in_add_t; do we have any chance that configure detects if we have in_addr_t or not? Yes, I will

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Mladen Turk wrote: Filip Hanik wrote: really, so then there is no fail over. Yes there are. In Jk default is to fail over always. The JK2 has a routeRedirect to handle such cases (but not strictly). If the routeRedirect is down it will still fail over, which is probably incorrect. cause that

Re: mod_proxy details : WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Henri Gomez wrote: Remy Maucherat wrote: Filip Hanik - Dev wrote: ok, there are two very simple memory friendly ways to do sticky load balancing. And as a matter of fact, this is how some hardware loadbalancers do it. 1. Set a cookie on the clients machine - no server memory to hold a map 2. If

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Mladen Turk wrote: Ab -n 1 Time taken for tests: 239.614549 seconds Complete requests: 1 Failed requests:7011 So, mod_proxy is a lot slower and doesn't handle load. (Perhaps increasing http listeners on TC would help). Increasing the maxThreads to 350 and acceptCount to

Extract of APACHE 2.1 STATUS

2004-07-22 Thread jean-frederic clere
+++ WISH LIST * mod_proxy performance: when mod_proxy is configured to do proxy gateway (aka reverse proxy), it would be nice to be able to reuse connections to the backend servers. Now, connections to the backend servers are taken down when the corresponding frontend

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Mladen Turk wrote: jean-frederic clere wrote: [error] (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed Anyone has a clue where and why those error messages comes

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Remy Maucherat wrote: Graham Leggett wrote: jean-frederic clere wrote: I also I have some (40) errors with concurrency 300 but Tomcat and Apache are in 2 different machines: +++ [Thu Jul 22 11:39:39 2004] [error] [client 172.25.182.35] proxy: DNS lookup failure for: pgtr0327.mch.fsc.net

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Graham Leggett wrote: jean-frederic clere wrote: Not for each request but each time http makes a new connection to Tomcat. We have to cache the result of apr_sockaddr_info_get(). Added to bugzilla as a request for enhancement (so this doesn't fall through the cracks). That is PR 30259. Regards

Re: Some benchs results : WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread jean-frederic clere
Henri Gomez wrote: Remy Maucherat wrote: Henri Gomez wrote: I made some benchs on my Linux Fedora Core 2 on a P4 2.8ghz / 1Gb RAM : Apache 2.0.50 in - Apache 2.0.50 alone (simple html file) - TC 3.3.2/Coyote 1.1 - Apache 2.0.50 + jk 1.2.6 + TC 3.3.2/jk2 JkMount /examples/* local

Re: Invitation to HTTPD commiters in tomcat-dev

2004-07-21 Thread jean-frederic clere
Graham Leggett wrote: Mladen Turk wrote: I don't think that it is necessary for a mod_ajp to be included inside the mod_proxy, although they are sharing some common concepts. I think it's very necessary - sharing those common concepts ultimately makes for doing things in a consistent way. It

Re: Invitation to HTTPD commiters in tomcat-dev

2004-07-21 Thread jean-frederic clere
Henri Gomez wrote: Graham Leggett wrote: Costin Manolache wrote: But I still think we should start with using mod_proxy with http protocol, and add the missing load balancing and extra info - if we are not happy with the performance and we need a small boost, we could also add ajp. I think

Re: Some JK2 ideas v.3

2004-07-16 Thread jean-frederic clere
Remy Maucherat wrote: My turn :) Sorry, I won't help code it (well, maybe a little for the Java part); so I don't know if I have a say in any decision, but I though I should participate as well. - it should be simpler than JK 1 or 2 - it should have a name which doesn't confuse folks :) -

Re: StandardServer - await() shutdown

2004-07-16 Thread jean-frederic clere
Lukas Bradley wrote: I'm looking at the shutdown command wait code, and I'm a bit perplexed at one piece. Could someone explain to me how the following code from StandardServer, starting from line 526 (v5.0.27), helps protect from a Dos attack? Why not simply limit the incoming stream to 1024,

Re: Some JK2 ideas

2004-07-15 Thread jean-frederic clere
Mladen Turk wrote: Hi all, Seems that the JK2 development has been stalled for a while, cause either developers loose the interest, or it's so damn good :) I would like to propose few things that IMO could make the JK2 a better. 1. Get rid of JNI from core and make a new

Re: Some JK2 ideas

2004-07-15 Thread jean-frederic clere
Henri Gomez wrote: Andy Armstrong wrote: Mladen Turk wrote: In contrary, it makes it simpler, cause you have a common denominator, and that is 'well documented' config file, usable on any container. Well documented is the crux here for me. Or at least readily understandable. I've just had

Please remove some subscribed addresses

2004-07-15 Thread jean-frederic clere
Hi, The following emails send me an error message each time I am mailling tomcat-dev: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Could someone arrange this? Cheers Jean-frederic

Re: Please remove some subscribed addresses

2004-07-15 Thread jean-frederic clere
Shapira, Yoav wrote: Hola, OK, done. Thanks Some addresses came back as not subscribed already, so maybe they're false in the headers or someone else already removed them. Yoav Shapira Millennium Research Informatics -Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED

Re: Some JK2 ideas v.2

2004-07-15 Thread jean-frederic clere
Tim Funk wrote: If this is all wishlists .. it'd be nice if we could set the worker and handler via mod_rewrite. Intead of JkMount /*.jsp loadbalancer Say: RewriteCond %{REQUEST_URI} *\.jsp RewriteRule ^(.+)$$1 [T=jk,E=worker:loaderbalance] [If my syntax above is correct] Rewrite

Re: jk_connect and multi-threading

2004-07-13 Thread jean-frederic clere
Henri Gomez wrote: Henri Gomez wrote: Bill Barker wrote: - Original Message - From: Henri Gomez [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Monday, July 12, 2004 3:07 AM Subject: jk_connect and multi-threading Hi to all, I'm looking for a strange problem under

Re: jk_connect and multi-threading

2004-07-13 Thread jean-frederic clere
Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: Henri Gomez wrote: Bill Barker wrote: - Original Message - From: Henri Gomez [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Monday, July 12, 2004 3:07 AM Subject: jk_connect and multi-threading Hi

Re: Ready for mod_jk 1.2.6 release?

2004-07-09 Thread jean-frederic clere
Günter Knauf wrote: Hi, I have 2 unresolved: snprintf and vsnprintf. With Apache-2.0 we should use apr_snprintf and apr_vsnprintf for Apache-1.3 should I add ersatz routines? yes; on NetWare we have also with Apache 1.3 another system lib which lacks support of those two; so would be cool if we

Re: Ready for mod_jk 1.2.6 release?

2004-07-08 Thread jean-frederic clere
Henri Gomez wrote: Rainer Jung wrote: Hi, the last release of mod_jk 1.2.x (1.2.5) is more than 9 months old. Since then there have been important improvements (CPing/CPong and recovery_options). Especially recovery_options is very useful in transparent administration (start/stop) of cluster

Re: Ready for mod_jk 1.2.6 release?

2004-07-08 Thread jean-frederic clere
jean-frederic clere wrote: Henri Gomez wrote: Rainer Jung wrote: Hi, the last release of mod_jk 1.2.x (1.2.5) is more than 9 months old. Since then there have been important improvements (CPing/CPong and recovery_options). Especially recovery_options is very useful in transparent administration

JavaService Tomcat4.1

2004-07-06 Thread jean-frederic clere
Hi, It seems that www.alexandriasc.com does not work any more, does someone knows why? In Tomcat5 we are using procrun, should n't we do the same on Tomcat4? Cheers Jean-Frederic - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: jk2 changes

2004-06-23 Thread jean-frederic clere
Andy Armstrong wrote: (posted to the right list now - oops) I'm just making sure the Lotus Domino connector works with the latest jk2 version. As a preamble to that I usually make sure I can get mod_jk2 working with Apache 2 as a kind of baseline. This time I'm getting stuck. Is there an

Re: UTF8 or sys prop value?

2004-06-14 Thread jean-frederic clere
Shapira, Yoav wrote: Hi, I see in StandardServer#storeConfig and MemoryUserDatabase#save that we're creating the output writers for server.xml and tomcat-users.xml using a hard-coded UTF8 encoding. Forcing UTF8 is not very lucky...It brings me problem with EBCDIC machines and tomcat-users.xml,

Re: PATCH - jk_workerEnv.c - Use jk_global.h defines

2004-05-26 Thread jean-frederic clere
NormW wrote: Greetings All. The following link is to a patch which changes two string constants in jk_workerEnv.c to use an existing #define in jk_global.h. A copy of the patch is added at the end. The patch has been successfuly applied and compiled on a NetWare platform. Committed thanks.

Re: PATCH Jk2\configwebcom.xml for recent Style update

2004-05-26 Thread jean-frederic clere
NormW wrote: Greetings All, The link below is a diff to the above referenced document, to include details for recent Style Sheet variables added to the status worker. AFAICT the changes are acceptable xml based on being similar to existing coding in the file and displayed without error by my

Re: PATCH - \jk\native2\common\jk_worker_ajp13.c - get/set updates

2004-05-26 Thread jean-frederic clere
NormW wrote: Greetings All, The link below is an updated diff to the above referenced file, and which does thefollowing: - adds 'debug' into setAttribute() (it was already listed in setAttributeInfo[]), - adds 'max_connections' to 'setAttributeInfo[]' (it was already in setAttribute()), - adds

Re: PATCH - jk\native2\common\jk_worker_ajp13.c - get/set updates

2004-05-14 Thread jean-frederic clere
NormW wrote: Greetings All, The link below is a diff to the above referenced file, and which does the following: - adds 'debug' into setAttribute() (it was listed already in setAttributeInfo[]), - adds 'max_connections' to 'setAttributeInfo[]' (it was already in setAttribute()), - adds

Re: [PATCH] Strftime log format

2004-04-22 Thread jean-frederic clere
Y.Uzumasa wrote: Hi! I made a patch for the strftime(3) log format because I read a comment on the org.apache.catalina.util.Strftime. Would someone evaluate and apply it? Regards. http://www.mars.co.jp/dev/tomcat/StrftimeFormat.java a diff -u old_file new_file would be great. Cheers

Re: pageEncoing and contentType

2004-04-21 Thread jean-frederic clere
seiji takegata wrote: Hi, I found the portion of the code which add charset string specified in pageEncoding when charset is not specified in contentType in the jasper source code Varidator.java. public static void validate(Compiler compiler, Node.Nodes page)

Re: pageEncoing and contentType

2004-04-20 Thread jean-frederic clere
Jan Luehe wrote: seiji takegata wrote: Hi, I'm trying to generate PDF document from JSP, using itext library. (http://www.lowagie.com/iText/) I set contentType attribute to get browser open AdobeReader, and pageEncoding to get right encoding for Japanese characters, %@ page

Re: pageEncoing and contentType

2004-04-20 Thread jean-frederic clere
seiji takegata wrote: Hi jean, Thank you for your reply. On BS2000 I use the following for native jsp: +++ ?xml version=1.0 encoding=OSD_EBCDIC_DF04_1? %@ page session=false pageEncoding=OSD_EBCDIC_DF04_1 contentType=text/html; charset=iso-8859-1 % +++ I tried, but it did not help. I'm

Re: single percent sign in a parameter causes an exception report detailing tomcat version

2004-04-16 Thread jean-frederic clere
David Cassidy wrote: its very very easy to replicate. Seems there is a buffer in jk_ajp_common.c line 383 ? which gives a Error ajp_marshal_into_msgb - Error appending the query string in the jk.log file ! Just do testpage.jsp?param= and make the value 7600 'A's

Re: How to go about updating the JK docs on jakarta.apache.org

2004-04-14 Thread jean-frederic clere
Shapira, Yoav wrote: Hi, I've added a link to jakarta-tomcat-connectors/jk/xdocs/index.xml to the wiki page where we list the external documents on using/configuring the connectors. Now I'd like to update the jakarta.apache.org web site. The files are in

Re: Discussion - /jkstatus and stylesheets

2004-04-01 Thread jean-frederic clere
Thorsten Kamann wrote: Hello, Henri Gomez schrieb: Well I didn't like very well the hardcoded way, so I'd like to have it externally. We could : Define a stylesheet property var in workers2.properties, which will contains a full URL and if this var is null, fallback to previous method. Is

Re: Segmentatio fault in Apache 2

2004-04-01 Thread jean-frederic clere
Thorsten Kamann wrote: Hello, i have a problem with JK and Apache 2 on SuSE 8.2. Which versions are you using? When I have the JK2 installed into the Apache every request (also non-tomcat requests) produces a Segmentaion fault: [Thu Apr 01 13:30:11 2004] [notice] jk2_init() Setting scoreboard

Re: Segmentatio fault in Apache 2

2004-04-01 Thread jean-frederic clere
Thorsten Kamann wrote: jean-frederic clere schrieb: Thorsten Kamann wrote: Hello, i have a problem with JK and Apache 2 on SuSE 8.2. Which versions are you using? upps, sorry... JK2.04 jk2 2.0.4 and Apache 2.0.48, hard to improve. - Try to get a core file by adding in httpd.conf

Re: Segmentatio fault in Apache 2

2004-04-01 Thread jean-frederic clere
Thorsten Kamann wrote: Hello, jean-frederic clere schrieb: jk2 2.0.4 and Apache 2.0.48, hard to improve. - Try to get a core file by adding in httpd.conf: +++ CoreDumpDirectory /home/cores this dosnt work. I have appended CoreDumpDirectory /tmp/apache_cores to the httpd.conf. Make the dir

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2004-03-31 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: jfclere 2004/03/31 06:22:04 Modified:jk/native2/server/apache2 mod_jk2.c Log: Fix handling of id added in jk2_create_dir_config(). Please review I spent time to find why we added the id to path and uri but now I do not understand why we added it. I do

Re: TC evolment

2004-03-31 Thread jean-frederic clere
Mladen Turk wrote: Hi, Heretic perhaps, but I'd like to integrate PHP (perhaps even Perl) directly with TC. What do you want to do? - Call native methods in TC to get PHP running. - Write a servlet engine that understands PHP. (Well the problem would be the libraries). Are there any thoughts on

Re: Discussion - /jkstatus and stylesheets

2004-03-31 Thread jean-frederic clere
NormW wrote: Good morning All. A recent initiative by Henri Gomez added support for a style block in the return headers for /jkstatus pages, s-jkprintf(env, s, style%s/style\n, DEFAULT_CSS); with the values passed in the block (DEFAULT_CSS) being a 'define' in the program source. A

Re: Bug: jk2 2.0.4 vs. mod_dir

2004-03-30 Thread jean-frederic clere
Jess Holle wrote: mod_jk2 2.0.4 seems to have the same issues that several mod_jk 1.2.x releases had with mod_dir. Specifically something like: Alias /MyWebApp D:\my_app_view\Myapp/codebase Directory D:\my_app_view\Myapp/codebase Options Indexes FollowSymLinks /Directory

Re: Bug: jk2 2.0.4 vs. mod_dir

2004-03-30 Thread jean-frederic clere
Henri Gomez wrote: Jess Holle wrote: Henri Gomez wrote: Jess Holle wrote: Sorry, I should have said mod_alias, not mod_dir... With Apache 1.3 or 2.0 ? 2.0.49 on Windows. I have not tried Solaris or AIX yet. [I have not bothered with mod_jk2 with Apache 1.3 -- I just use mod_jk there on an

Re: Bug: jk2 2.0.4 vs. mod_dir

2004-03-30 Thread jean-frederic clere
jean-frederic clere wrote: Henri Gomez wrote: Jess Holle wrote: Henri Gomez wrote: Jess Holle wrote: Sorry, I should have said mod_alias, not mod_dir... With Apache 1.3 or 2.0 ? 2.0.49 on Windows. I have not tried Solaris or AIX yet. [I have not bothered with mod_jk2 with Apache 1.3

Re: Bug: jk2 2.0.4 vs. mod_alias

2004-03-30 Thread jean-frederic clere
Jess Holle wrote: Jess Holle wrote: jean-frederic clere wrote: Settings and test case of course more than welcome :=} I think I have reproduced it with the following: +++ Alias /examples /opt/SMAWoIS/jakarta-tomcat-4.1.29/webapps/examples Location /examples/servlet/* JkUriSet group

Re: Patches for apr and webapp module

2004-03-29 Thread jean-frederic clere
Walter Truitt wrote: For various reasons, I wanted to compile the webapp module. I had been using it with previous versions of apache. I needed to upgrade and found I had problems compiling various combinations of the apr and webapp directories. The webapp module is depricated, try using

Re: [Fwd: Releasing JK 2.0.4]

2004-03-19 Thread jean-frederic clere
Kurt Miller wrote: From: jean-frederic clere Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: jean-frederic clere wrote: Henri Gomez wrote: jean-frederic clere wrote: Mladen Turk wrote: -Original Message- From: jean-frederic clere I have the following

Re: cvs commit: jakarta-tomcat-connectors/jk/native2 INSTALL.txt

2004-03-18 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: mturk 2004/03/17 07:51:48 Added: jk/native2 INSTALL.txt Log: Install howto jumpstart Revision ChangesPath 1.1 jakarta-tomcat-connectors/jk/native2/INSTALL.txt Index: INSTALL.txt

<    1   2   3   4   5   6   7   8   9   10   >