[Bug 59247] Using the IBM JDK with the security manager results in java.lang.RuntimePermission warning

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59247 --- Comment #19 from Coty Sutherland --- Remy, I just tested that patch with tomcat-8.0.x/trunk (and tomcat-7.0.x/trunk) and it looks good to me. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 57773] performance problems when using scopeless optional attributes

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57773 --- Comment #11 from Woonsan Ko --- Hooray! Thanks a lot! -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe,

[Bug 59261] Request getAsyncContext should throw IllegalStateException if async is not started

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 --- Comment #7 from Mark Thomas --- isAsyncStarted() makes sense and if we code to that and it is later relaxed we won't need to change anything. I think I am most of the way to a working patch for this. We also need to

Re: Project Jigsaw: The module system was integrated into JDK 9 and is now available for testing in early-access, build 111.

2016-04-07 Thread Mark Thomas
On 07/04/2016 22:14, Christopher Schultz wrote: > Mark, > > On 4/1/16 12:38 PM, Mark Thomas wrote: >> I ran the Tomcat 9 unit tests and there are a whole bunch of failures >> (everything passed with the previous ea release). It looks like some of >> our memory leak prevention tricks no longer

svn commit: r1738163 - in /tomcat/tc8.0.x/trunk: ./ test/org/apache/catalina/core/TestAsyncContextImpl.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:23:29 2016 New Revision: 1738163 URL: http://svn.apache.org/viewvc?rev=1738163=rev Log: Avoid NPE Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java Propchange:

[Bug 59286] New: Socket binding failures when using APR

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59286 Bug ID: 59286 Summary: Socket binding failures when using APR Product: Tomcat 8 Version: 8.0.x-trunk Hardware: PC OS: Linux Status: NEW Severity:

svn commit: r1738166 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/connector/CoyoteAdapter.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:30:05 2016 New Revision: 1738166 URL: http://svn.apache.org/viewvc?rev=1738166=rev Log: Improve test for whether or not current request is async Modified: tomcat/tc8.0.x/trunk/ (props changed)

svn commit: r1738173 - in /tomcat/tc8.0.x/trunk: conf/catalina.policy java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2016-04-07 Thread remm
Author: remm Date: Thu Apr 7 19:08:00 2016 New Revision: 1738173 URL: http://svn.apache.org/viewvc?rev=1738173=rev Log: 59247: Preload ResourceEntry. Modified: tomcat/tc8.0.x/trunk/conf/catalina.policy tomcat/tc8.0.x/trunk/java/org/apache/catalina/security/SecurityClassLoad.java

svn commit: r1738175 - /tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:11:34 2016 New Revision: 1738175 URL: http://svn.apache.org/viewvc?rev=1738175=rev Log: whitespace Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java URL:

[Bug 58750] Provide way to disable Server header completely

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58750 --- Comment #20 from Phillip Webb --- FWIW we're still getting quite a bit of interest in this on the Spring Boot issue tracker. It seems like a fair number would like the ability to not send the header. -- You are

svn commit: r1738165 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/connector/CoyoteAdapter.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:27:34 2016 New Revision: 1738165 URL: http://svn.apache.org/viewvc?rev=1738165=rev Log: Improve test for whether or not current request is async Modified: tomcat/tc8.5.x/trunk/ (props changed)

svn commit: r1738162 - in /tomcat/tc8.5.x/trunk: ./ test/org/apache/catalina/core/TestAsyncContextImpl.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:23:02 2016 New Revision: 1738162 URL: http://svn.apache.org/viewvc?rev=1738162=rev Log: Avoid NPE Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java Propchange:

svn commit: r1738167 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/connector/CoyoteAdapter.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:31:21 2016 New Revision: 1738167 URL: http://svn.apache.org/viewvc?rev=1738167=rev Log: Improve test for whether or not current request is async Modified: tomcat/tc7.0.x/trunk/ (props changed)

svn commit: r1738174 - /tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:09:57 2016 New Revision: 1738174 URL: http://svn.apache.org/viewvc?rev=1738174=rev Log: Missed change in r1738147 Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java URL:

