Re: Connectors, blocking, and keepalive

2014-03-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/03/2014 00:50, Christopher Schultz wrote: Mark, On 3/23/14, 6:12 PM, Mark Thomas wrote: On 23/03/2014 22:07, Christopher Schultz wrote: Mark, On 2/27/14, 12:56 PM, Christopher Schultz wrote: Mark, On 2/25/14, 3:31 AM, Mark Thomas

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #3 from Mark Thomas ma...@apache.org --- For the record, I can reproduce this with 8.0.x using: - Unbuntu 12.04.04 LTS VM as the server (fully patched) - Latest 8.0.x code - Oracle 1.7.0_45 64-bit JVM - Snake WebSocket example -

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #4 from Mark Thomas ma...@apache.org --- Add info from the users list that the timeout does occur after approx 15 minutes. This is - believe it or not - working as designed! See this thread from SO (it is off topic for SO but

svn commit: r1580821 - in /tomcat/trunk/webapps/docs: changelog.xml web-socket-howto.xml

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 12:18:57 2014 New Revision: 1580821 URL: http://svn.apache.org/r1580821 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 WebSocket + BIO HTTP + Production = bad idea Modified: tomcat/trunk/webapps/docs/changelog.xml

svn commit: r1580823 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/changelog.xml webapps/docs/web-socket-howto.xml

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 12:36:02 2014 New Revision: 1580823 URL: http://svn.apache.org/r1580823 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 WebSocket + BIO HTTP + Production = bad idea Modified: tomcat/tc7.0.x/trunk/ (props changed)

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #5 from rstoyanc...@yahoo.com --- Thanks, when you say it's expected to work this way, does it also mean the send timeout cannot be enforced with the BIO connector? Can anything meaningful be done if an application can detect

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: svn commit: r1580821 - in /tomcat/trunk/webapps/docs: changelog.xml web-socket-howto.xml

2014-03-24 Thread Rémy Maucherat
2014-03-24 13:18 GMT+01:00 ma...@apache.org: Author: markt Date: Mon Mar 24 12:18:57 2014 New Revision: 1580821 URL: http://svn.apache.org/r1580821 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 WebSocket + BIO HTTP + Production = bad idea Shouldn't the BIO connector

Re: svn commit: r1580821 - in /tomcat/trunk/webapps/docs: changelog.xml web-socket-howto.xml

2014-03-24 Thread Mark Thomas
On 24/03/2014 13:04, Rémy Maucherat wrote: 2014-03-24 13:18 GMT+01:00 ma...@apache.org: Author: markt Date: Mon Mar 24 12:18:57 2014 New Revision: 1580821 URL: http://svn.apache.org/r1580821 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 WebSocket + BIO HTTP +

svn commit: r1580849 - /tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 13:36:45 2014 New Revision: 1580849 URL: http://svn.apache.org/r1580849 Log: Review after unexpected failed test on OSX - completed needs to be volatile - prevent infinite loop Modified: tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java

[Bug 55943] Provide a way prevent looking at the System classloader before the webapp classloaders

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55943 olivier dupuy opldu...@gmail.com changed: What|Removed |Added CC|

svn commit: r1580869 - /tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 14:57:09 2014 New Revision: 1580869 URL: http://svn.apache.org/r1580869 Log: Another unit test run failure on OSX and a more careful review. Handle the case where timeout completes request before the Runnable's error handling does. Modified:

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #7 from rstoyanc...@yahoo.com --- I guess that makes the combination of WebSocket and BIO pretty unusable. Good to know in any case. I have to double check the behavior with Servlet 3 async in the same scenario with NIO. BTW

buildbot failure in ASF Buildbot on tomcat-trunk

2014-03-24 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/5631 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #8 from Mark Thomas ma...@apache.org --- If you have an issue sending more than 8k then that is a separate question for the users mailing list. Tomcat imposes no such limitation as it has no need to buffer then entire message.

[Bug 56304] WebSocket send locks and timeout does not occur after 20 seconds

2014-03-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56304 --- Comment #9 from rstoyanc...@yahoo.com --- Okay thanks Mark. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail:

Re: Connectors, blocking, and keepalive

2014-03-24 Thread Christopher Schultz
Mark, On 3/24/14, 5:37 AM, Mark Thomas wrote: On 24/03/2014 00:50, Christopher Schultz wrote: Mark, On 3/23/14, 6:12 PM, Mark Thomas wrote: On 23/03/2014 22:07, Christopher Schultz wrote: Mark, On 2/27/14, 12:56 PM, Christopher Schultz wrote: Mark, On 2/25/14, 3:31 AM, Mark Thomas

Re: Connectors, blocking, and keepalive

2014-03-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/03/2014 16:56, Christopher Schultz wrote: Mark, On 3/24/14, 5:37 AM, Mark Thomas wrote: On 24/03/2014 00:50, Christopher Schultz wrote: Mark, On 3/23/14, 6:12 PM, Mark Thomas wrote: On 23/03/2014 22:07, Christopher Schultz wrote:

