DO NOT REPLY [Bug 42274] New: - Uncaught NullPointerException on NioEndPoint Worker

2007-04-27 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: Improved available value

2007-04-27 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: Remy Maucherat wrote: Hi, I think I would be able to improve the handling of the available method (on the input stream) using a new action code. The processors will then query the various filters and their own buffer to see if there are bytes available somewher

Re: svn commit: r532877 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport: PooledSender.java bio/PooledMultiSender.java nio/PooledParallelSender.java

2007-04-27 Thread Filip Hanik - Dev Lists
Peter Rossbach wrote: HI Filip, this is the next step at weekend :-) how about you discuss what the proposed changes are before you commit them, I am still not sure this is the right way to go as keep alive will take care of any connections left hanging, and also removing "active" connections

Re: svn commit: r532877 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport: PooledSender.java bio/PooledMultiSender.java nio/PooledParallelSender.java

2007-04-27 Thread Filip Hanik - Dev Lists
Been thinking some more about this, this solution is definitely not right. Two reasons: 1. A member can opt out of the membership without wanting to disconnect the TCP sockets 2. There is no clean way to kill "active" connections Instead the better solution would be this: 1. Issue keepalive as

Re: svn commit: r532877 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport: PooledSender.java bio/PooledMultiSender.java nio/PooledParallelSender.java

2007-04-27 Thread Filip Hanik - Dev Lists
here is a patch that would solve it the way I proposed Index: java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java === --- java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java (revision 533123

svn commit: r533164 - in /tomcat/tc6.0.x/trunk/java/org/apache: catalina/connector/ coyote/ coyote/http11/ coyote/http11/filters/

2007-04-27 Thread remm
Author: remm Date: Fri Apr 27 10:04:36 2007 New Revision: 533164 URL: http://svn.apache.org/viewvc?view=rev&rev=533164 Log: - Add more accurate available() method, using a new action (still very cheap to invoke, and quite simple). - This is mostly useful for Comet, since it can be difficult to kn

DO NOT REPLY [Bug 42282] New: - SSL not working with native libraries

2007-04-27 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 42282] - SSL not working with native libraries

2007-04-27 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: Improved available value

2007-04-27 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: Remy Maucherat wrote: Hi, I think I would be able to improve the handling of the available method (on the input stream) using a new action code. The processors will then query the various filters and their own buffer to see if there are b

Re: Improved available value

2007-04-27 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: Remy Maucherat wrote: Hi, I think I would be able to improve the handling of the available method (on the input stream) using a new action code. The processors will then query the various filters and their own buffer to see if there are b

DO NOT REPLY [Bug 42274] - Uncaught NullPointerException on NioEndPoint Worker

2007-04-27 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: r533197 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport: PooledSender.java nio/ParallelNioSender.java

2007-04-27 Thread fhanik
Author: fhanik Date: Fri Apr 27 12:40:21 2007 New Revision: 533197 URL: http://svn.apache.org/viewvc?view=rev&rev=533197 Log: Undo Pero's checkin, sorry Peter, just can't have it in there until the solution is more robust, although I don't think it will ever be implemented in association with me

Any interest in "Asynchronous Servlets"

2007-04-27 Thread Filip Hanik - Dev Lists
This is not quite the same as Comet. Main difference is that the "Asynchronous Servlets" (AS) are not registered with the Poller. It just means that when a HTTP request comes in, the Request/Response pair can be handed off to a background thread. Useful for AJAX scenarios. Should we implement

Re: Any interest in "Asynchronous Servlets"

2007-04-27 Thread Yoav Shapira
Filip, On 4/27/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: This is not quite the same as Comet. Main difference is that the "Asynchronous Servlets" (AS) are not registered with the Poller. It just means that when a HTTP request comes in, the Request/Response pair can be handed off to

Re: Any interest in "Asynchronous Servlets"

2007-04-27 Thread Filip Hanik - Dev Lists
Yoav Shapira wrote: Filip, On 4/27/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: This is not quite the same as Comet. Main difference is that the "Asynchronous Servlets" (AS) are not registered with the Poller. It just means that when a HTTP request comes in, the Request/Response pair

Re: Any interest in "Asynchronous Servlets"

2007-04-27 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: This is not quite the same as Comet. Main difference is that the "Asynchronous Servlets" (AS) are not registered with the Poller. It just means that when a HTTP request comes in, the Request/Response pair can be handed off to a background thread. Useful for AJAX

svn commit: r533239 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector: CometEventImpl.java LocalStrings.properties

2007-04-27 Thread remm
Author: remm Date: Fri Apr 27 15:00:40 2007 New Revision: 533239 URL: http://svn.apache.org/viewvc?view=rev&rev=533239 Log: - Add an explicit check for null (it's there in the facades ...). Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CometEventImpl.java tomcat/tc6.0

svn commit: r533240 - in /tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector: CoyoteAdapter.java InputBuffer.java Request.java

2007-04-27 Thread remm
Author: remm Date: Fri Apr 27 15:03:57 2007 New Revision: 533240 URL: http://svn.apache.org/viewvc?view=rev&rev=533240 Log: - Add code to check that at least one read is made that goes down to the connector for each read event. - It is an error to not read bytes as long as some are reported as av

svn commit: r533272 - in /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11: Http11AprProcessor.java Http11AprProtocol.java Http11NioProcessor.java Http11NioProtocol.java

2007-04-27 Thread remm
Author: remm Date: Fri Apr 27 17:49:06 2007 New Revision: 533272 URL: http://svn.apache.org/viewvc?view=rev&rev=533272 Log: - Add socket to the poller after cleanup in the connection handler event method (possible memory leak). Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Htt

DO NOT REPLY [Bug 40809] - Tomcat 5.5.20 fails to load ServletContextListener in tld!

2007-04-27 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: Any interest in "Asynchronous Servlets"

2007-04-27 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: This is not quite the same as Comet. Main difference is that the "Asynchronous Servlets" (AS) are not registered with the Poller. It just means that when a HTTP request comes in, the Request/Response pair can be handed off to a background thr