[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 --- Comment #2 from Mark Thomas --- Coming back to this having been prompted about it at $work. It doesn't look to be as big a task as I first thought. Some questions. 1. In an ideal world, which Tomcat versions would you

[Bug 58464] New: servletRequest.getHeaderNames() returns all header names in lower case

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58464 Bug ID: 58464 Summary: servletRequest.getHeaderNames() returns all header names in lower case Product: Tomcat 7 Version: unspecified Hardware: All OS:

svn commit: r1705866 - in /tomcat/trunk: java/org/apache/catalina/realm/ java/org/apache/catalina/users/ java/org/apache/tomcat/util/net/jsse/ webapps/docs/ webapps/docs/config/

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 14:04:20 2015 New Revision: 1705866 URL: http://svn.apache.org/viewvc?rev=1705866=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 Allow trust stores, keystores, CRLs and the tomcat-users.xml file to be loaded from URLs as well as the file system.

svn commit: r1705865 - /tomcat/trunk/java/org/apache/tomcat/util/file/ConfigFileLoader.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 13:57:53 2015 New Revision: 1705865 URL: http://svn.apache.org/viewvc?rev=1705865=rev Log: Fix edit made during testing that should have been reverted before the first commit. Modified: tomcat/trunk/java/org/apache/tomcat/util/file/ConfigFileLoader.java

svn commit: r1705848 - in /tomcat/trunk: java/org/apache/tomcat/util/file/ConfigFileLoader.java test/org/apache/tomcat/util/file/TestConfigFileLoader.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 12:42:27 2015 New Revision: 1705848 URL: http://svn.apache.org/viewvc?rev=1705848=rev Log: Preparatory work for fixing https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 Add a utility class that will provide an input stream using a provided 'location' string. The

[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 --- Comment #6 from Mark Thomas --- This has now been implemented in trunk. It will be back-ported to 8.0.x but that is not a simple svn merge because of the TLS refactoring that took place between 8.0.x and trunk. Still on

[Bug 58464] servletRequest.getHeaderNames() returns all header names in lower case

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58464 --- Comment #1 from George Stanchev --- You can create a filter and an HttpServletRequestWrapper and convert them yourself. Your uppercase is my lowercase. -- You are receiving this mail because: You are the assignee

[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 --- Comment #3 from Andy Wilkinson --- (In reply to Mark Thomas from comment #2) > 1. In an ideal world, which Tomcat versions would you like this in? 8.0.x > obviously. What about 7.0.x and 6.0.x? (a back-port to 6.0.x

[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 --- Comment #5 from Andy Wilkinson --- (In reply to Mark Thomas from comment #4) > I've done some quick tests and it looks like URL support is doable without > breaking backwards compatability. Excellent > I'm going

svn commit: r1705842 - in /tomcat/trunk: java/org/apache/catalina/webresources/ test/org/apache/catalina/webresources/ test/org/apache/tomcat/util/file/

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 12:13:20 2015 New Revision: 1705842 URL: http://svn.apache.org/viewvc?rev=1705842=rev Log: Preparatory work for fixing https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 Add support for "classpath:" URLs. Added:

[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 --- Comment #4 from Mark Thomas --- I've done some quick tests and it looks like URL support is doable without breaking backwards compatability. I'm going to add support for "classpath:" URLs at the same time since a number

[Bug 58464] servletRequest.getHeaderNames() returns all header names in lower case

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58464 --- Comment #2 from Christoph Tornau --- (In reply to George Stanchev from comment #1) > You can create a filter and an HttpServletRequestWrapper and convert them > yourself. Your uppercase is my lowercase. This will

buildbot failure in ASF Buildbot on tomcat-trunk

2015-09-29 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/366 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1705886 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/tomcat/util/file/ConfigFileLoader.java test/org/apache/tomcat/util/file/TestConfigFileLoader.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 16:12:00 2015 New Revision: 1705886 URL: http://svn.apache.org/viewvc?rev=1705886=rev Log: Add utility class to load config files from URLs and files (currently unused) Added: tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/file/ConfigFileLoader.java -

svn commit: r1705888 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/realm/ java/org/apache/catalina/users/ java/org/apache/catalina/webresources/ webapps/docs/ webapps/docs/config/

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 16:17:53 2015 New Revision: 1705888 URL: http://svn.apache.org/viewvc?rev=1705888=rev Log: Fix back-port Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java

buildbot failure in ASF Buildbot on tomcat-8-trunk

2015-09-29 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/168 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1705885 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/webresources/ test/org/apache/catalina/webresources/ test/org/apache/tomcat/util/file/ webapps/docs/

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 16:09:24 2015 New Revision: 1705885 URL: http://svn.apache.org/viewvc?rev=1705885=rev Log: Add support for the custom "classpath:..." protocol in URLs Added: tomcat/tc8.0.x/trunk/java/org/apache/catalina/webresources/ClasspathURLStreamHandler.java -

svn commit: r1705938 - in /tomcat/trunk/java/org/apache/coyote: AbstractProcessor.java ajp/AjpProcessor.java http11/Http11Processor.java http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:02:30 2015 New Revision: 1705938 URL: http://svn.apache.org/viewvc?rev=1705938=rev Log: Final refactoring to align the dispatch() method between Processors Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java

svn commit: r1705927 - in /tomcat/trunk/java/org/apache/coyote: http11/Http11Processor.java http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 21:19:36 2015 New Revision: 1705927 URL: http://svn.apache.org/viewvc?rev=1705927=rev Log: Align code Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java Modified:

svn commit: r1705928 - in /tomcat/trunk/java/org/apache/coyote: AbstractProcessor.java ajp/AjpProcessor.java http11/Http11Processor.java http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 21:26:56 2015 New Revision: 1705928 URL: http://svn.apache.org/viewvc?rev=1705928=rev Log: Refactoring to start to align dispatch() implementations across the processors Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java

buildbot failure in ASF Buildbot on tomcat-trunk

2015-09-29 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/370 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1705944 - in /tomcat/trunk/java/org/apache/coyote: ajp/AjpProcessor.java http11/Http11Processor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:26:56 2015 New Revision: 1705944 URL: http://svn.apache.org/viewvc?rev=1705944=rev Log: More simplification Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Modified:

svn commit: r1705926 - in /tomcat/trunk/java/org/apache/coyote: ajp/AjpProcessor.java http11/Http11Processor.java http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 21:18:16 2015 New Revision: 1705926 URL: http://svn.apache.org/viewvc?rev=1705926=rev Log: Simplify. ISE should be impossible. There is only one container thread at a time. To get this far thread must be in STARTED stated which means no ISE will be thrown.

svn commit: r1705940 - /tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:07:03 2015 New Revision: 1705940 URL: http://svn.apache.org/viewvc?rev=1705940=rev Log: Simplify Modified: tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java Modified: tomcat/trunk/java/org/apache/coyote/http2/StreamProcessor.java URL:

svn commit: r1705948 - in /tomcat/trunk/java/org/apache/coyote: AbstractProcessor.java http11/Http11Processor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:31:30 2015 New Revision: 1705948 URL: http://svn.apache.org/viewvc?rev=1705948=rev Log: Simplify Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Modified:

svn commit: r1705930 - in /tomcat/trunk/java/org/apache/coyote: AbstractProcessor.java ajp/AjpProcessor.java http11/Http11Processor.java http2/LocalStrings.properties http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 21:54:39 2015 New Revision: 1705930 URL: http://svn.apache.org/viewvc?rev=1705930=rev Log: More refactoring to align the dispatch() method between Processors Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java

svn commit: r1705941 - /tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:14:59 2015 New Revision: 1705941 URL: http://svn.apache.org/viewvc?rev=1705941=rev Log: Remove unused / unnecessary code Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java Modified:

svn commit: r1705942 - /tomcat/trunk/test/org/apache/tomcat/util/file/TestConfigFileLoader.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:19:12 2015 New Revision: 1705942 URL: http://svn.apache.org/viewvc?rev=1705942=rev Log: Fix tests Modified: tomcat/trunk/test/org/apache/tomcat/util/file/TestConfigFileLoader.java Modified:

buildbot success in ASF Buildbot on tomcat-trunk

2015-09-29 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/374 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1705939 - in /tomcat/trunk/java/org/apache/coyote: AbstractProcessor.java ajp/AjpProcessor.java http11/Http11Processor.java http2/StreamProcessor.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:05:19 2015 New Revision: 1705939 URL: http://svn.apache.org/viewvc?rev=1705939=rev Log: Pull-up common dispatch() method Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java

svn commit: r1705943 - in /tomcat/tc8.0.x/trunk: ./ test/org/apache/tomcat/util/file/TestConfigFileLoader.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 22:20:10 2015 New Revision: 1705943 URL: http://svn.apache.org/viewvc?rev=1705943=rev Log: Fix tests Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/test/org/apache/tomcat/util/file/TestConfigFileLoader.java Propchange:

[Bug 58469] New: web.xml were deleted after a Out of Memory problem by tomcat

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58469 Bug ID: 58469 Summary: web.xml were deleted after a Out of Memory problem by tomcat Product: Tomcat 7 Version: unspecified Hardware: PC Status: NEW

[Bug 58457] After async request timeout, response is not closed + works on subsequent requests

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58457 --- Comment #2 from rstoyanc...@yahoo.com --- Request 1 times out but code continues to write to response. Later request 2 connects and sees all that has been written by the handler after the timeout. Why does the response continue to buffer

[Bug 56777] Allow configuration resources to be loaded from places other than straight off the filesystem

2015-09-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED

svn commit: r1705909 - in /tomcat/tc8.0.x/trunk: java/org/apache/tomcat/util/net/AbstractEndpoint.java java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java webapps/docs/changelog.xml webapps/do

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 18:44:28 2015 New Revision: 1705909 URL: http://svn.apache.org/viewvc?rev=1705909=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=56777 Allow trust stores, keystores, CRLs and the tomcat-users.xml file to be loaded from URLs as well as the file system.

svn commit: r1705911 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 18:58:50 2015 New Revision: 1705911 URL: http://svn.apache.org/viewvc?rev=1705911=rev Log: Fix copy/paste error Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java Modified:

buildbot exception in ASF Buildbot on tomcat-trunk

2015-09-29 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/369 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The

svn commit: r1705910 - in /tomcat/trunk/java/org/apache/catalina: ant/ValidatorTask.java realm/JAASMemoryLoginModule.java startup/ClassLoaderFactory.java startup/UserConfig.java

2015-09-29 Thread markt
Author: markt Date: Tue Sep 29 18:53:40 2015 New Revision: 1705910 URL: http://svn.apache.org/viewvc?rev=1705910=rev Log: Code clean-up File.canRead() includes a check for File.exists() Modified: tomcat/trunk/java/org/apache/catalina/ant/ValidatorTask.java

Re: [VOTE] Release Apache Tomcat 8.0.27

2015-09-29 Thread Violeta Georgieva
Hi, 2015-09-28 14:26 GMT+03:00 Mark Thomas : > > The proposed Apache Tomcat 8.0.27 release is now available for voting. > > The main changes since 8.0.26 are: > > - Correctly handle \${ vs \$ escaping in JSP and EL > > - Fix for issues with NIO + SSL + sendfile > > - Various TLD

Re: [VOTE] Release Apache Tomcat 8.0.27

2015-09-29 Thread Mark Thomas
On 29/09/2015 20:37, Violeta Georgieva wrote: > 2015-09-28 14:26 GMT+03:00 Mark Thomas : >> The proposed 8.0.27 release is: >> [ ] Broken - do not release >> [ ] Stable - go ahead and release as 8.0.27 > > I have the following use case [1]. It used to be working with the

Re: [VOTE] Release Apache Tomcat 8.0.27

2015-09-29 Thread Violeta Georgieva
2015-09-29 22:48 GMT+03:00 Mark Thomas : > > On 29/09/2015 20:37, Violeta Georgieva wrote: > > 2015-09-28 14:26 GMT+03:00 Mark Thomas : > > > > >> The proposed 8.0.27 release is: > >> [ ] Broken - do not release > >> [ ] Stable - go ahead and release as 8.0.27