svn commit: r1580930 - in /tomcat/tc8.0.x/tags/TOMCAT_8_0_5: ./ build.properties.default

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 17:28:28 2014 New Revision: 1580930 URL: http://svn.apache.org/r1580930 Log: Tag 8.0.5 Added: tomcat/tc8.0.x/tags/TOMCAT_8_0_5/ - copied from r1580929, tomcat/trunk/ Modified: tomcat/tc8.0.x/tags/TOMCAT_8_0_5/build.properties.default Modified:

Re: Connectors, blocking, and keepalive

2014-03-24 Thread Rémy Maucherat
2014-03-24 18:08 GMT+01:00 Mark Thomas ma...@apache.org: Given that this feature offers little/no benefit at the price of having to run through a whole pile of code only to end up back where you started, I'm tempted to hard-code the return value of breakKeepAliveLoop() to false for BIO HTTP.

buildbot success in ASF Buildbot on tomcat-trunk

2014-03-24 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/5632 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build

svn commit: r1580971 - /tomcat/trunk/webapps/docs/changelog.xml

2014-03-24 Thread markt
Author: markt Date: Mon Mar 24 18:22:25 2014 New Revision: 1580971 URL: http://svn.apache.org/r1580971 Log: 8.0.4 didn't make it Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL:

svn commit: r4791 [2/2] - in /dev/tomcat/tomcat-8: v8.0.4/ v8.0.5/ v8.0.5/bin/ v8.0.5/bin/embed/ v8.0.5/bin/extras/ v8.0.5/src/

2014-03-24 Thread markt
Added: dev/tomcat/tomcat-8/v8.0.5/src/apache-tomcat-8.0.5-src.tar.gz.md5 == --- dev/tomcat/tomcat-8/v8.0.5/src/apache-tomcat-8.0.5-src.tar.gz.md5 (added) +++

[VOTE] Release Apache Tomcat 8.0.5

2014-03-24 Thread Mark Thomas
The proposed Apache Tomcat 8.0.5 release is now available for voting. The main changes since 8.0.4 are: - Fix a regression in the fix for BZ 56190 - Various NIO2 fixes - Fix Java 8 syntax support for JSPs The main changes since 8.0.3 are: - Update Eclipse JDT compiler to enable full Java 8

svn commit: r1581027 - in /tomcat/tc7.0.x/tags/TOMCAT_7_0_53: ./ build.properties.default

2014-03-24 Thread violetagg
Author: violetagg Date: Mon Mar 24 20:10:24 2014 New Revision: 1581027 URL: http://svn.apache.org/r1581027 Log: Tag 7.0.53 Added: tomcat/tc7.0.x/tags/TOMCAT_7_0_53/ (props changed) - copied from r1581024, tomcat/tc7.0.x/trunk/ Modified:

svn commit: r1581061 - /tomcat/trunk/BUILDING.txt

2014-03-24 Thread violetagg
Author: violetagg Date: Mon Mar 24 20:59:03 2014 New Revision: 1581061 URL: http://svn.apache.org/r1581061 Log: Specify that Apache Ant version 1.8.2 or later is required for building Tomcat. Modified: tomcat/trunk/BUILDING.txt Modified: tomcat/trunk/BUILDING.txt URL:

svn commit: r1581065 - in /tomcat/tc7.0.x/trunk: ./ BUILDING.txt

2014-03-24 Thread violetagg
Author: violetagg Date: Mon Mar 24 21:06:07 2014 New Revision: 1581065 URL: http://svn.apache.org/r1581065 Log: Merged revision 1581061 from tomcat/trunk: Specify that Apache Ant version 1.8.2 or later is required for building Tomcat. Modified: tomcat/tc7.0.x/trunk/ (props changed)

svn commit: r1581066 - /tomcat/tc7.0.x/tags/TOMCAT_7_0_53/

2014-03-24 Thread violetagg
Author: violetagg Date: Mon Mar 24 21:07:49 2014 New Revision: 1581066 URL: http://svn.apache.org/r1581066 Log: Remove the tag in order to pick up r1581065 Removed: tomcat/tc7.0.x/tags/TOMCAT_7_0_53/ - To unsubscribe,

[Tomcat Wiki] Update of tools/nagios-send-passive-check.sh by ChristopherSchultz

2014-03-24 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The tools/nagios-send-passive-check.sh page has been changed by ChristopherSchultz: https://wiki.apache.org/tomcat/tools/nagios-send-passive-check.sh New page: {{{ #!/bin/sh # #

svn commit: r1581197 - in /tomcat/tc7.0.x/tags/TOMCAT_7_0_53: ./ build.properties.default

2014-03-24 Thread violetagg
Author: violetagg Date: Tue Mar 25 03:00:35 2014 New Revision: 1581197 URL: http://svn.apache.org/r1581197 Log: Tag 7.0.53 Added: tomcat/tc7.0.x/tags/TOMCAT_7_0_53/ (props changed) - copied from r1581194, tomcat/tc7.0.x/trunk/ Modified: