Re: [VOTE] Release Apache Tomcat 7.0.79

2017-06-27 Thread Felix Schumacher


Am 26. Juni 2017 19:22:05 MESZ schrieb Violeta Georgieva :
>The proposed Apache Tomcat 7.0.79 release is now available for voting.
>
>It can be obtained from:
>https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.79/
>The Maven staging repo is:
>https://repository.apache.org/content/repositories/orgapachetomcat-1139/
>The svn tag is:
>http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_79/
>
>The proposed 7.0.79 release is:
>[ ] Broken - do not release
>[x] Stable - go ahead and release as 7.0.79 Stable

Felix

>
>Regards,
>Violeta

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 7.0.79

2017-06-27 Thread Huxing Zhang
Hi,

The proposed 7.0.79 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 7.0.79 Stable

Unit test passed.
Test web application works fine.

--
From:Violeta Georgieva 
Time:2017 Jun 27 (Tue) 01:22
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.79


The proposed Apache Tomcat 7.0.79 release is now available for voting.

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.79/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1139/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_79/

The proposed 7.0.79 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 7.0.79 Stable

Regards,
Violeta
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1800089 - in /tomcat/trunk/java/org/apache/jasper/compiler: AntCompiler.java Compiler.java

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 21:07:49 2017
New Revision: 1800089

URL: http://svn.apache.org/viewvc?rev=1800089=rev
Log:
Minor clean-up. No functional change.

Modified:
tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java
tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java?rev=1800089=1800088=1800089=diff
==
--- tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/AntCompiler.java Tue Jun 27 
21:07:49 2017
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.jasper.compiler;
 
 import java.io.ByteArrayOutputStream;
@@ -279,7 +278,7 @@ public class AntCompiler extends Compile
 }
 
 // JSR45 Support
-if (! options.isSmapSuppressed()) {
+if (!options.isSmapSuppressed()) {
 SmapUtil.installSmap(smap);
 }
 }

Modified: tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java?rev=1800089=1800088=1800089=diff
==
--- tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java Tue Jun 27 
21:07:49 2017
@@ -77,6 +77,7 @@ public abstract class Compiler {
 this.options = ctxt.getOptions();
 }
 
+
 // - Public Methods
 
 /**



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1798977 - in /tomcat/trunk: conf/logging.properties java/org/apache/juli/AsyncFileHandler.java java/org/apache/juli/FileHandler.java test/org/apache/juli/TestFileHandler.java webapps/

2017-06-27 Thread Rainer Jung

Am 27.06.2017 um 21:41 schrieb Rainer Jung:

Hi Violeta,

Am 16.06.2017 um 21:17 schrieb violet...@apache.org:

Author: violetagg
Date: Fri Jun 16 19:17:39 2017
New Revision: 1798977

URL: http://svn.apache.org/viewvc?rev=1798977=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61105
Add a new JULI FileHandler configuration for specifying the maximum
number of days to keep the log files. By default the log files will be
kept 90 days as configured in logging.properties.

Added:
tomcat/trunk/test/org/apache/juli/TestFileHandler.java   (with props)
Modified:
tomcat/trunk/conf/logging.properties
tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java
tomcat/trunk/java/org/apache/juli/FileHandler.java
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/logging.xml


...


Modified: tomcat/trunk/java/org/apache/juli/FileHandler.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/FileHandler.java?rev=1798977=1798976=1798977=diff

==

--- tomcat/trunk/java/org/apache/juli/FileHandler.java (original)
+++ tomcat/trunk/java/org/apache/juli/FileHandler.java Fri Jun 16
19:17:39 2017

...


@@ -74,24 +84,37 @@ import java.util.logging.LogRecord;
  *   formatter - The
java.util.logging.Formatter
  *implementation class name for this Handler. Default value:
  *java.util.logging.SimpleFormatter
+ *   maxDays - The maximum number of days to keep
the log
+ *files. If the specified value is =0 then the
log files
+ *will be kept on the file system forever, otherwise they will be
kept the
+ *specified maximum days. Default value: -1.
  * 
  */
 public class FileHandler extends Handler {
+public static final int DEFAULT_MAX_DAYS = -1;
+
+private static final ExecutorService DELETE_FILES_SERVICE =
Executors.newSingleThreadExecutor();


When testing the M22 release I noticed that a tomcat process was
leftover that didn't want to shut down. I checked and I could easily
reproduce by starting with startup.sh and then stopping with shutdown.sh
(but not using kill). IMHO it didn't shut down, because according to a
thread dump it had a single non-daemon thread still running (named
"pool-1-thread-1"). Since we typically give more specific names to all
threads we create I instrumented the Thread class to find out the
creator of that thread and noticed, that it was created here:

at java.lang.Thread.(Thread.java:677)
at
java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:613)

