Re: Mod_jk : function maintain()

2006-07-13 Thread Mladen Turk
Jean-frederic Clere wrote: Rainer Jung wrote: It's called once a minute (at least if a request comes in) to be able to clean up things not directly related to the actual request, like closing idle connections. Something to add to mod_proxy probably. If you finish your maintenance module

Re: bug in ChunkedInputFilter

2006-07-13 Thread Jean-frederic Clere
Please tell: TC ignores the chunk-extension instead "ignore this data". Cheers Jean-Frederic Filip Hanik - Dev Lists wrote: Here is the promised patch for the ChunkedInputFilter, please review and comment, Filip ---

svn commit: r421808 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-07-13 Thread fhanik
Author: fhanik Date: Thu Jul 13 22:14:31 2006 New Revision: 421808 URL: http://svn.apache.org/viewvc?rev=421808&view=rev Log: While this change made my linux box go faster, I could constantly crash my windows VM, so it will have to wait Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/u

svn commit: r421806 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-07-13 Thread fhanik
Author: fhanik Date: Thu Jul 13 21:49:46 2006 New Revision: 421806 URL: http://svn.apache.org/viewvc?rev=421806&view=rev Log: Take advantage of Java 5 concurrent classes Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/tc6.0.x/trunk/java/org/ap

svn commit: r421791 - in /tomcat/tc6.0.x/trunk/java/org/apache: coyote/http11/InternalNioInputBuffer.java tomcat/util/net/NioEndpoint.java

2006-07-13 Thread fhanik
Author: fhanik Date: Thu Jul 13 20:27:06 2006 New Revision: 421791 URL: http://svn.apache.org/viewvc?rev=421791&view=rev Log: Optimize timeout handling, thanks to a suggestion from [EMAIL PROTECTED], although this does put a gap in the timeout check, even in those cases where there shouldn't be,

DO NOT REPLY [Bug 40042] - When mcastBindAddress is set and disabling/enabling interface on Win get infinite NoRouteToHostException

2006-07-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: TC6, Response.recycle question

2006-07-13 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: I'm looking to be enlightened You gave all the reason by yourself: this is an invalid access, so an application bug. If there's no security manager, then it's not a problem (the person is supposed to fix his bug), while if the security

Re: bug in ChunkedInputFilter

2006-07-13 Thread Filip Hanik - Dev Lists
Here is the promised patch for the ChunkedInputFilter, please review and comment, Filip - Index: java/org/apache/coyote/http11/Constants.java === --

DO NOT REPLY [Bug 40042] New: - When mcastBindAddress is set and disabling/enabling interface on Win get infinite NoRouteToHostException

2006-07-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Mod_jk : function maintain()

2006-07-13 Thread Jean-frederic Clere
Rainer Jung wrote: It's called once a minute (at least if a request comes in) to be able to clean up things not directly related to the actual request, like closing idle connections. Something to add to mod_proxy probably. Cheers Jean-Frederic [EMAIL PROTECTED] schrieb: Hi, I'm curr

DO NOT REPLY [Bug 38713] - java.io.IOException: tmpFile.renameTo(classFile) failed when compiling new JSP (upon redeploy)

2006-07-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38713] - java.io.IOException: tmpFile.renameTo(classFile) failed when compiling new JSP (upon redeploy)

2006-07-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

svn commit: r421694 - in /tomcat/tc6.0.x/trunk/java/org/apache: catalina/CometProcessor.java coyote/http11/Http11NioProcessor.java tomcat/util/net/NioEndpoint.java

2006-07-13 Thread fhanik
Author: fhanik Date: Thu Jul 13 12:51:56 2006 New Revision: 421694 URL: http://svn.apache.org/viewvc?rev=421694&view=rev Log: Set a per connection timeout Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/CometProcessor.java tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11N

Re: Mod_jk : function maintain()

2006-07-13 Thread Rainer Jung
It's called once a minute (at least if a request comes in) to be able to clean up things not directly related to the actual request, like closing idle connections. [EMAIL PROTECTED] schrieb: > Hi, > > I'm currently working in mod_jk in order to add a particular mechanism, in > this > work I have

Mod_jk : function maintain()

2006-07-13 Thread gaston . azerty
Hi, I'm currently working in mod_jk in order to add a particular mechanism, in this work I have to understand the structure and the behavior of the different workers (status, lb,...). So I spend my time in the reverse engineering of mod_jk... An for example I don't really understand the meaning

svn commit: r421645 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina: CometProcessor.java servlets/CometServlet.java

2006-07-13 Thread fhanik
Author: fhanik Date: Thu Jul 13 08:12:56 2006 New Revision: 421645 URL: http://svn.apache.org/viewvc?rev=421645&view=rev Log: Add optional comet timeout support Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/CometProcessor.java tomcat/tc6.0.x/trunk/java/org/apache/catalina/servle

Re: [TC6] Cluster and storeconfig

2006-07-13 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: definitely the modules/ha and modules/groupcom. I'd like to clean it up first though, my idea is to instead of configuing all the messaging inside the element, the actual Tribes impl I'd rather configure as a JNDI resource, this has a some

Re: bug in ChunkedInputFilter

2006-07-13 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: gents, I know, back again, and totally bastardizing the HTTP protocol, I have a test request that looks like this: -- POST /comet HTTP/1.1CRLF User-Agent: Jakarta Commons-HttpClient/3.0.1CRLF Host: 127.0.0.1:80

Re: [TC6] Cluster and storeconfig

2006-07-13 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: definitely the modules/ha and modules/groupcom. I'd like to clean it up first though, my idea is to instead of configuing all the messaging inside the element, the actual Tribes impl I'd rather configure as a JNDI resource, this has a some benefits, to mention a

Re: [TC6] Cluster and storeconfig

2006-07-13 Thread Filip Hanik - Dev Lists
definitely the modules/ha and modules/groupcom. I'd like to clean it up first though, my idea is to instead of configuing all the messaging inside the element, the actual Tribes impl I'd rather configure as a JNDI resource, this has a some benefits, to mention a few - more components can take

svn commit: r421634 - in /tomcat/tc6.0.x/trunk: conf/logging.properties conf/server.xml java/org/apache/catalina/core/StandardContext.java java/org/apache/catalina/core/mbeans-descriptors.xml java/org

2006-07-13 Thread remm
Author: remm Date: Thu Jul 13 07:00:17 2006 New Revision: 421634 URL: http://svn.apache.org/viewvc?rev=421634&view=rev Log: - Comment out storeconfig for now. - Port patch. - Add logging.properties. Added: tomcat/tc6.0.x/trunk/conf/logging.properties (with props) Modified: tomcat/tc6.0.

[TC6] Cluster and storeconfig

2006-07-13 Thread Remy Maucherat
Hi, I think it's the right time to add the storeconfig code, as well as a clustering implementation (so, which one ?). Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

svn commit: r421606 - /tomcat/tc6.0.x/trunk/build.xml

2006-07-13 Thread remm
Author: remm Date: Thu Jul 13 05:48:04 2006 New Revision: 421606 URL: http://svn.apache.org/viewvc?rev=421606&view=rev Log: - Add the set of scripts. Modified: tomcat/tc6.0.x/trunk/build.xml Modified: tomcat/tc6.0.x/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/buil

svn commit: r421604 - /tomcat/tc6.0.x/trunk/bin/

2006-07-13 Thread remm
Author: remm Date: Thu Jul 13 05:46:40 2006 New Revision: 421604 URL: http://svn.apache.org/viewvc?rev=421604&view=rev Log: - Add the set of scripts. Added: tomcat/tc6.0.x/trunk/bin/catalina-tasks.xml (with props) tomcat/tc6.0.x/trunk/bin/catalina.bat (with props) tomcat/tc6.0.x/t

Re: Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-13 Thread Henri Gomez
2006/7/13, Jean-frederic Clere <[EMAIL PROTECTED]>: Henri Gomez wrote: > I don't know if we could called it a regression but the API spec is to > used a socklen_t not an int or unsigned int. > > iSeries compiler is very strict on such 'cast' and probably some > others. gcc is a little more conci

Re: Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-13 Thread Jean-frederic Clere
Henri Gomez wrote: I don't know if we could called it a regression but the API spec is to used a socklen_t not an int or unsigned int. iSeries compiler is very strict on such 'cast' and probably some others. gcc is a little more conciliant :) BTW, I think next major version of mod_jk (1.3 / 3.

Re: JK and AJP protocol enhancements

2006-07-13 Thread Jean-frederic Clere
Henri Gomez wrote: Well there was some provision in mind in AJP 1.4 : Context informations forwarding for Servlet engine to Web Server With this kind of information requested by webserver, we could determine the version of Servlet AJP implementation and as such use 32/64k buffers. the jk cou

Re: Comet timeout proposal

2006-07-13 Thread Remy Maucherat
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: 1. Proposal one - per socket timeout ability for comet requests I was thinking of enhancing the Comet servlet with the ability to add a per-socket-timeout, so that Comet requests don't have to be tuned under the regular timeout specified i

Re: Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-13 Thread Rainer Jung
How come, it worked for 1.2.16? Henri Gomez schrieb: > I don't know if we could called it a regression but the API spec is to > used a socklen_t not an int or unsigned int. > > iSeries compiler is very strict on such 'cast' and probably some > others. gcc is a little more conciliant :) > > BTW,

Re: Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-13 Thread Henri Gomez
I don't know if we could called it a regression but the API spec is to used a socklen_t not an int or unsigned int. iSeries compiler is very strict on such 'cast' and probably some others. gcc is a little more conciliant :) BTW, I think next major version of mod_jk (1.3 / 3.x ?) should use APR t

Re: bug in ChunkedInputFilter

2006-07-13 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: gents, I know, back again, and totally bastardizing the HTTP protocol, I have a test request that looks like this: -- POST /comet HTTP/1.1CRLF User-Agent: Jakarta Commons-HttpClient/3.0.1CRLF Host: 127.0.0.1:8080CRLF Transfer-Encodin

Re: TC6, Response.recycle question

2006-07-13 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: I'm looking to be enlightened You gave all the reason by yourself: this is an invalid access, so an application bug. If there's no security manager, then it's not a problem (the person is supposed to fix his bug), while if the security manager is there, the

Re: Comet timeout proposal

2006-07-13 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: 1. Proposal one - per socket timeout ability for comet requests I was thinking of enhancing the Comet servlet with the ability to add a per-socket-timeout, so that Comet requests don't have to be tuned under the regular timeout specified in server.xml public v

Re: Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-13 Thread Rainer Jung
Hi Henri, thanks for reporting this. This has already been part of 1.2.16. I thought you found only one bug for that platform, which we fixed (unixd.h). I can build 1.2.17 on solaris 64 bit sparc, and on linux 32 bit and 64 bit AMD (both times SuSE Enterprise 9). I get a couple of warnings, but

Re: JK and AJP protocol enhancements

2006-07-13 Thread Henri Gomez
Well there was some provision in mind in AJP 1.4 : Context informations forwarding for Servlet engine to Web Server With this kind of information requested by webserver, we could determine the version of Servlet AJP implementation and as such use 32/64k buffers. the jk could send question like