svn commit: r1738164 - in /tomcat/tc7.0.x/trunk: ./ test/org/apache/catalina/core/TestAsyncContextImpl.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 18:25:19 2016 New Revision: 1738164 URL: http://svn.apache.org/viewvc?rev=1738164=rev Log: Avoid NPE Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java Propchange:

[Bug 59261] Request getAsyncContext should throw IllegalStateException if async is not started

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 --- Comment #8 from Mark Thomas --- Fixed in trunk for 9.0.0.M5 and the unit tests still all pass. -- You are receiving this mail because: You are the assignee for the bug.

svn commit: r1738149 - in /tomcat/trunk: java/javax/servlet/ java/org/apache/catalina/connector/ java/org/apache/catalina/core/ webapps/docs/

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 16:19:55 2016 New Revision: 1738149 URL: http://svn.apache.org/viewvc?rev=1738149=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 ServletRequest.getAsyncContext() now throws an IllegalStateException as required by the Servlet specification if the

svn commit: r1738147 - /tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 16:07:56 2016 New Revision: 1738147 URL: http://svn.apache.org/viewvc?rev=1738147=rev Log: Investigating BZ 5926 An error page has to be able to call complete(). That means it needs to be able to call getAsycnContext() which means isStarted needs to be true for the

svn commit: r1738182 - in /tomcat/tc8.0.x/trunk: ./ java/javax/servlet/ java/org/apache/catalina/connector/ java/org/apache/catalina/core/ webapps/docs/

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:44:57 2016 New Revision: 1738182 URL: http://svn.apache.org/viewvc?rev=1738182=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 ServletRequest.getAsyncContext() now throws an IllegalStateException as required by the Servlet specification if the

buildbot failure in on tomcat-8-trunk

2016-04-07 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-8-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-8-trunk/builds/542 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

svn commit: r1738187 - in /tomcat/tc6.0.x/trunk: ./ conf/catalina.policy java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2016-04-07 Thread remm
Author: remm Date: Thu Apr 7 20:18:02 2016 New Revision: 1738187 URL: http://svn.apache.org/viewvc?rev=1738187=rev Log: 59247: Preload ResourceEntry. Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/conf/catalina.policy

svn commit: r1738189 - /tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 20:25:52 2016 New Revision: 1738189 URL: http://svn.apache.org/viewvc?rev=1738189=rev Log: Document what is being tested Modified: tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java Modified:

svn commit: r1738178 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:20:39 2016 New Revision: 1738178 URL: http://svn.apache.org/viewvc?rev=1738178=rev Log: Investigating BZ 5926 An error page has to be able to call complete(). That means it needs to be able to call getAsycnContext() which means isStarted needs to be true for the

svn commit: r1738180 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:35:07 2016 New Revision: 1738180 URL: http://svn.apache.org/viewvc?rev=1738180=rev Log: Investigating BZ 59261 An error page has to be able to call complete(). That means it needs to be able to call getAsycnContext() which means isStarted needs to be true for

svn commit: r1738179 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/coyote/AsyncStateMachine.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:28:26 2016 New Revision: 1738179 URL: http://svn.apache.org/viewvc?rev=1738179=rev Log: Investigating BZ 5926 An error page has to be able to call complete(). That means it needs to be able to call getAsycnContext() which means isStarted needs to be true for the

svn commit: r1738188 - /tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 20:24:22 2016 New Revision: 1738188 URL: http://svn.apache.org/viewvc?rev=1738188=rev Log: Add a unit test based on a discussion on the servlet spec users list. Modified: tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java Modified:

svn commit: r1738181 - in /tomcat/tc8.5.x/trunk: ./ java/javax/servlet/ java/org/apache/catalina/connector/ java/org/apache/catalina/core/ webapps/docs/

2016-04-07 Thread markt
Author: markt Date: Thu Apr 7 19:39:23 2016 New Revision: 1738181 URL: http://svn.apache.org/viewvc?rev=1738181=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 ServletRequest.getAsyncContext() now throws an IllegalStateException as required by the Servlet specification if the