at
java.util.concurrent.ThreadPoolExecutor$Worker.(ThreadPoolExecutor.java:612)

at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:925)

at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)

at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)

at
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:678)

at org.apache.juli.FileHandler.clean(FileHandler.java:463)
at org.apache.juli.FileHandler.(FileHandler.java:117)
at
org.apache.juli.AsyncFileHandler.(AsyncFileHandler.java:82)
at
org.apache.juli.AsyncFileHandler.(AsyncFileHandler.java:74)

So it is the thread belonging to the above "ExecutorService
DELETE_FILES_SERVICE". I could not see, how that thread would ever get
stopped, so two remarks:

- in order to make sure TC can shut down without problem we either need
to stop that thread by ourselves during TC shutdown or mark it as a
daemon thread. I guess the latter is preferred.

- we should give the created thread a specific name according to its
typical task so that it can be identified in any thread dump. That
should be doable by the same ThreadFactory.

So we need to pass a ThreadFactory to the newSingleThreadExecutor() call
(this possibility already exists in the Executors class). To keep juli
independent from the other TC classes, we probably need to code the
factory inside juli, but we can borrow code from the small class
org.apache.tomcat.util.threads.TaskThreadFactory or use code from there
to extend the result of Executors.defaultThreadFactory() or
Executors.privilegedThreadFactory().


I should add: I only observed it for TC 9, because there the feature is 
active by default due to the updated juli config file, so the submit to 
the executor happens (attribute maxDays in logging.properties).


On all other branches the feature is off by default and although the 
executor gets created, I do not see the thread which probably means it 
gets created lazily during the first submit. That submit never happens 
with the default config, but would once someone actually tries to use 
the feature.


So of course we should fix on all branches and the feature is somewhat 
broken on all branches currently, not only on TC 9.


Regards,

Rainer



Re: svn commit: r1798977 - in /tomcat/trunk: conf/logging.properties java/org/apache/juli/AsyncFileHandler.java java/org/apache/juli/FileHandler.java test/org/apache/juli/TestFileHandler.java webapps/

2017-06-27 Thread Rainer Jung

Hi Violeta,

Am 16.06.2017 um 21:17 schrieb violet...@apache.org:

Author: violetagg
Date: Fri Jun 16 19:17:39 2017
New Revision: 1798977

URL: http://svn.apache.org/viewvc?rev=1798977=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61105
Add a new JULI FileHandler configuration for specifying the maximum number of 
days to keep the log files. By default the log files will be kept 90 days as 
configured in logging.properties.

Added:
tomcat/trunk/test/org/apache/juli/TestFileHandler.java   (with props)
Modified:
tomcat/trunk/conf/logging.properties
tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java
tomcat/trunk/java/org/apache/juli/FileHandler.java
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/logging.xml


...


Modified: tomcat/trunk/java/org/apache/juli/FileHandler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/FileHandler.java?rev=1798977=1798976=1798977=diff
==
--- tomcat/trunk/java/org/apache/juli/FileHandler.java (original)
+++ tomcat/trunk/java/org/apache/juli/FileHandler.java Fri Jun 16 19:17:39 2017

...


@@ -74,24 +84,37 @@ import java.util.logging.LogRecord;
  *   formatter - The java.util.logging.Formatter
  *implementation class name for this Handler. Default value:
  *java.util.logging.SimpleFormatter
+ *   maxDays - The maximum number of days to keep the log
+ *files. If the specified value is =0 then the log files
+ *will be kept on the file system forever, otherwise they will be kept the
+ *specified maximum days. Default value: -1.
  * 
  */
 public class FileHandler extends Handler {
+public static final int DEFAULT_MAX_DAYS = -1;
+
+private static final ExecutorService DELETE_FILES_SERVICE = 
Executors.newSingleThreadExecutor();


When testing the M22 release I noticed that a tomcat process was 
leftover that didn't want to shut down. I checked and I could easily 
reproduce by starting with startup.sh and then stopping with shutdown.sh 
(but not using kill). IMHO it didn't shut down, because according to a 
thread dump it had a single non-daemon thread still running (named 
"pool-1-thread-1"). Since we typically give more specific names to all 
threads we create I instrumented the Thread class to find out the 
creator of that thread and noticed, that it was created here:


at java.lang.Thread.(Thread.java:677)
at 
java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:613)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.(ThreadPoolExecutor.java:612)
at 
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:925)
at 
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
at 
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at 
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:678)

at org.apache.juli.FileHandler.clean(FileHandler.java:463)
at org.apache.juli.FileHandler.(FileHandler.java:117)
at 
org.apache.juli.AsyncFileHandler.(AsyncFileHandler.java:82)
at 
org.apache.juli.AsyncFileHandler.(AsyncFileHandler.java:74)


So it is the thread belonging to the above "ExecutorService 
DELETE_FILES_SERVICE". I could not see, how that thread would ever get 
stopped, so two remarks:


- in order to make sure TC can shut down without problem we either need 
to stop that thread by ourselves during TC shutdown or mark it as a 
daemon thread. I guess the latter is preferred.


- we should give the created thread a specific name according to its 
typical task so that it can be identified in any thread dump. That 
should be doable by the same ThreadFactory.


So we need to pass a ThreadFactory to the newSingleThreadExecutor() call 
(this possibility already exists in the Executors class). To keep juli 
independent from the other TC classes, we probably need to code the 
factory inside juli, but we can borrow code from the small class 
org.apache.tomcat.util.threads.TaskThreadFactory or use code from there 
to extend the result of Executors.defaultThreadFactory() or 
Executors.privilegedThreadFactory().


Regards,

Rainer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61229] WebDAV listings fails when a file contains ampersand

2017-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61229

Maarten van Hulsentop  changed:

   What|Removed |Added

 CC||maar...@vanhulsentop.nl

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 7.0.79

2017-06-27 Thread Violeta Georgieva
2017-06-26 20:22 GMT+03:00 Violeta Georgieva :
>
> The proposed Apache Tomcat 7.0.79 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.79/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1139/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_79/
>
> The proposed 7.0.79 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.79 Stable

 Regards,
 Violeta


Re: [VOTE] Release Apache Tomcat 7.0.79

2017-06-27 Thread Coty Sutherland
On Mon, Jun 26, 2017 at 1:22 PM, Violeta Georgieva  wrote:
> The proposed Apache Tomcat 7.0.79 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.79/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1139/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_79/
>
> The proposed 7.0.79 release is:
> [ ] Broken - do not release
> [x] Stable - go ahead and release as 7.0.79 Stable

+1

> Regards,
> Violeta

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 8.0.45

2017-06-27 Thread Coty Sutherland
On Mon, Jun 26, 2017 at 5:05 PM, Violeta Georgieva  wrote:
> The proposed Apache Tomcat 8.0.45 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.45/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1140/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/TOMCAT_8_0_45/
>
> The proposed 8.0.45 release is:
> [ ] Broken - do not release
> [x] Stable - go ahead and release as 8.0.45

+1

> Regards,
> Violeta

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61229] WebDAV listings fails when a file contains ampersand

2017-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61229

Sander Hartogensis  changed:

   What|Removed |Added

 CC||sanderhartogen...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r20212 - /release/tomcat/tomcat-8/v8.5.15/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 13:23:51 2017
New Revision: 20212

Log:
Drop 8.5.15 from mirrors

Removed:
release/tomcat/tomcat-8/v8.5.15/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1800060 - in /tomcat/site/trunk/docs/tomcat-8.5-doc: ./ api/ api/org/apache/catalina/ api/org/apache/catalina/ant/ api/org/apache/catalina/ant/jmx/ api/org/apache/catalina/authenticator/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 13:18:57 2017
New Revision: 1800060

URL: http://svn.apache.org/viewvc?rev=1800060=rev
Log:
Update docs for 8.5.16 release


[This commit notification would consist of 70 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 8.0.45

2017-06-27 Thread Violeta Georgieva
2017-06-27 0:05 GMT+03:00 Violeta Georgieva :
>
> The proposed Apache Tomcat 8.0.45 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.45/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1140/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/TOMCAT_8_0_45/
>
> The proposed 8.0.45 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.0.45

 Regards,
 Violeta


svn commit: r1800059 - in /tomcat/site/trunk: ./ docs/ xdocs/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 13:08:56 2017
New Revision: 1800059

URL: http://svn.apache.org/viewvc?rev=1800059=rev
Log:
Update site for 8.5.16 release excluding docs

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/download-80.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-85.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/download-80.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-85.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1800059=1800058=1800059=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Tue Jun 27 13:08:56 2017
@@ -39,7 +39,7 @@ tomcat.loc=http://www.apache.org/dist/to
 tomcat60=6.0.53
 tomcat70=7.0.78
 tomcat80=8.0.44
-tomcat85=8.5.15
+tomcat85=8.5.16
 tomcat90=9.0.0.M22
 
 # - Download destination -

Modified: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1800059=1800058=1800059=diff
==
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Tue Jun 27 13:08:56 2017
@@ -219,7 +219,7 @@
 Quick Navigation
 
 
-[define v]8.5.15[end]
+[define v]8.5.16[end]
 [define w]8.0.44[end]
 https://www.apache.org/dist/tomcat/tomcat-8/KEYS;>KEYS |
 [v] |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1800059=1800058=1800059=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue Jun 27 13:08:56 2017
@@ -242,6 +242,47 @@ project logo are trademarks of the Apach
 
 
 
+
+2017-06-26 Tomcat 8.5.16 Released
+
+
+
+The Apache Tomcat Project is proud to announce the release of version 8.5.16
+of Apache Tomcat. Apache Tomcat 8.5.x is intended to replace 8.0.x and includes
+new features pulled forward from Tomcat 9.0.x. The minimum Java version and
+implemented specification versions remain unchanged. The notable changes
+compared to 8.5.15 include:
+
+
+
+Add a new JULI FileHandler configuration for specifying the maximum number
+of days to keep the log files. By default the log files will be kept
+indefinitely.
+
+Improvements to enable the Manager and HostManager to work in the default
+configuration when working under a security manager.
+
+Introduce new API o.a.tomcat.websocket.WsSession#suspend /
+o.a.tomcat.websocket.WsSession#resume that can be used to suspend / resume
+reading of the incoming messages.
+
+
+
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 8.5
+changelog.
+
+
+
+
+
+Download
+
+
+
+
 
 2017-06-26 Tomcat 9.0.0.M22 (alpha) 
Released
 
@@ -343,43 +384,6 @@ Full details of these changes, and all t
 changelog.
 
 
-
-
-
-Download
-
-
-
-
-
-2017-05-10 Tomcat 8.5.15 Released
-
-
-
-The Apache Tomcat Project is proud to announce the release of version 8.5.15
-of Apache Tomcat. Apache Tomcat 8.5.x is intended to replace 8.0.x and includes
-new features pulled forward from Tomcat 9.0.x. The minimum Java version and
-implemented specification versions remain unchanged. The notable changes
-compared to 8.5.14 include:
-
-
-
-Various improvements to the handling of static custom error pages
-
-Update to Eclipse JDT Compiler 4.6.3
-
-Review those places where Tomcat re-encodes a URI or URI component and
-ensure that the correct encoding is consistently applied.
-
-
-
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 8.5
-changelog.
-
-
 
 
 

Modified: tomcat/site/trunk/docs/migration-85.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-85.html?rev=1800059=1800058=1800059=diff
==
--- tomcat/site/trunk/docs/migration-85.html (original)
+++ tomcat/site/trunk/docs/migration-85.html Tue Jun 27 13:08:56 2017
@@ -666,7 +666,8 @@ of Apache Tomcat.
   "8.5.12":"1786041",
   "8.5.13":"1788935",
   "8.5.14":"1791243",
-  "8.5.15":"1794013"
+  "8.5.15":"1794013",
+  "8.5.16":"1799487"
 };
 
 formSubmit.action = 
"http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/; +
@@ -708,8 +709,9 @@ of Apache Tomcat.
 8.5.11
 8.5.12
 8.5.13
-8.5.14
-8.5.15
+8.5.14
+8.5.15
+8.5.16
 , new version:
 
 8.5.0
@@ -724,7 +726,8 @@ of Apache 

[Bug 61229] WebDAV listings fails when a file contains ampersand

2017-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61229

Coen Wouters  changed:

   What|Removed |Added

 CC||coen.wouters@planonsoftware
   ||.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 61229] New: WebDAV listings fails when a file contains ampersand

2017-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61229

Bug ID: 61229
   Summary: WebDAV listings fails when a file contains ampersand &
   Product: Tomcat 8
   Version: 8.5.15
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: sanderhartogen...@gmail.com
  Target Milestone: 

Created attachment 35080
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35080=edit
webapps webdav folder

See the attached test WebDAV folder (webdav.zip). If the WebDAV folder contains
a file with an ampersand in the filename, you cannot access the folder at all
with WebDAV. I can reproduce it with AnyClient from JSCAPE (in our own product
we use jackrabbit for WebDAV access).

Full repro steps:
- JAVA_HOME is 1.8.0_121
- Extract apache-tomcat-8.5.15.zip to a working folder.
- In the webapps directory extract contents of webapps.zip (see attachment)
- In apache-tomcat-8.5.15\bin run: catalina.bat start
- In AnyClient configure a new connection in Site Manager:
-- Host: http://localhost:8080/webdav
-- Protocol: WebDAV
- Connect, click the refresh button, and notice the listing remains empty.
- In a file manager go to webapps\webdav and rename test&.txt to test.txt.
- Get the directory listing again, and notice that it works now.

I tried three Tomcat versions:
8.5.15: has this bug
8.5.14: works fine
7.0.78: works fine

Note that you see the problem only if you access the directory with a WebDAV
client, getting the directory listing in a browser works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[ANN] Apache Tomcat 9.0.0.M22 available

2017-06-27 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.0.M22.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.0.M22 is a milestone release of the 9.0.x branch and
has been made to provide users with early access to the new features in
Apache Tomcat 9.0.x so that they may provide feedback. The notable
changes compared to 9.0.0.M21 include:


- Add a new JULI FileHandler configuration for specifying the maximum
  number of days to keep the log files. By default the log files will be
  kept 90 days.

- Update the Servlet 4.0 implementation to add support for setting
  trailer fields for HTTP responses.

- When pre-compiling with JspC, report all compilation errors rather
  than stopping after the first error.


Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-9.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 6.x, 7.x and 8.x:
http://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r20211 - /release/tomcat/tomcat-9/v9.0.0.M21/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 11:13:17 2017
New Revision: 20211

Log:
Drop 9.0.0.M21 from mirrors

Removed:
release/tomcat/tomcat-9/v9.0.0.M21/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1800047 - in /tomcat/site/trunk/docs/tomcat-9.0-doc: ./ api/ api/org/apache/catalina/ api/org/apache/catalina/ant/ api/org/apache/catalina/ant/jmx/ api/org/apache/catalina/authenticator/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 10:53:34 2017
New Revision: 1800047

URL: http://svn.apache.org/viewvc?rev=1800047=rev
Log:
Update docs for 9.0.0.M22 release