[Bug 59261] Request getAsyncContext should throw IllegalStateException if async is not started

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59261 --- Comment #9 from Mark Thomas --- I've back-ported this to 8.5.x for 8.5.1 and 8.0.x for 8.0.34. I'll hold off on back-porting this to 7.0.x until after the 7.0.69 tag. -- You are receiving this mail because: You are the

buildbot failure in on tomcat-trunk

2016-04-07 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/1248 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

svn commit: r1738186 - in /tomcat/tc7.0.x/trunk: ./ conf/catalina.policy java/org/apache/catalina/security/SecurityClassLoad.java webapps/docs/changelog.xml

2016-04-07 Thread remm
Author: remm Date: Thu Apr 7 20:15:09 2016 New Revision: 1738186 URL: http://svn.apache.org/viewvc?rev=1738186=rev Log: 59247: Preload ResourceEntry. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/conf/catalina.policy

[Bug 57830] Add support for ProxyProtocol

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57830 --- Comment #11 from kycro...@gmail.com --- Created attachment 33738 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33738=edit SVN patch, source code, and jar file +1 Also I've attached a zip file containing:

Re: Project Jigsaw: The module system was integrated into JDK 9 and is now available for testing in early-access, build 111.

2016-04-07 Thread Christopher Schultz
Mark, On 4/1/16 12:38 PM, Mark Thomas wrote: > I ran the Tomcat 9 unit tests and there are a whole bunch of failures > (everything passed with the previous ea release). It looks like some of > our memory leak prevention tricks no longer work. Can you define "don't work"? Do they actively cause

[Bug 57830] Add support for ProxyProtocol

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57830 --- Comment #12 from Christopher Schultz --- Awesome. I should be able to do some testing using Amazon ELB, which I expect was the impetus for this work. -- You are receiving this mail because: You are the

[Bug 57773] performance problems when using scopeless optional attributes

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57773 --- Comment #10 from balusc --- This is fixed in a related issue https://bz.apache.org/bugzilla/show_bug.cgi?id=57583 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 58970] http NIO connector crash after update from 8.0.27 to 8.0.30

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58970 reda.housniala...@gmail.com changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from

[Bug 58970] http NIO connector crash after update from 8.0.27 to 8.0.30

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58970 --- Comment #6 from RĂ©da Housni Alaoui --- I don't know if you can see this in the tdump but we are using the JSR356 websocket implementation. -- You are receiving this mail because: You are the assignee for the

[GUMP@vmgump]: Project tomcat-trunk-test-apr (in module tomcat-trunk) failed

2016-04-07 Thread Bill Barker
/workspace/apache-commons/daemon/dist/bin/commons-daemon-20160407-native-src.tar.gz -Dexamples.sources.skip=true -Dbase.path=/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar -Dtest.apr.loc=/srv/gump/public/workspace

[GUMP@vmgump]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) failed

2016-04-07 Thread Bill Barker
-commons/daemon/dist/commons-daemon-20160407.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Dtest.excludePerformance=true -Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest

[Bug 59253] IOExceptions in websockets

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59253 --- Comment #4 from Christopher Schultz --- (In reply to jfclere from comment #2) > 32, 104 and 113 are errno on linux > #define EPIPE 32 /* Broken pipe */ > #define ECONNRESET 104 /* Connection reset by

buildbot success in on tomcat-trunk

2016-04-07 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building . Full details are available at: https://ci.apache.org/builders/tomcat-trunk/builds/1249 Buildbot URL: https://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler

Is it possible to add the support of tus protocol within Tomcat?

2016-04-07 Thread Anita Lin
http://tus.io/ tus is a new open protocol for resumable uploads built on HTTP. It offers simple, cheap and reusable stacks for clients and servers to solve the problem of unreliable file uploads once and for all. Currently, there are only two implementations of server side --- Go and Node.js. I

[Bug 59288] New: Is it possible to add the support of tus protocol within Tomcat?

2016-04-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59288 Bug ID: 59288 Summary: Is it possible to add the support of tus protocol within Tomcat? Product: Tomcat 9 Version: unspecified Hardware: All OS: All