[This commit notification would consist of 69 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1800046 - in /tomcat/site/trunk: ./ docs/ xdocs/

2017-06-27 Thread markt
Author: markt
Date: Tue Jun 27 10:44:08 2017
New Revision: 1800046

URL: http://svn.apache.org/viewvc?rev=1800046=rev
Log:
Update site for 9.0.0.M22 release excluding docs

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/download-90.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-9.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/download-90.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-9.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1800046=1800045=1800046=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Tue Jun 27 10:44:08 2017
@@ -40,7 +40,7 @@ tomcat60=6.0.53
 tomcat70=7.0.78
 tomcat80=8.0.44
 tomcat85=8.5.15
-tomcat90=9.0.0.M21
+tomcat90=9.0.0.M22
 
 # - Download destination -
 tomcat-site-docs.home=${base.path}/tomcat-site-docs/

Modified: tomcat/site/trunk/docs/download-90.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-90.html?rev=1800046=1800045=1800046=diff
==
--- tomcat/site/trunk/docs/download-90.html (original)
+++ tomcat/site/trunk/docs/download-90.html Tue Jun 27 10:44:08 2017
@@ -219,7 +219,7 @@
 Quick Navigation
 
 
-[define v]9.0.0.M21[end]
+[define v]9.0.0.M22[end]
 https://www.apache.org/dist/tomcat/tomcat-9/KEYS;>KEYS |
 [v] |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1800046=1800045=1800046=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue Jun 27 10:44:08 2017
@@ -242,6 +242,46 @@ project logo are trademarks of the Apach
 
 
 
+
+2017-06-26 Tomcat 9.0.0.M22 (alpha) 
Released
+
+
+
+The Apache Tomcat Project is proud to announce the release of version 9.0.0.M22
+(alpha) of Apache Tomcat. The is a milestone release of the 9.0.x branch and 
has
+been made to provide users with early access to the new features in Apache
+Tomcat 9.0.x so that they may provide feedback. The notable changes compared to
+9.0.0.M21 include:
+
+
+
+Add a new JULI FileHandler configuration for specifying the maximum number
+of days to keep the log files. By default the log files will be kept for 90
+days.
+
+Update the Servlet 4.0 implementation to add support for setting trailer
+fields for HTTP responses.
+
+When pre-compiling with JspC, report all compilation errors rather than
+stopping after the first error.
+
+
+
+
+
+Full details of these changes, and all the other changes, are available in the
+Tomcat 9
+changelog.
+
+
+
+
+
+Download
+
+
+
+
 
 2017-05-16 Tomcat 7.0.78 Released
 
@@ -347,43 +387,6 @@ changelog.
 
 
 
-
-
-2017-05-10 Tomcat 9.0.0.M21 (alpha) 
Released
-
-
-
-The Apache Tomcat Project is proud to announce the release of version 9.0.0.M21
-(alpha) of Apache Tomcat. The is a milestone release of the 9.0.x branch and 
has
-been made to provide users with early access to the new features in Apache
-Tomcat 9.0.x so that they may provide feedback. The notable changes compared to
-9.0.0.M20 include:
-
-
-
-Update the default URIEncoding for a Connector to UTF-8 as required by the
-Servlet 4.0 specification.
-
-Various improvements to the handling of static custom error pages
-
-Update to Eclipse JDT Compiler 4.6.3
-
-
-
-
-
-Full details of these changes, and all the other changes, are available in the
-Tomcat 9
-changelog.
-
-
-
-
-
-Download
-
-
-
 
 
 2017-04-07 Tomcat 6.0.53 Released

Modified: tomcat/site/trunk/docs/migration-9.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1800046=1800045=1800046=diff
==
--- tomcat/site/trunk/docs/migration-9.html (original)
+++ tomcat/site/trunk/docs/migration-9.html Tue Jun 27 10:44:08 2017
@@ -276,7 +276,7 @@
 Context configurations
 
 
-Logging
+Logging
 
 
 
@@ -775,12 +775,12 @@ of Apache Tomcat.
 
   
 
-Logging
+Logging
 
 
 
-By default the log files will be kept 90 days and then removed from the file
-system.
+By default the log files will be kept 90 days and then removed from the
+file system.
 
   
 
@@ -832,7 +832,8 @@ of Apache Tomcat.
   "9.0.0.M18":"1785983",
   "9.0.0.M19":"1788896",
   "9.0.0.M20":"1791176",
-  "9.0.0.M21":"1793917"
+  "9.0.0.M21":"1793917",
+  "9.0.0.M22":"1799415"
 };
 
 formSubmit.action =