svn commit: r1898489 - in /tomcat/site/trunk: ./ docs/ docs/tomcat-8.5-doc/ docs/tomcat-8.5-doc/annotationapi/ docs/tomcat-8.5-doc/annotationapi/javax/annotation/ docs/tomcat-8.5-doc/annotationapi/jav
Author: schultz Date: Mon Feb 28 22:10:19 2022 New Revision: 1898489 URL: http://svn.apache.org/viewvc?rev=1898489&view=rev Log: Update site to include Tomcat release 8.5.76. [This commit notification would consist of 1226 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
[ANN] Apache Tomcat 8.5.75 available
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.76. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers technologies. Apache Tomcat 8.5.76 is a bugfix and feature release. The notable changes compared to 8.5.75 include: - Correct a regression in the fix for 65454 that meant that minSpareThreads and maxThreads settings were ignored when the Connector used an internal executor - Improve the detection of the Linux duplicate accept bug and reduce (hopefully avoid) instances of false positives. - Back-port fixes for BZ 65408 to refactor socket-close operations to improve resilience when objects are re-used by applications. Along with lots of other bug fixes and improvements. Please refer to the change log for the complete list of changes: http://tomcat.apache.org/tomcat-8.5-doc/changelog.html Downloads: http://tomcat.apache.org/download-80.cgi Migration guides from Apache Tomcat 7.x and 8.0.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: r52784 - /release/tomcat/tomcat-8/v8.5.75/
Author: schultz Date: Mon Feb 28 22:10:39 2022 New Revision: 52784 Log: Remove old release. Removed: release/tomcat/tomcat-8/v8.5.75/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r52782 - /dev/tomcat/tomcat-8/v8.5.76/ /release/tomcat/tomcat-8/v8.5.76/
Author: schultz Date: Mon Feb 28 21:29:46 2022 New Revision: 52782 Log: Promote 8.5.76 Added: release/tomcat/tomcat-8/v8.5.76/ - copied from r52781, dev/tomcat/tomcat-8/v8.5.76/ Removed: dev/tomcat/tomcat-8/v8.5.76/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
JDK 18 Release Candidate builds & JDK 19 Early-Access builds
Mark, All, The Release Candidates of JDK 18 have been released [1]. At this stage, only P1 issues will be evaluated [2]. And with the JDK 18 General Availability sets for March 22nd, it is now time to shift the focus to JDK 19. I'd like to thank those of you who have already provided feedback on the early Early Builds of JDK 19. Feedback is always extremely useful, even more, when it comes early in the development cycle. [1] https://mail.openjdk.java.net/pipermail/jdk-dev/2022-February/006404.html [2] https://openjdk.java.net/jeps/3 ## JDK 18 Release Candidate The Release Candidate builds of JDK 18 are now available [3], and are provided under the GNU General Public License v2, with the Classpath Exception. The Release Notes are available here [4]. [3] https://jdk.java.net/18/ [4] https://jdk.java.net/18/release-notes ## JDK 19 Early-Access builds JDK 19 Early-Access builds 11 are now available [5], and are provided under the GNU General Public License v2, with the Classpath Exception. The Release Notes are available here [6]. [5] https://jdk.java.net/19/ [6] https://jdk.java.net/19/release-notes Recent changes that maybe of interest: * JDK-8278067: Make HttpURLConnection default keep alive timeout configurable * JDK-8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null * JDK-8282279: Interpret case-insensitive string locale independently * JDK-8176706: Support CLDR's Additional (Skeleton) Date-Time Formats * JDK-5041655: (ch) FileLock: negative param and overflow issues * JDK-8255266: Update Public Suffix List to 3c213aa * JDK-8280958: G1/Parallel: Unify marking code structure * JDK-8072070: Improve interpreter stack banging * JDK-8277175: Add a parallel multiply method to BigInteger * JDK-8278947: Support for array constants in constant table * JDK-8281462: Annotation toString output for enum not reusable for source input * JDK-8281175: Add a -providerPath option to jarsigner * JDK-8277795: ldap connection timeout not honoured under contention * JDK-8279842: HTTPS Channel Binding support for Java GSS/Kerberos * JDK-8280744: Allow SuppressWarnings to be used in all declaration contexts * JDK-8272984: javadoc support for reproducible builds * JDK-8272317: jstatd has dependency on Security Manager which needs to be removed ## New Project Loom Early-Access builds Project Loom Early-Access builds19-loom+4-115 (2022/2/13) are available [7] with the related Javadoc [8]. These EA builds are based on JDK 19 (jdk-19+9). In those builds, the APIs for Structured Concurrency and Scope Locals have been moved into the `jdk.incubator.concurrent` incubator module. Note that the module name may change later. To use those APIs, simply use `--add-modules jdk.incubator.concurrent` at compile and runtime. Those EA builds are provided under the GNU General Public License, version 2, with the Classpath Exception and are produced for the purpose of gathering feedback. Use for any other purpose is at your own risk. Proper feedback should be sent to the `loom-dev` mailing list [9]. [7] https://jdk.java.net/loom/ [8] https://download.java.net/java/early_access/loom/docs/api/ [9] https://mail.openjdk.java.net/mailman/listinfo/loom-dev ## Topics of Interest * JDK 18 - Card Table Card Size Shenanigans https://tschatzl.github.io/2022/02/15/card-table-card-size.html * Compiled & Tested Code In Javadoc - Inside Java Newscast #20 https://inside.java/2022/02/10/insidejava-newscast-020/ * New candidate JEP: 423: Region Pinning for G1 https://mail.openjdk.java.net/pipermail/jdk-dev/2022-February/006368.html * Refactoring Java 8 code with Java 17 new features - JEP Café #9 https://inside.java/2022/02/01/jepcafe9/ As always, let us know if you find any issues while testing your projects on the latest JDK Early Access builds. Thanks for your support! --David - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] [tomcat] tandraschko commented on pull request #476: EL FunctionMapperImpl: skip Method lookup if not required
tandraschko commented on pull request #476: URL: https://github.com/apache/tomcat/pull/476#issuecomment-1054621930 @markt-asf thanks, even better! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] [tomcat] elkman commented on pull request #479: Fix Response#sendRedirect() if no request context exists.
elkman commented on pull request #479: URL: https://github.com/apache/tomcat/pull/479#issuecomment-1054500688 A valid UseCase for me would be: _Migration of an application to a new context_ `https://host/myOldApp` -> `https://host/myNewApp` In this case you would forward both URL prefixes from the load balancer/proxy to the Tomcat and define a rewrite rule that redirects all requests to the old context to the new one. `RewriteRule ^/myOldApp/(.*)$ /myNewApp/legacy/$1 [R=301,L]` But since there exists no context for myOldApp, this would result in an NPE. (And yes, of course the Tomcat terminates TLS in this case and not the load balancer, otherwise you would do the redirect there of course.) I would prefer to handle such _misconfiguration_ by the RewriteValve in a understandable way without debugging into Tomcat codebase. But I don't see any practical way for reliable detection by the RewriteValve. Neither when loading the rule configuration, nor at runtime (except to catch the NPE). Instead of using default values, a specific exception could be generated. Then the error handling could be realized in the calling component, but this would violate the API. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[tomcat] branch 8.5.x updated: Fix regression of bugfix 65757
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/8.5.x by this push: new 094fad7 Fix regression of bugfix 65757 094fad7 is described below commit 094fad758d411cec347bbd191b52098e3dc0cbde Author: remm AuthorDate: Mon Feb 28 17:25:37 2022 +0100 Fix regression of bugfix 65757 With sequential use, the id needs to be reset to be accurate. Test case code submitted by Istvan Szekely. --- .../apache/catalina/connector/CoyoteAdapter.java | 2 + java/org/apache/coyote/Request.java| 4 + .../catalina/nonblocking/TestNonBlockingAPI.java | 157 - webapps/docs/changelog.xml | 12 +- 4 files changed, 173 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index d9714e0..3c02626 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -307,6 +307,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!success || !request.isAsync()) { updateWrapperErrorCount(request, response); @@ -439,6 +440,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!async) { diff --git a/java/org/apache/coyote/Request.java b/java/org/apache/coyote/Request.java index 677f113..b38a6c4 100644 --- a/java/org/apache/coyote/Request.java +++ b/java/org/apache/coyote/Request.java @@ -722,6 +722,10 @@ public final class Request { return threadId; } +public void clearRequestThread() { +threadId = 0; +} + public void setRequestThread() { threadId = Thread.currentThread().getId(); } diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java index a61a878..8973b71 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -979,6 +979,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } } +@Test +public void testDelayedNBReadWrite() throws Exception { +Tomcat tomcat = getTomcatInstance(); + +Context ctx = tomcat.addContext("", null); +CountDownLatch latch1 = new CountDownLatch(2); +DelayedNBReadWriteServlet servlet = new DelayedNBReadWriteServlet(latch1); +String servletName = DelayedNBReadWriteServlet.class.getName(); +Tomcat.addServlet(ctx, servletName, servlet); +ctx.addServletMappingDecoded("/", servletName); + +tomcat.start(); + +CountDownLatch latch2 = new CountDownLatch(1); +List exceptions = new ArrayList<>(); + +Thread t = new Thread( +new RequestPostExecutor("http://localhost:"; + getPort() + "/", latch2, exceptions)); +t.start(); + +latch1.await(3000, TimeUnit.MILLISECONDS); +latch2.await(3000, TimeUnit.MILLISECONDS); + +if (exceptions.size() > 0) { +Assert.fail(); +} +} + private static final class RequestExecutor implements Runnable { private final String url; private final CountDownLatch latch; @@ -1007,6 +1035,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } +private static final class RequestPostExecutor implements Runnable { +private final String url; +private final CountDownLatch latch; +private final List exceptions; + +public RequestPostExecutor(String url, CountDownLatch latch, List exceptions) { +this.url = url; +this.latch = latch; +this.exceptions = exceptions; +} + +@Override +public void run() { +try { +ByteChunk result = new ByteChunk(); +int rc = postUrl("body".getBytes("utf-8"), url, result, null); +Assert.assertEquals(HttpServletResponse.SC_OK, rc); +Assert.assertTrue(result.toString().contains("OK")); +} catch (Throwable e) { +e.printStackTrace(); +exceptions.add(e); +} finally { +latch.countDown(); +} +} + +} + @WebServlet(asyncSupported = true) private static final class DelayedNBWriteServlet extends TesterServlet { private static final long serialVersionUID =
[tomcat] branch 9.0.x updated: Fix regression of bugfix 65757
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/9.0.x by this push: new 7d3d359 Fix regression of bugfix 65757 7d3d359 is described below commit 7d3d359aaa8b7fe9463a73915340a347ad5e4614 Author: remm AuthorDate: Mon Feb 28 17:25:37 2022 +0100 Fix regression of bugfix 65757 With sequential use, the id needs to be reset to be accurate. Test case code submitted by Istvan Szekely. --- .../apache/catalina/connector/CoyoteAdapter.java | 2 + java/org/apache/coyote/Request.java| 4 + .../catalina/nonblocking/TestNonBlockingAPI.java | 164 - webapps/docs/changelog.xml | 12 +- 4 files changed, 176 insertions(+), 6 deletions(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index 2e8a4d5..aed20f3 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -300,6 +300,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!success || !request.isAsync()) { updateWrapperErrorCount(request, response); @@ -432,6 +433,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!async) { diff --git a/java/org/apache/coyote/Request.java b/java/org/apache/coyote/Request.java index a07d485..535c51e 100644 --- a/java/org/apache/coyote/Request.java +++ b/java/org/apache/coyote/Request.java @@ -692,6 +692,10 @@ public final class Request { return threadId; } +public void clearRequestThread() { +threadId = 0; +} + public void setRequestThread() { threadId = Thread.currentThread().getId(); } diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java index 99fedcd..782dce7 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -979,6 +979,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } } +@Test +public void testDelayedNBReadWrite() throws Exception { +Tomcat tomcat = getTomcatInstance(); + +Context ctx = tomcat.addContext("", null); +CountDownLatch latch1 = new CountDownLatch(2); +DelayedNBReadWriteServlet servlet = new DelayedNBReadWriteServlet(latch1); +String servletName = DelayedNBReadWriteServlet.class.getName(); +Tomcat.addServlet(ctx, servletName, servlet); +ctx.addServletMappingDecoded("/", servletName); + +tomcat.start(); + +CountDownLatch latch2 = new CountDownLatch(1); +List exceptions = new ArrayList<>(); + +Thread t = new Thread( +new RequestPostExecutor("http://localhost:"; + getPort() + "/", latch2, exceptions)); +t.start(); + +latch1.await(3000, TimeUnit.MILLISECONDS); +latch2.await(3000, TimeUnit.MILLISECONDS); + +if (exceptions.size() > 0) { +Assert.fail(); +} +} + private static final class RequestExecutor implements Runnable { private final String url; private final CountDownLatch latch; @@ -1007,6 +1035,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } +private static final class RequestPostExecutor implements Runnable { +private final String url; +private final CountDownLatch latch; +private final List exceptions; + +public RequestPostExecutor(String url, CountDownLatch latch, List exceptions) { +this.url = url; +this.latch = latch; +this.exceptions = exceptions; +} + +@Override +public void run() { +try { +ByteChunk result = new ByteChunk(); +int rc = postUrl("body".getBytes("utf-8"), url, result, null); +Assert.assertEquals(HttpServletResponse.SC_OK, rc); +Assert.assertTrue(result.toString().contains("OK")); +} catch (Throwable e) { +e.printStackTrace(); +exceptions.add(e); +} finally { +latch.countDown(); +} +} + +} + @WebServlet(asyncSupported = true) private static final class DelayedNBWriteServlet extends TesterServlet { private static final long serialVersionUID =
[tomcat] branch 10.0.x updated: Fix regression of bugfix 65757
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new 0077460 Fix regression of bugfix 65757 0077460 is described below commit 0077460ff2d56842637f73b6498fdad979800355 Author: remm AuthorDate: Mon Feb 28 17:25:37 2022 +0100 Fix regression of bugfix 65757 With sequential use, the id needs to be reset to be accurate. Test case code submitted by Istvan Szekely. --- .../apache/catalina/connector/CoyoteAdapter.java | 2 + java/org/apache/coyote/Request.java| 4 + .../catalina/nonblocking/TestNonBlockingAPI.java | 164 - webapps/docs/changelog.xml | 12 +- 4 files changed, 176 insertions(+), 6 deletions(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index 3d9b52e..200a2ad 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -296,6 +296,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!success || !request.isAsync()) { updateWrapperErrorCount(request, response); @@ -428,6 +429,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!async) { diff --git a/java/org/apache/coyote/Request.java b/java/org/apache/coyote/Request.java index c798199..46009d6 100644 --- a/java/org/apache/coyote/Request.java +++ b/java/org/apache/coyote/Request.java @@ -706,6 +706,10 @@ public final class Request { return threadId; } +public void clearRequestThread() { +threadId = 0; +} + public void setRequestThread() { threadId = Thread.currentThread().getId(); } diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java index df89cd2..0ca63ab 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -980,6 +980,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } } +@Test +public void testDelayedNBReadWrite() throws Exception { +Tomcat tomcat = getTomcatInstance(); + +Context ctx = tomcat.addContext("", null); +CountDownLatch latch1 = new CountDownLatch(2); +DelayedNBReadWriteServlet servlet = new DelayedNBReadWriteServlet(latch1); +String servletName = DelayedNBReadWriteServlet.class.getName(); +Tomcat.addServlet(ctx, servletName, servlet); +ctx.addServletMappingDecoded("/", servletName); + +tomcat.start(); + +CountDownLatch latch2 = new CountDownLatch(1); +List exceptions = new ArrayList<>(); + +Thread t = new Thread( +new RequestPostExecutor("http://localhost:"; + getPort() + "/", latch2, exceptions)); +t.start(); + +latch1.await(3000, TimeUnit.MILLISECONDS); +latch2.await(3000, TimeUnit.MILLISECONDS); + +if (exceptions.size() > 0) { +Assert.fail(); +} +} + private static final class RequestExecutor implements Runnable { private final String url; private final CountDownLatch latch; @@ -1008,6 +1036,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } +private static final class RequestPostExecutor implements Runnable { +private final String url; +private final CountDownLatch latch; +private final List exceptions; + +public RequestPostExecutor(String url, CountDownLatch latch, List exceptions) { +this.url = url; +this.latch = latch; +this.exceptions = exceptions; +} + +@Override +public void run() { +try { +ByteChunk result = new ByteChunk(); +int rc = postUrl("body".getBytes("utf-8"), url, result, null); +Assert.assertEquals(HttpServletResponse.SC_OK, rc); +Assert.assertTrue(result.toString().contains("OK")); +} catch (Throwable e) { +e.printStackTrace(); +exceptions.add(e); +} finally { +latch.countDown(); +} +} + +} + @WebServlet(asyncSupported = true) private static final class DelayedNBWriteServlet extends TesterServlet { private static final long serialVersionUID
[tomcat] branch main updated: Fix regression of bugfix 65757
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 2739565 Fix regression of bugfix 65757 2739565 is described below commit 2739565fa5286623e8bb31823770595de14b6370 Author: remm AuthorDate: Mon Feb 28 17:25:37 2022 +0100 Fix regression of bugfix 65757 With sequential use, the id needs to be reset to be accurate. Test case code submitted by Istvan Szekely. --- .../apache/catalina/connector/CoyoteAdapter.java | 2 + java/org/apache/coyote/Request.java| 4 + .../catalina/nonblocking/TestNonBlockingAPI.java | 164 - webapps/docs/changelog.xml | 12 +- 4 files changed, 176 insertions(+), 6 deletions(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index 50cb5a6..5b56601 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -297,6 +297,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!success || !request.isAsync()) { updateWrapperErrorCount(request, response); @@ -429,6 +430,7 @@ public class CoyoteAdapter implements Adapter { } req.getRequestProcessor().setWorkerThreadName(null); +req.clearRequestThread(); // Recycle the wrapper request and response if (!async) { diff --git a/java/org/apache/coyote/Request.java b/java/org/apache/coyote/Request.java index 0cb4dbe..8a28996 100644 --- a/java/org/apache/coyote/Request.java +++ b/java/org/apache/coyote/Request.java @@ -742,6 +742,10 @@ public final class Request { return threadId; } +public void clearRequestThread() { +threadId = 0; +} + public void setRequestThread() { threadId = Thread.currentThread().getId(); } diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java index df89cd2..0ca63ab 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -980,6 +980,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } } +@Test +public void testDelayedNBReadWrite() throws Exception { +Tomcat tomcat = getTomcatInstance(); + +Context ctx = tomcat.addContext("", null); +CountDownLatch latch1 = new CountDownLatch(2); +DelayedNBReadWriteServlet servlet = new DelayedNBReadWriteServlet(latch1); +String servletName = DelayedNBReadWriteServlet.class.getName(); +Tomcat.addServlet(ctx, servletName, servlet); +ctx.addServletMappingDecoded("/", servletName); + +tomcat.start(); + +CountDownLatch latch2 = new CountDownLatch(1); +List exceptions = new ArrayList<>(); + +Thread t = new Thread( +new RequestPostExecutor("http://localhost:"; + getPort() + "/", latch2, exceptions)); +t.start(); + +latch1.await(3000, TimeUnit.MILLISECONDS); +latch2.await(3000, TimeUnit.MILLISECONDS); + +if (exceptions.size() > 0) { +Assert.fail(); +} +} + private static final class RequestExecutor implements Runnable { private final String url; private final CountDownLatch latch; @@ -1008,6 +1036,34 @@ public class TestNonBlockingAPI extends TomcatBaseTest { } +private static final class RequestPostExecutor implements Runnable { +private final String url; +private final CountDownLatch latch; +private final List exceptions; + +public RequestPostExecutor(String url, CountDownLatch latch, List exceptions) { +this.url = url; +this.latch = latch; +this.exceptions = exceptions; +} + +@Override +public void run() { +try { +ByteChunk result = new ByteChunk(); +int rc = postUrl("body".getBytes("utf-8"), url, result, null); +Assert.assertEquals(HttpServletResponse.SC_OK, rc); +Assert.assertTrue(result.toString().contains("OK")); +} catch (Throwable e) { +e.printStackTrace(); +exceptions.add(e); +} finally { +latch.countDown(); +} +} + +} + @WebServlet(asyncSupported = true) private static final class DelayedNBWriteServlet extends TesterServlet { private static final long serialVersionUID = 1
Re: [PROPOSAL] Change default TLS protocol from "all" to "TLSv1.2,TLSv1.3" in Tomcat 10.1
On Mon, Feb 28, 2022 at 8:12 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > > As the subject says. > > Or, perhaps, redefine "all" to be "TLSv1.2,TLSv1.3" similarly to what we > did in the past when removing SSLv3 from the definition of "all". > > I think this should be done with Tomcat 10.1 (relatively new) to set a > precedent moving forward, but not 8.5 or 9.0 to avoid disrupting > production deployments. > +1 Igal > > -chris > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
[PROPOSAL] Change default TLS protocol from "all" to "TLSv1.2,TLSv1.3" in Tomcat 10.1
All, As the subject says. Or, perhaps, redefine "all" to be "TLSv1.2,TLSv1.3" similarly to what we did in the past when removing SSLv3 from the definition of "all". I think this should be done with Tomcat 10.1 (relatively new) to set a precedent moving forward, but not 8.5 or 9.0 to avoid disrupting production deployments. -chris - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Running cipher-suite tests without failure
Am 28.02.2022 um 15:34 schrieb Christopher Schultz: Rainer, On 2/25/22 23:22, Rainer Jung wrote: I don't get any unit test failures. I set in build.properties: test.apr.loc=/path/to/tcnative/lib test.openssl.path=/path/to/openssl/bin/openssl I have: test.openssl.loc=/home/cschultz/projects/apache/apache-tomcat/openssl-1.1.1/target/bin/openssl I have not set test.apr.loc and use the local system APR library. Here are the effective versions, from my test build-test-suite report: * OpenSSL: OpenSSL 1.1.1 11 Sep 2018 * APR: 1.6.5 My OpenSSL version is locally-compiled. Here are the testcase failures: Testsuite: org.apache.tomcat.util.net.openssl.ciphers.TestCipher Testcase: testOpenSSLCipherAvailability took 0.008 sec FAILED Unavailable cipher suites: IDEA-CBC-SHA+SSLv3 expected:<0> but was:<1> Same failures for NIO, NIO2, and APR (of course, since these tests are not related to the connector-type). Also this: Testsuite: org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser Tests run: 85, Failures: 11, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec Error in cipher list 140089009423488:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:../ssl/ssl_lib.c:2564: Error in cipher list 140161019962496:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:../ssl/ssl_lib.c:2564: [.. many times repeated...] Testcase: testALL took 0.012 sec FAILED Expected 143 ciphers but got 141 for the specification 'ALL' expected:<[SSL_RSA_WITH_IDEA_CBC_SHA, [... lots of additional cipher suites ...] I am missing the following two cipher suites: SSL_RSA_WITH_IDEA_CBC_SHA TLS_RSA_WITH_IDEA_CBC_SHA Is there a way to disable checking for the IDEA cipher suites or do I need to customize my OpenSSL build to include them? Class TesterOpenSSL.java contains the following snippet: String skipCiphers = System.getProperty("tomcat.test.openssl.unimplemented", ""); if (!skipCiphers.isEmpty()) { String[] skip = skipCiphers.split(","); for (Cipher c : Cipher.values()) { for (String s : skip) { if (c.toString().contains(s)) { unimplemented.add(c); } } } } So it seems you can add your own "unimplemented" ciphers as a comma separated list to the system property "tomcat.test.openssl.unimplemented" when running the unit tests. And build.xml contains value="${test.openssl.unimplemented}" /> so you an set the system property from the property "test.openssl.unimplemented" in build.properties. You might have to check, which form the expected cipher names have. Best regards, Rainer - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [tomcat] branch 8.5.x updated: Update version for next development cycle
On 28/02/2022 14:58, Christopher Schultz wrote: Mark, Thanks for doing this. Apologies for skipping that step. np. Easily done. I often forget something too. Mark -chris On 2/24/22 09:39, ma...@apache.org wrote: This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/8.5.x by this push: new 3b761d1 Update version for next development cycle 3b761d1 is described below commit 3b761d1e4d64140a2c02d60c4cacc5bcb9ae589d Author: Mark Thomas AuthorDate: Thu Feb 24 14:39:15 2022 + Update version for next development cycle --- build.properties.default | 2 +- res/maven/mvn.properties.default | 2 +- webapps/docs/changelog.xml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.properties.default b/build.properties.default index 16876ac..fd4ed58 100644 --- a/build.properties.default +++ b/build.properties.default @@ -31,7 +31,7 @@ # - Version Control Flags - version.major=8 version.minor=5 -version.build=76 +version.build=77 version.patch=0 version.suffix=-dev diff --git a/res/maven/mvn.properties.default b/res/maven/mvn.properties.default index 34bd29f..092fcb8 100644 --- a/res/maven/mvn.properties.default +++ b/res/maven/mvn.properties.default @@ -39,7 +39,7 @@ maven.asf.release.repo.url=https://repository.apache.org/service/local/staging/d maven.asf.release.repo.repositoryId=apache.releases.https # Release version info -maven.asf.release.deploy.version=8.5.76 +maven.asf.release.deploy.version=8.5.77 #Where do we load the libraries from tomcat.lib.path=../../output/build/lib diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 2475d75..b8e84e5 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -104,7 +104,9 @@ They eventually become mixed with the numbered issues (i.e., numbered issues do not "pop up" wrt. others). --> - + + + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[VOTE][RESULT] Release Apache Tomcat 8.5.76
All, The following votes were case: Binding: +1: markt, remm, schultz No other votes were cast. Therefore, the vote passes. Thanks to everyone who contributed to this release. -chris On 2/23/22 13:57, Christopher Schultz wrote: The proposed Apache Tomcat 8.5.76 release is now available for voting. The notable changes compared to 8.5.75 are: - Correct a regression in the fix for 65454 that meant that minSpareThreads and maxThreads settings were ignored when the Connector used an internal executor - Improve the detection of the Linux duplicate accept bug and reduce (hopefully avoid) instances of false positives. - Back-port fixes for BZ 65408 to refactor socket-close operations to improve resilience when objects are re-used by applications. Along with lots of other bug fixes and improvements. This is the first release of Tomcat 8.5 that has been built with Java 11 (in Java 7 mode) instead of Java 7. Please report any strangeness you may observe especially if you are running Tomcat 8.5 in an environment using Java < 11. We don't expect any issues, but understand that we cannot test all possible environmental configurations. For full details, see the changelog: https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html It can be obtained from: https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.76/ The Maven staging repo is: https://repository.apache.org/content/repositories/orgapachetomcat-1359 The tag is: https://github.com/apache/tomcat/tree/8.5.76 67928399251771271d95a1805001ba00e650adce The proposed 8.5.76 release is: [ ] Broken - do not release [ ] Stable - go ahead and release as 8.5.76 (stable) -chris - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [tomcat] branch 8.5.x updated: Update version for next development cycle
Mark, Thanks for doing this. Apologies for skipping that step. -chris On 2/24/22 09:39, ma...@apache.org wrote: This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/8.5.x by this push: new 3b761d1 Update version for next development cycle 3b761d1 is described below commit 3b761d1e4d64140a2c02d60c4cacc5bcb9ae589d Author: Mark Thomas AuthorDate: Thu Feb 24 14:39:15 2022 + Update version for next development cycle --- build.properties.default | 2 +- res/maven/mvn.properties.default | 2 +- webapps/docs/changelog.xml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.properties.default b/build.properties.default index 16876ac..fd4ed58 100644 --- a/build.properties.default +++ b/build.properties.default @@ -31,7 +31,7 @@ # - Version Control Flags - version.major=8 version.minor=5 -version.build=76 +version.build=77 version.patch=0 version.suffix=-dev diff --git a/res/maven/mvn.properties.default b/res/maven/mvn.properties.default index 34bd29f..092fcb8 100644 --- a/res/maven/mvn.properties.default +++ b/res/maven/mvn.properties.default @@ -39,7 +39,7 @@ maven.asf.release.repo.url=https://repository.apache.org/service/local/staging/d maven.asf.release.repo.repositoryId=apache.releases.https # Release version info -maven.asf.release.deploy.version=8.5.76 +maven.asf.release.deploy.version=8.5.77 #Where do we load the libraries from tomcat.lib.path=../../output/build/lib diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 2475d75..b8e84e5 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -104,7 +104,9 @@ They eventually become mixed with the numbered issues (i.e., numbered issues do not "pop up" wrt. others). --> - + + + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 65921] Null pointer exception if RewriteRule attempt to set mime type
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 Richard Evans changed: What|Removed |Added OS||All CC||richard.evans@blueallegro.n ||et -- 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 65921] New: Null pointer exception if RewriteRule attempt to set mime type
https://bz.apache.org/bugzilla/show_bug.cgi?id=65921 Bug ID: 65921 Summary: Null pointer exception if RewriteRule attempt to set mime type Product: Tomcat 9 Version: 9.0.55 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: richard.ev...@blueallegro.net Target Milestone: - A rewrite rule like: RewriteRule ^/path/.*$ - [T=text/xml] fails with a NullPointerException because the contentTypeMB field in the Request object has not initialized. Request.setContentType should initialize contentTypeMB, or the rewrite valve should call getContentType first. The former is preferable in case there is no content type in the request. This always happens with the HTTP/1.1 connector. With the AJP connector the exeception occurs if the request does not contain a Content-Type header. Backtrace: java.lang.NullPointerException: Cannot invoke "org.apache.tomcat.util.buf.MessageBytes.setString(String)" because "this.contentTypeMB" is null at org.apache.coyote.Request.setContentType(Request.java:465) at org.apache.catalina.connector.Request.setContentType(Request.java:1057) at org.apache.catalina.valves.rewrite.RewriteValve.invoke(RewriteValve.java:448) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) -- 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.59 available
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.59. 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.59 is a bugfix and feature release. The notable changes compared to 9.0.58 include: - Add support for additional user attributes to TomcatPrincipal and GenericPrincipal - Correct a regression in the fix for 65454 that meant that minSpareThreads and maxThreads settings were ignored when the Connector used an internal executor - Improve the detection of the Linux duplicate accept bug and reduce (hopefully avoid) instances of false positives. Along with lots of other bug fixes and improvements. Please refer to the change log for the complete list of changes: https://tomcat.apache.org/tomcat-9.0-doc/changelog.html Downloads: https://tomcat.apache.org/download-90.cgi Migration guides from Apache Tomcat 7.x and 8.x: https://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
Re: Running cipher-suite tests without failure
Rainer, On 2/25/22 23:22, Rainer Jung wrote: I don't get any unit test failures. I set in build.properties: test.apr.loc=/path/to/tcnative/lib test.openssl.path=/path/to/openssl/bin/openssl I have: test.openssl.loc=/home/cschultz/projects/apache/apache-tomcat/openssl-1.1.1/target/bin/openssl I have not set test.apr.loc and use the local system APR library. Here are the effective versions, from my test build-test-suite report: * OpenSSL: OpenSSL 1.1.1 11 Sep 2018 * APR: 1.6.5 My OpenSSL version is locally-compiled. Here are the testcase failures: Testsuite: org.apache.tomcat.util.net.openssl.ciphers.TestCipher Testcase: testOpenSSLCipherAvailability took 0.008 sec FAILED Unavailable cipher suites: IDEA-CBC-SHA+SSLv3 expected:<0> but was:<1> Same failures for NIO, NIO2, and APR (of course, since these tests are not related to the connector-type). Also this: Testsuite: org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser Tests run: 85, Failures: 11, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec Error in cipher list 140089009423488:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:../ssl/ssl_lib.c:2564: Error in cipher list 140161019962496:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:../ssl/ssl_lib.c:2564: [.. many times repeated...] Testcase: testALL took 0.012 sec FAILED Expected 143 ciphers but got 141 for the specification 'ALL' expected:<[SSL_RSA_WITH_IDEA_CBC_SHA, [... lots of additional cipher suites ...] I am missing the following two cipher suites: SSL_RSA_WITH_IDEA_CBC_SHA TLS_RSA_WITH_IDEA_CBC_SHA Is there a way to disable checking for the IDEA cipher suites or do I need to customize my OpenSSL build to include them? Thanks, -chris - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1898479 - in /tomcat/site/trunk: docs/ xdocs/
Author: remm Date: Mon Feb 28 14:33:18 2022 New Revision: 1898479 URL: http://svn.apache.org/viewvc?rev=1898479&view=rev Log: Update site for 9.0.59 Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf 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/doap_Tomcat.rdf 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/docs/doap_Tomcat.rdf URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1898479&r1=1898478&r2=1898479&view=diff == --- tomcat/site/trunk/docs/doap_Tomcat.rdf (original) +++ tomcat/site/trunk/docs/doap_Tomcat.rdf Mon Feb 28 14:33:18 2022 @@ -67,8 +67,8 @@ Latest Stable 9.0.x Release -2022-01-20 -9.0.58 +2022-02-28 +9.0.59 Modified: tomcat/site/trunk/docs/download-90.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-90.html?rev=1898479&r1=1898478&r2=1898479&view=diff == --- tomcat/site/trunk/docs/download-90.html (original) +++ tomcat/site/trunk/docs/download-90.html Mon Feb 28 14:33:18 2022 @@ -10,7 +10,7 @@ Quick Navigation -[define v]9.0.58[end] +[define v]9.0.59[end] https://downloads.apache.org/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=1898479&r1=1898478&r2=1898479&view=diff == --- tomcat/site/trunk/docs/index.html (original) +++ tomcat/site/trunk/docs/index.html Mon Feb 28 14:33:18 2022 @@ -34,6 +34,29 @@ wiki page. Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are trademarks of the Apache Software Foundation. +2022-02-28 Tomcat 9.0.59 Released + +The Apache Tomcat Project is proud to announce the release of version 9.0.59 +of Apache Tomcat. This release implements specifications that are part of the +Java EE 8 platform. The notable changes compared to 9.0.58 include: + +Add support for additional user attributes to TomcatPrincipal and +GenericPrincipal +Correct a regression in the fix for 65454 that meant that +minSpareThreads and maxThreads settings were ignored when the +Connector used an internal executor +Improve the detection of the Linux duplicate accept bug and reduce +(hopefully avoid) instances of false positives. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 9 +changelog. + + + +https://tomcat.apache.org/download-90.cgi";>Download + 2022-02-28 Tomcat 10.0.17 Released The Apache Tomcat Project is proud to announce the release of version 10.0.17 @@ -98,30 +121,6 @@ Full details of these changes, and all t https://tomcat.apache.org/download-10.cgi";>Download -2022-01-20 Tomcat 9.0.58 Released - -The Apache Tomcat Project is proud to announce the release of version 9.0.58 -of Apache Tomcat. This release implements specifications that are part of the -Java EE 8 platform. The notable changes compared to 9.0.56 include: - -Add recycling check in the input and output stream isReady to try to -give a more informative ISE when the facade has been recycled. -Implement support for HTTP/1.1 upgrade when the request includes a -body. The maximum permitted size of the body is controlled by -maxSavePostSize. -Improve handling of various cases where one request/response -processing thread attempts to manage the asynchronous IO for a -different request/response. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 9 -changelog. - - - -https://tomcat.apache.org/download-90.cgi";>Download - 2022-01-17 Tomcat 8.5.75 Released The Apache Tomcat Project is proud to announce the release of version 8.5.75 Modified: tomcat/site/trunk/docs/migration-9.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1898479&r1=1898478&r2=1898479&view=diff == --- tomcat/site/trunk/docs/migration-9.html (original) +++ tomcat/site/trunk/docs/migration-9.html Mon Feb 28 14:33:18 2022 @@ -440,7 +440,8 @@ of Apache Tomcat. 9.0.53 9.0.54 9.0.55 -9.0.56 +9.0.56 +9.0.58 , new version: 9.0.0-M1 @@ -504,7 +505,8 @@ of Apache Tomcat. 9.0.54 9.0.55 9.0.56 -9.0.58 +9.0.58 +9.0.58 trunk (unreleased)
svn commit: r1898478 - in /tomcat/site/trunk/docs/tomcat-9.0-doc: ./ annotationapi/ annotationapi/javax/annotation/ annotationapi/javax/annotation/security/ annotationapi/javax/annotation/sql/ annotat
Author: remm Date: Mon Feb 28 14:20:44 2022 New Revision: 1898478 URL: http://svn.apache.org/viewvc?rev=1898478&view=rev Log: Tomcat 9.0.59 docs [This commit notification would consist of 1190 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: Jakarta EE 10 update
On 28/02/2022 12:23, Rémy Maucherat wrote: On Wed, Feb 23, 2022 at 8:01 PM Mark Thomas wrote: Just a quick update. Current planned release date is ~March 2022. Tomcat 10.1.x currently passes the latest builds of the Servlet, JSP, EL and WebSocket TCK with the exception of the one Servlet test we expected to fail. Ok, so the next "monthly" release could be 10.1.0 then. Maybe. I haven't looked at the JASPIC changes at all yet. About that context path problem, do we still keep it as is or do we try to add a bundled workaround ? I'd be -0 on implementing a clean, low impact solution that didn't change the overall deployment approach. I haven't got a fully thought through solution but I've been thinking about something based on the auto deployer renaming the WAR providing there are no conflicts. The catch is you need to parse web.xml to get the new name and that isn't available until later in the deployment process. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Jakarta EE 10 update
On Wed, Feb 23, 2022 at 8:01 PM Mark Thomas wrote: > > Just a quick update. > > Current planned release date is ~March 2022. > > Tomcat 10.1.x currently passes the latest builds of the Servlet, JSP, EL > and WebSocket TCK with the exception of the one Servlet test we expected > to fail. Ok, so the next "monthly" release could be 10.1.0 then. About that context path problem, do we still keep it as is or do we try to add a bundled workaround ? Rémy > Overall, things are looking good. > > Mark > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[tomcat] branch 9.0.x updated: Add release date for 9.0.59.
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/9.0.x by this push: new 6a7a199 Add release date for 9.0.59. 6a7a199 is described below commit 6a7a199ccba4a13f4a9659d1f28b7abe4e4b6d8a Author: remm AuthorDate: Mon Feb 28 13:18:52 2022 +0100 Add release date for 9.0.59. --- webapps/docs/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 6623ecf..d62502e 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -123,7 +123,7 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[ANN] Apache Tomcat 10.0.17 available
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.0.17. This release is targeted at Jakarta EE 9. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat will automatically convert them to Jakarta EE and copy them to the webapps directory. This conversion is performed using the Apache Tomcat migration tool for Jakarta EE tool which is also available as a separate download for off-line use. Apache Tomcat 10 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations specifications. The notable changes compared to 10.0.16 include: - Add support for additional user attributes to TomcatPrincipal and GenericPrincipal - Correct a regression in the fix for 65454 that meant that minSpareThreads and maxThreads settings were ignored when the Connector used an internal executor - Improve the detection of the Linux duplicate accept bug and reduce (hopefully avoid) instances of false positives. Please refer to the change log for the complete list of changes: http://tomcat.apache.org/tomcat-10.0-doc/changelog.html Downloads: http://tomcat.apache.org/download-10.cgi Migration guides from Apache Tomcat 7.0.x, 8.5.x and 9.0.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
[ANN] Apache Tomcat 10.1.0-M11 (alpha) available
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.1.0-M11 (alpha). Apache Tomcat 10 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations specifications. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat will automatically convert them to Jakarta EE and copy them to the webapps directory. This conversion is performed using the Apache Tomcat migration tool for Jakarta EE tool which is also available as a separate download for off-line use. Apache Tomcat 10.1.0-M11 is a milestone release of the 10.1.x branch and has been made to provide users with early access to the new features in Apache Tomcat 10.1.x so that they may provide feedback. The notable changes compared to 10.1.0-M10 include: - Add support for additional user attributes to TomcatPrincipal and GenericPrincipal - Correct a regression in the fix for 65454 that meant that minSpareThreads and maxThreads settings were ignored when the Connector used an internal executor - Improve the detection of the Linux duplicate accept bug and reduce (hopefully avoid) instances of false positives. Please refer to the change log for the complete list of changes: http://tomcat.apache.org/tomcat-10.1-doc/changelog.html Downloads: http://tomcat.apache.org/download-10.cgi Migration guides from Apache Tomcat 7.0.x, 8.5.x and 9.0.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
Re: Running cipher-suite tests without failure
And another reply to self: I just tried OpenSSL 3.0.0 for TC 8.5. When running with Java 1.7.0_80 and OpenSSL based connector, I get failures for: [junit] Test org.apache.catalina.valves.rewrite.TestResolverSSL FAILED [junit] Test org.apache.tomcat.util.net.TestClientCert FAILED [junit] Test org.apache.tomcat.util.net.TestCustomSslTrustManager FAILED They all look more or less like: Received fatal alert: internal_error javax.net.ssl.SSLException: Received fatal alert: internal_error at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) So the java based client gets an alert when connection to a OpenSSL 3.0.0 based server. Probably not unexpected for old patch levels of Java 7. I might look for the alert later, but the script is now testing other Java version, OpenSSL 3 and TC 8.5. Java 8 seems fine so far. Best regards, Rainer Am 26.02.2022 um 05:39 schrieb Rainer Jung: Forgot to mention: I do also test with Adoptium, Zulu and RedHat based JDK builds. Latest patch levels, results have been stable for all combination for a long time now, not only current latest patch levels. Controlling which test classes are executed is possible via test.name and test.exclude in the build.properties. Default value ist: test.name=**/Test*.java and test.exclude is empty. The possible syntax for the values comes from the use in build.xml: Multiple values can be separated by commas. Examples (analogous for test.exclude, not tested): test.name=org/apache/coyote/http2/TestCancelledUpload.java,org/apache/coyote/http2/TestFlowControl.java test.name=**/TestWebSocketFrameClientSSL.java,**/TestWsWebSocketContainer.java,**/util/net/ test.name=org/apache/tomcat/util/net/openssl/** Some clases which are not actually unit test classes but match the default test.name are always excluded: And (see build.xml): name="org/apache/tomcat/util/net/openssl/ciphers/**" unless="${test.openssl.exists}" /> if="${test.excludePerformance}" /> The ant junit batchtest element used in our build.xml IMHO only allows test selection (include and exclude) by test class, not individual methods. The "test" element would allow inclusion by method name but would only run tests from a single class. Best regards, Rainer Am 26.02.2022 um 05:22 schrieb Rainer Jung: Hi Chris, I don't get any unit test failures. I set in build.properties: test.apr.loc=/path/to/tcnative/lib test.openssl.path=/path/to/openssl/bin/openssl Plus when testing with JSSE: test.sslImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation resp. OpenSSL: test.sslImplementation=org.apache.tomcat.util.net.openssl.OpenSSLImplementation I do test with all Java LTS releases plus 18 plus for TC 8.5.0 Java 1.7.0. All in combination with self-compiled OpenSSL 1.1.1 plus tcnative and I did not get any such failures for quite some time (probably more than a year). Have not tried OpenSSL 3.0.0 during the last months though. Wild guess: maybe test.openssl.path is missing in your setup and the unit tests use the platform OpenSSL commandline binary in these tests, but on the server (Tomcat) side a newer one which you used to compile tcnative? Or platform OpenSSL misses some default OpenSSL ciphers? As said: using test.openssl.path makes sure, both sides use the same OpenSSL. For the sake of completeness (not related to OpenSSL): - testing with pre Java 11 needs the following lines in your own build.properties file: opens.javalang=-Dnop opens.javaio=-Dnop opens.sunrmi=-Dnop opens.javautil=-Dnop opens.javautilconcurrent=-Dnop You can add them before building or also just before running the test. They only apply to the unit test runs. The "nop" was chosen as any system property name that is likely not actually being used. It should remind one of a "no-operation". - testing with Java 1.7.0 for TC 8.5 in addition needs older easymock and objenesis versions. You would have to set easymock.version=3.6 objenesis.version=2.6 plus appropriate checksum lines for the download check: easymock.checksum.value=1e6943105a21a336a874140e82b1a406|276883daaf
svn commit: r1898470 - in /tomcat/site/trunk: docs/ xdocs/
Author: markt Date: Mon Feb 28 12:03:44 2022 New Revision: 1898470 URL: http://svn.apache.org/viewvc?rev=1898470&view=rev Log: Update site for 10.0.17 release Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf tomcat/site/trunk/docs/download-10.html tomcat/site/trunk/docs/index.html tomcat/site/trunk/docs/migration-10.html tomcat/site/trunk/docs/oldnews.html tomcat/site/trunk/docs/whichversion.html tomcat/site/trunk/xdocs/doap_Tomcat.rdf tomcat/site/trunk/xdocs/download-10.xml tomcat/site/trunk/xdocs/index.xml tomcat/site/trunk/xdocs/migration-10.xml tomcat/site/trunk/xdocs/oldnews.xml tomcat/site/trunk/xdocs/whichversion.xml Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1898470&r1=1898469&r2=1898470&view=diff == --- tomcat/site/trunk/docs/doap_Tomcat.rdf (original) +++ tomcat/site/trunk/docs/doap_Tomcat.rdf Mon Feb 28 12:03:44 2022 @@ -60,8 +60,8 @@ Latest Stable 10.0.x Release -2022-01-20 -10.0.16 +2022-02-28 +10.0.17 Modified: tomcat/site/trunk/docs/download-10.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-10.html?rev=1898470&r1=1898469&r2=1898470&view=diff == --- tomcat/site/trunk/docs/download-10.html (original) +++ tomcat/site/trunk/docs/download-10.html Mon Feb 28 12:03:44 2022 @@ -19,7 +19,7 @@ Quick Navigation -[define v]10.0.16[end] +[define v]10.0.17[end] [define w]10.1.0-M11[end] https://downloads.apache.org/tomcat/tomcat-10/KEYS";>KEYS | [v] | Modified: tomcat/site/trunk/docs/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1898470&r1=1898469&r2=1898470&view=diff == --- tomcat/site/trunk/docs/index.html (original) +++ tomcat/site/trunk/docs/index.html Mon Feb 28 12:03:44 2022 @@ -34,11 +34,11 @@ wiki page. Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are trademarks of the Apache Software Foundation. -2022-02-28 Tomcat 10.1.0-M11 (alpha) Released +2022-02-28 Tomcat 10.0.17 Released -The Apache Tomcat Project is proud to announce the release of version 10.1.0-M11 -of Apache Tomcat. This release is a milestone release and is targeted at Jakarta -EE 10. +The Apache Tomcat Project is proud to announce the release of version 10.0.17 +of Apache Tomcat. This release implements specifications that are part of the +Jakarta EE 9 platform. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE based applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and @@ -59,18 +59,18 @@ migration tool for Jakarta EE tool w Full details of these changes, and all the other changes, are available in the -Tomcat 10.1 -(alpha) changelog. +Tomcat 10 +changelog. https://tomcat.apache.org/download-10.cgi";>Download -2022-01-20 Tomcat 10.0.16 Released +2022-02-28 Tomcat 10.1.0-M11 (alpha) Released -The Apache Tomcat Project is proud to announce the release of version 10.0.16 -of Apache Tomcat. This release implements specifications that are part of the -Jakarta EE 9 platform. +The Apache Tomcat Project is proud to announce the release of version 10.1.0-M11 +of Apache Tomcat. This release is a milestone release and is targeted at Jakarta +EE 10. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE based applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and @@ -81,18 +81,18 @@ migration tool for Jakarta EE tool w https://tomcat.apache.org/download-migration.cgi";>download for off-line use. The notable changes in this release are: -Add a recycling check in the input and output stream isReady to try to give -a more informative ISE when the facade has been recycled. -Implement support for HTTP/1.1 upgrade when the request includes a body. The -maximum permitted size of the body is controlled by maxSavePostSize. -Improve handling of various cases where one request/response processing -thread attempts to manage the asynchronous IO for a different -request/response +Add support for additional user attributes to TomcatPrincipal +and GenericPrincipal. +Correct a regression in the fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=65454";>65454 that meant that +minSpareThreads and maxThreads settings were +ignored when the Connector used an internal executor. +Improve the detection of the Linux duplicate accept bug and reduce +(hopefully avoid) instances of false positives. Full details of these changes
svn commit: r1898469 - in /tomcat/site/trunk: ./ docs/tomcat-10.0-doc/ docs/tomcat-10.0-doc/annotationapi/ docs/tomcat-10.0-doc/annotationapi/jakarta/annotation/ docs/tomcat-10.0-doc/annotationapi/jak
Author: markt Date: Mon Feb 28 12:02:52 2022 New Revision: 1898469 URL: http://svn.apache.org/viewvc?rev=1898469&view=rev Log: Update docs for 10.0.17 release [This commit notification would consist of 72 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: r1898468 [1/2] - in /tomcat/site/trunk: docs/oldnews-2021.html xdocs/oldnews-2021.xml
Author: markt Date: Mon Feb 28 11:58:38 2022 New Revision: 1898468 URL: http://svn.apache.org/viewvc?rev=1898468&view=rev Log: Add missing file Added: tomcat/site/trunk/docs/oldnews-2021.html tomcat/site/trunk/xdocs/oldnews-2021.xml Added: tomcat/site/trunk/docs/oldnews-2021.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/oldnews-2021.html?rev=1898468&view=auto == --- tomcat/site/trunk/docs/oldnews-2021.html (added) +++ tomcat/site/trunk/docs/oldnews-2021.html Mon Feb 28 11:58:38 2022 @@ -0,0 +1,1158 @@ + +Apache Tomcat® - Old news!http://tomcat.apache.org/";>Apache Tomcat®https://www.apache.org/foundation/contributing.html"; target="_blank" class="pull-left">https://www.apache.org/images/SupportApache-small.png"; class="support-asf" alt="Support Apache">http://www.apache .org/" target="_blank" class="pull-left">https://www.google.com/search"; method="get">GOApache TomcatHomeTaglibsMaven PluginDownloadWhich version?https://tomcat.apache.org/download-10.cgi";>Tomcat 10https://tomcat.apache.org/download-90.cgi";>Tomcat 9https://tomcat.apache.org/download-80.cgi";>Tomcat 8 https://tomcat.apache.org/download-migration.cgi";>Tomcat Migration Tool for Jakarta EEhttps://tomcat.apache.org/download-connectors.cgi";>Tomcat Connectorshttps://tomcat.apache.org/download-native.cgi";>Tomcat Nativehttps://tomcat.apache.org/download-taglibs.cgi";>Taglibshttps://archive.apache.org/dist/tomcat/";>ArchivesDocumentationTomcat 10.1 (alpha)Tomcat 10.0Tomcat 9.0Tomcat 8.5Tomcat ConnectorsTomcat Nativehttps://cwiki.apache.org/confluence/display/TOMCAT";>WikiMigration GuidePresentationshttps://cwiki.apache.org/confluence/x/Bi8lBg";>SpecificationsProblems?Security ReportsFind helphttps://cwiki.apache.org/confluence/display/TOMCAT/FAQ";>FAQMailing ListsBug DatabaseIRCGet InvolvedOverviewSource codeBuildbothttps://cwiki.apache.org/confluence/x/vIPzBQ";>TranslationsToolsMediahttps://twitter.com/theapachetomcat";>Twitterhttps://www.youtube.com/c/ApacheTomcatOfficial";>YouTubehttps://blogs.apache.org/tomcat/ ">BlogMiscWho We Arehttps://www.redbubble.com/people/comdev/works/30885254-apache-tomcat";>SwagHeritagehttp://www.apache.org";>Apache HomeResourcesContactLegalhttps://www.apache.org/foundation/contributing.html";>Support Apachehttps://www.apache.org/foundation/sponsorship.html";>Sponsorshiphttp://www.apache.org/foundation/thanks.html";>Thankshttp://www.apache.org/licenses/";>LicenseContentOlder news +Announcements from previous years can be found here: + + year 2022 + year 2021 + year 2020 + year 2019 + year 2018 + year 2017 + year 2016 + year 2015 + year 2014 + year 2013 + year 2012 + year 2011 + year 2010 + +2021-12-08 Tomcat 10.0.14 Released + +The Apache Tomcat Project is proud to announce the release of version 10.0.14 +of Apache Tomcat. This release implements specifications that are part of the +Jakarta EE 9 platform. +Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 +without changes. Java EE based applications designed for Tomcat 9 and earlier +may be placed in the $CATALINA_BASE/webapps-javaee directory and +Tomcat will automatically convert them to Jakarta EE and copy them to the +webapps directory. This conversion is performed using the +https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat +migration tool for Jakarta EE tool which is also available as a separate +https://tomcat.apache.org/download-migration.cgi";>download for off-line use. +The notable changes in this release are: + +Provide protection against a known OS bug that causes the acceptor to report +an incoming connection more than once. +Implement a workaround for a JVM bug that can trigger a file descriptor leak +when using multi-part upload and the application does not explicitly close +an input stream for an uploaded file that was cached on disk. +Fix exceptions when the security manager is enabled and the first request +received after starting is an HTTP request to a TLS enabled NIO2 +connector. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 10 +changelog. + + + +https://tomcat.apache.org/download-10.cgi";>Download + +2021-12-08 Tomcat 10.1.0-M8 (alpha) Released + +The Apache Tomcat Project is proud to announce the release of version 10.1.0-M8 +of Apache Tomcat. This release is a milestone release and is targeted at Jakarta +EE 10. +Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 +without changes. Java EE based applications designed for Tomcat 9 and earlier +may be placed in the $CATALINA_BASE/webapps-javaee directory and +Tomcat will automatically convert them to Jakarta EE and copy them to the +webapps directory. This conversion is performed using the +https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat +migration tool for Jakarta EE tool which is also available as a separate +htt
svn commit: r1898468 [2/2] - in /tomcat/site/trunk: docs/oldnews-2021.html xdocs/oldnews-2021.xml
Added: tomcat/site/trunk/xdocs/oldnews-2021.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/oldnews-2021.xml?rev=1898468&view=auto == --- tomcat/site/trunk/xdocs/oldnews-2021.xml (added) +++ tomcat/site/trunk/xdocs/oldnews-2021.xml Mon Feb 28 11:58:38 2022 @@ -0,0 +1,1252 @@ + + + + +Apache Tomcat Project +Old news! + + + + + +Announcements from previous years can be found here: + + year 2022 + year 2021 + year 2020 + year 2019 + year 2018 + year 2017 + year 2016 + year 2015 + year 2014 + year 2013 + year 2012 + year 2011 + year 2010 + + + + + +The Apache Tomcat Project is proud to announce the release of version 10.0.14 +of Apache Tomcat. This release implements specifications that are part of the +Jakarta EE 9 platform. +Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 +without changes. Java EE based applications designed for Tomcat 9 and earlier +may be placed in the $CATALINA_BASE/webapps-javaee directory and +Tomcat will automatically convert them to Jakarta EE and copy them to the +webapps directory. This conversion is performed using the +https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat +migration tool for Jakarta EE tool which is also available as a separate +download for off-line use. +The notable changes in this release are: + +Provide protection against a known OS bug that causes the acceptor to report +an incoming connection more than once. +Implement a workaround for a JVM bug that can trigger a file descriptor leak +when using multi-part upload and the application does not explicitly close +an input stream for an uploaded file that was cached on disk. +Fix exceptions when the security manager is enabled and the first request +received after starting is an HTTP request to a TLS enabled NIO2 +connector. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 10 +changelog. + + + +Download + + + + + +The Apache Tomcat Project is proud to announce the release of version 10.1.0-M8 +of Apache Tomcat. This release is a milestone release and is targeted at Jakarta +EE 10. +Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 +without changes. Java EE based applications designed for Tomcat 9 and earlier +may be placed in the $CATALINA_BASE/webapps-javaee directory and +Tomcat will automatically convert them to Jakarta EE and copy them to the +webapps directory. This conversion is performed using the +https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat +migration tool for Jakarta EE tool which is also available as a separate +download for off-line use. +The notable changes in this release are: + +Limit cookie support to RFC 6265 to align with recent updates to the Servlet +specification. +Update the WebSocket API packaging to remove the copy of the client API from +the server API and replace it with a dependency on the client API. This +aligns Tomcat with changes in the WebSocket 2.1 specification. +Provide protection against a known OS bug that causes the acceptor to report +an incoming connection more than once. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 10.1 +(alpha) changelog. + + + +Download + + + + + +The Apache Tomcat Project is proud to announce the release of version 9.0.56 +of Apache Tomcat. This release implements specifications that are part of the +Java EE 8 platform. The notable changes compared to 9.0.55 include: + +Provide protection against a known OS bug that causes the acceptor to report +an incoming connection more than once. +Implement a workaround for a JVM bug that can trigger a file descriptor leak +when using multi-part upload and the application does not explicitly close +an input stream for an uploaded file that was cached on disk. +Fix exceptions when the security manager is enabled and the first request +received after starting is an HTTP request to a TLS enabled NIO2 +connector. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 9 +changelog. + + + +Download + + + + + +The Apache Tomcat Project is proud to announce the release of version 8.5.73 +of Apache Tomcat. This release implements specifications that are part of the +Java EE 7 platform. The notable changes compared to 8.5.72 include: + + +Improvements to native/APR including avoiding a JVM crash if APR fails +to properly initialize and improving error handling. +Improve robustness of JNDIRealm for exceptions occurring when getting +the connection. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 8 +changelog. + + + +Download + + + + + +The Apache Tomcat Project is proud to announce the release of version 9.0.55 +of Apache Tomcat. This release implements specifications that are part of t
svn commit: r1898466 - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
Author: markt Date: Mon Feb 28 11:56:39 2022 New Revision: 1898466 URL: http://svn.apache.org/viewvc?rev=1898466&view=rev Log: Update copyright date for 2022 Modified: tomcat/site/trunk/docs/bugreport.html tomcat/site/trunk/docs/ci.html tomcat/site/trunk/docs/conference.html tomcat/site/trunk/docs/contact.html tomcat/site/trunk/docs/download-10.html tomcat/site/trunk/docs/download-80.html tomcat/site/trunk/docs/download-90.html tomcat/site/trunk/docs/download-connectors.html tomcat/site/trunk/docs/download-migration.html tomcat/site/trunk/docs/download-native.html tomcat/site/trunk/docs/download-taglibs.html tomcat/site/trunk/docs/findhelp.html tomcat/site/trunk/docs/getinvolved.html tomcat/site/trunk/docs/heritage.html tomcat/site/trunk/docs/index.html tomcat/site/trunk/docs/irc.html tomcat/site/trunk/docs/legal.html tomcat/site/trunk/docs/lists.html tomcat/site/trunk/docs/maven-plugin.html tomcat/site/trunk/docs/migration-10.1.html tomcat/site/trunk/docs/migration-10.html tomcat/site/trunk/docs/migration-6.html tomcat/site/trunk/docs/migration-7.html tomcat/site/trunk/docs/migration-8.html tomcat/site/trunk/docs/migration-85.html tomcat/site/trunk/docs/migration-9.html tomcat/site/trunk/docs/migration.html tomcat/site/trunk/docs/oldnews-2010.html tomcat/site/trunk/docs/oldnews-2011.html tomcat/site/trunk/docs/oldnews-2012.html tomcat/site/trunk/docs/oldnews-2013.html tomcat/site/trunk/docs/oldnews-2014.html tomcat/site/trunk/docs/oldnews-2015.html tomcat/site/trunk/docs/oldnews-2016.html tomcat/site/trunk/docs/oldnews-2017.html tomcat/site/trunk/docs/oldnews-2018.html tomcat/site/trunk/docs/oldnews-2019.html tomcat/site/trunk/docs/oldnews-2020.html tomcat/site/trunk/docs/oldnews.html tomcat/site/trunk/docs/presentations.html tomcat/site/trunk/docs/resources.html tomcat/site/trunk/docs/security-10.html tomcat/site/trunk/docs/security-3.html tomcat/site/trunk/docs/security-4.html tomcat/site/trunk/docs/security-5.html tomcat/site/trunk/docs/security-6.html tomcat/site/trunk/docs/security-7.html tomcat/site/trunk/docs/security-8.html tomcat/site/trunk/docs/security-9.html tomcat/site/trunk/docs/security-impact.html tomcat/site/trunk/docs/security-jk.html tomcat/site/trunk/docs/security-native.html tomcat/site/trunk/docs/security-taglibs.html tomcat/site/trunk/docs/security.html tomcat/site/trunk/docs/source.html tomcat/site/trunk/docs/taglibs.html tomcat/site/trunk/docs/tomcat-55-eol.html tomcat/site/trunk/docs/tomcat-60-eol.html tomcat/site/trunk/docs/tomcat-70-eol.html tomcat/site/trunk/docs/tomcat-80-eol.html tomcat/site/trunk/docs/tools.html tomcat/site/trunk/docs/whichversion.html tomcat/site/trunk/docs/whoweare.html tomcat/site/trunk/xdocs/legal.xml tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Modified: tomcat/site/trunk/docs/bugreport.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=1898466&r1=1898465&r2=1898466&view=diff == --- tomcat/site/trunk/docs/bugreport.html (original) +++ tomcat/site/trunk/docs/bugreport.html Mon Feb 28 11:56:39 2022 @@ -438,7 +438,7 @@ See Security Rep -Copyright © 1999-2021, The Apache Software Foundation +Copyright © 1999-2022, The Apache Software Foundation Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are either registered trademarks or trademarks of the Apache Modified: tomcat/site/trunk/docs/ci.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/ci.html?rev=1898466&r1=1898465&r2=1898466&view=diff == --- tomcat/site/trunk/docs/ci.html (original) +++ tomcat/site/trunk/docs/ci.html Mon Feb 28 11:56:39 2022 @@ -309,7 +309,7 @@ for not-yet-released versions of Apache -Copyright © 1999-2021, The Apache Software Foundation +Copyright © 1999-2022, The Apache Software Foundation Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are either registered trademarks or trademarks of the Apache Modified: tomcat/site/trunk/docs/conference.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/conference.html?rev=1898466&r1=1898465&r2=1898466&view=diff == --- tomcat/site/trunk/docs/conference.html (original) +++ tomcat/site/trunk/docs/conference.html Mon Feb 28 11:56:39 2022 @@ -52,7 +52,7 @@ -Copyright © 1999-2021, The Apache Software Foundation +Copyright © 1999-2022, The Apache Software Foundation Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project l
svn commit: r1898465 [2/3] - in /tomcat/site/trunk: docs/ xdocs/
Modified: tomcat/site/trunk/docs/oldnews.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/oldnews.html?rev=1898465&r1=1898464&r2=1898465&view=diff == --- tomcat/site/trunk/docs/oldnews.html (original) +++ tomcat/site/trunk/docs/oldnews.html Mon Feb 28 11:54:56 2022 @@ -2,7 +2,8 @@ Apache Tomcat® - Old news!http://tomcat.apache.org/";>Apache Tomcat®https://www.apache.org/foundation/contributing.html"; target="_blank" class="pull-left">https://www.apache.org/images/SupportApache-small.png"; class="support-asf" alt="Support Apache">http://www.apache .org/" target="_blank" class="pull-left">https://www.google.com/search"; method="get">GOApache TomcatHomeTaglibsMaven PluginDownloadWhich version?https://tomcat.apache.org/download-10.cgi";>Tomcat 10https://tomcat.apache.org/download-90.cgi";>Tomcat 9https://tomcat.apache.org/download-80.cgi";>Tomcat 8 https://tomcat.apache.org/download-migration.cgi";>Tomcat Migration Tool for Jakarta EEhttps://tomcat.apache.org/download-connectors.cgi";>Tomcat Connectorshttps://tomcat.apache.org/download-native.cgi";>Tomcat Nativehttps://tomcat.apache.org/download-taglibs.cgi";>Taglibshttps://archive.apache.org/dist/tomcat/";>ArchivesDocumentationTomcat 10.1 (alpha)Tomcat 10.0Tomcat 9.0Tomcat 8.5Tomcat ConnectorsTomcat Nativehttps://cwiki.apache.org/confluence/display/TOMCAT";>WikiMigration GuidePresentationshttps://cwiki.apache.org/confluence/x/Bi8lBg";>SpecificationsProblems?Security ReportsFind helphttps://cwiki.apache.org/confluence/display/TOMCAT/FAQ";>FAQMailing ListsBug DatabaseIRCGet InvolvedOverviewSource codeBuildbothttps://cwiki.apache.org/confluence/x/vIPzBQ";>TranslationsToolsMediahttps://twitter.com/theapachetomcat";>Twitterhttps://www.youtube.com/c/ApacheTomcatOfficial";>YouTubehttps://blogs.apache.org/tomcat/ ">BlogMiscWho We Arehttps://www.redbubble.com/people/comdev/works/30885254-apache-tomcat";>SwagHeritagehttp://www.apache.org";>Apache HomeResourcesContactLegalhttps://www.apache.org/foundation/contributing.html";>Support Apachehttps://www.apache.org/foundation/sponsorship.html";>Sponsorshiphttp://www.apache.org/foundation/thanks.html";>Thankshttp://www.apache.org/licenses/";>LicenseContentOlder news Announcements from previous years can be found here: - year 2021 + year 2022 + year 2021 year 2020 year 2019 year 2018 @@ -15,701 +16,9 @@ year 2011 year 2010 -2021-12-08 Tomcat 10.0.14 Released +2022-01-20 Tomcat 10.1.0-M10 (alpha) Released -The Apache Tomcat Project is proud to announce the release of version 10.0.14 -of Apache Tomcat. This release implements specifications that are part of the -Jakarta EE 9 platform. -Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 -without changes. Java EE based applications designed for Tomcat 9 and earlier -may be placed in the $CATALINA_BASE/webapps-javaee directory and -Tomcat will automatically convert them to Jakarta EE and copy them to the -webapps directory. This conversion is performed using the -https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat -migration tool for Jakarta EE tool which is also available as a separate -https://tomcat.apache.org/download-migration.cgi";>download for off-line use. -The notable changes in this release are: - -Provide protection against a known OS bug that causes the acceptor to report -an incoming connection more than once. -Implement a workaround for a JVM bug that can trigger a file descriptor leak -when using multi-part upload and the application does not explicitly close -an input stream for an uploaded file that was cached on disk. -Fix exceptions when the security manager is enabled and the first request -received after starting is an HTTP request to a TLS enabled NIO2 -connector. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 10 -changelog. - - - -https://tomcat.apache.org/download-10.cgi";>Download - -2021-12-08 Tomcat 10.1.0-M8 (alpha) Released - -The Apache Tomcat Project is proud to announce the release of version 10.1.0-M8 -of Apache Tomcat. This release is a milestone release and is targeted at Jakarta -EE 10. -Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 -without changes. Java EE based applications designed for Tomcat 9 and earlier -may be placed in the $CATALINA_BASE/webapps-javaee directory and -Tomcat will automatically convert them to Jakarta EE and copy them to the -webapps directory. This conversion is performed using the -https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat -migration tool for Jakarta EE tool which is also available as a separate -https://tomcat.apache.org/download-migration.cgi";>download for off-line use. -The notable changes in this release are: - -Limit cookie support to RFC 6265 to align with recent updates to the Servlet -specification. -Update the WebSock
svn commit: r1898465 [3/3] - in /tomcat/site/trunk: docs/ xdocs/
Modified: tomcat/site/trunk/xdocs/oldnews.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/oldnews.xml?rev=1898465&r1=1898464&r2=1898465&view=diff == --- tomcat/site/trunk/xdocs/oldnews.xml (original) +++ tomcat/site/trunk/xdocs/oldnews.xml Mon Feb 28 11:54:56 2022 @@ -11,7 +11,8 @@ Announcements from previous years can be found here: - year 2021 + year 2022 + year 2021 year 2020 year 2019 year 2018 @@ -26,753 +27,9 @@ - + -The Apache Tomcat Project is proud to announce the release of version 10.0.14 -of Apache Tomcat. This release implements specifications that are part of the -Jakarta EE 9 platform. -Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 -without changes. Java EE based applications designed for Tomcat 9 and earlier -may be placed in the $CATALINA_BASE/webapps-javaee directory and -Tomcat will automatically convert them to Jakarta EE and copy them to the -webapps directory. This conversion is performed using the -https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat -migration tool for Jakarta EE tool which is also available as a separate -download for off-line use. -The notable changes in this release are: - -Provide protection against a known OS bug that causes the acceptor to report -an incoming connection more than once. -Implement a workaround for a JVM bug that can trigger a file descriptor leak -when using multi-part upload and the application does not explicitly close -an input stream for an uploaded file that was cached on disk. -Fix exceptions when the security manager is enabled and the first request -received after starting is an HTTP request to a TLS enabled NIO2 -connector. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 10 -changelog. - - - -Download - - - - - -The Apache Tomcat Project is proud to announce the release of version 10.1.0-M8 -of Apache Tomcat. This release is a milestone release and is targeted at Jakarta -EE 10. -Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 -without changes. Java EE based applications designed for Tomcat 9 and earlier -may be placed in the $CATALINA_BASE/webapps-javaee directory and -Tomcat will automatically convert them to Jakarta EE and copy them to the -webapps directory. This conversion is performed using the -https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat -migration tool for Jakarta EE tool which is also available as a separate -download for off-line use. -The notable changes in this release are: - -Limit cookie support to RFC 6265 to align with recent updates to the Servlet -specification. -Update the WebSocket API packaging to remove the copy of the client API from -the server API and replace it with a dependency on the client API. This -aligns Tomcat with changes in the WebSocket 2.1 specification. -Provide protection against a known OS bug that causes the acceptor to report -an incoming connection more than once. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 10.1 -(alpha) changelog. - - - -Download - - - - - -The Apache Tomcat Project is proud to announce the release of version 9.0.56 -of Apache Tomcat. This release implements specifications that are part of the -Java EE 8 platform. The notable changes compared to 9.0.55 include: - -Provide protection against a known OS bug that causes the acceptor to report -an incoming connection more than once. -Implement a workaround for a JVM bug that can trigger a file descriptor leak -when using multi-part upload and the application does not explicitly close -an input stream for an uploaded file that was cached on disk. -Fix exceptions when the security manager is enabled and the first request -received after starting is an HTTP request to a TLS enabled NIO2 -connector. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 9 -changelog. - - - -Download - - - - - -The Apache Tomcat Project is proud to announce the release of version 8.5.73 -of Apache Tomcat. This release implements specifications that are part of the -Java EE 7 platform. The notable changes compared to 8.5.72 include: - - -Improvements to native/APR including avoiding a JVM crash if APR fails -to properly initialize and improving error handling. -Improve robustness of JNDIRealm for exceptions occurring when getting -the connection. - - -Full details of these changes, and all the other changes, are available in the -Tomcat 8 -changelog. - - - -Download - - - - - -The Apache Tomcat Project is proud to announce the release of version 9.0.55 -of Apache Tomcat. This release implements specifications that are part of the -Java EE 8 platform. The notable changes compared to 9.0.54 include: - -Experimental OpenSSL support through the Panama A
svn commit: r1898465 [1/3] - in /tomcat/site/trunk: docs/ xdocs/
Author: markt Date: Mon Feb 28 11:54:56 2022 New Revision: 1898465 URL: http://svn.apache.org/viewvc?rev=1898465&view=rev Log: Update site for 10.1.0-M11 (alpha) release Modified: tomcat/site/trunk/docs/download-10.html tomcat/site/trunk/docs/index.html tomcat/site/trunk/docs/migration-10.1.html tomcat/site/trunk/docs/oldnews-2010.html tomcat/site/trunk/docs/oldnews-2011.html tomcat/site/trunk/docs/oldnews-2012.html tomcat/site/trunk/docs/oldnews-2013.html tomcat/site/trunk/docs/oldnews-2014.html tomcat/site/trunk/docs/oldnews-2015.html tomcat/site/trunk/docs/oldnews-2016.html tomcat/site/trunk/docs/oldnews-2017.html tomcat/site/trunk/docs/oldnews-2018.html tomcat/site/trunk/docs/oldnews-2019.html tomcat/site/trunk/docs/oldnews-2020.html tomcat/site/trunk/docs/oldnews.html tomcat/site/trunk/docs/whichversion.html tomcat/site/trunk/xdocs/download-10.xml tomcat/site/trunk/xdocs/index.xml tomcat/site/trunk/xdocs/migration-10.1.xml tomcat/site/trunk/xdocs/oldnews-2010.xml tomcat/site/trunk/xdocs/oldnews-2011.xml tomcat/site/trunk/xdocs/oldnews-2012.xml tomcat/site/trunk/xdocs/oldnews-2013.xml tomcat/site/trunk/xdocs/oldnews-2014.xml tomcat/site/trunk/xdocs/oldnews-2015.xml tomcat/site/trunk/xdocs/oldnews-2016.xml tomcat/site/trunk/xdocs/oldnews-2017.xml tomcat/site/trunk/xdocs/oldnews-2018.xml tomcat/site/trunk/xdocs/oldnews-2019.xml tomcat/site/trunk/xdocs/oldnews-2020.xml tomcat/site/trunk/xdocs/oldnews.xml tomcat/site/trunk/xdocs/whichversion.xml Modified: tomcat/site/trunk/docs/download-10.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-10.html?rev=1898465&r1=1898464&r2=1898465&view=diff == --- tomcat/site/trunk/docs/download-10.html (original) +++ tomcat/site/trunk/docs/download-10.html Mon Feb 28 11:54:56 2022 @@ -20,7 +20,7 @@ Quick Navigation [define v]10.0.16[end] -[define w]10.1.0-M10[end] +[define w]10.1.0-M11[end] https://downloads.apache.org/tomcat/tomcat-10/KEYS";>KEYS | [v] | [w] (alpha) | Modified: tomcat/site/trunk/docs/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1898465&r1=1898464&r2=1898465&view=diff == --- tomcat/site/trunk/docs/index.html (original) +++ tomcat/site/trunk/docs/index.html Mon Feb 28 11:54:56 2022 @@ -34,6 +34,38 @@ wiki page. Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are trademarks of the Apache Software Foundation. +2022-02-28 Tomcat 10.1.0-M11 (alpha) Released + +The Apache Tomcat Project is proud to announce the release of version 10.1.0-M11 +of Apache Tomcat. This release is a milestone release and is targeted at Jakarta +EE 10. +Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 +without changes. Java EE based applications designed for Tomcat 9 and earlier +may be placed in the $CATALINA_BASE/webapps-javaee directory and +Tomcat will automatically convert them to Jakarta EE and copy them to the +webapps directory. This conversion is performed using the +https://github.com/apache/tomcat-jakartaee-migration";>Apache Tomcat +migration tool for Jakarta EE tool which is also available as a separate +https://tomcat.apache.org/download-migration.cgi";>download for off-line use. +The notable changes in this release are: + +Add support for additional user attributes to TomcatPrincipal +and GenericPrincipal. +Correct a regression in the fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=65454";>65454 that meant that +minSpareThreads and maxThreads settings were +ignored when the Connector used an internal executor. +Improve the detection of the Linux duplicate accept bug and reduce +(hopefully avoid) instances of false positives. + + +Full details of these changes, and all the other changes, are available in the +Tomcat 10.1 +(alpha) changelog. + + + +https://tomcat.apache.org/download-10.cgi";>Download + 2022-01-20 Tomcat 10.0.16 Released The Apache Tomcat Project is proud to announce the release of version 10.0.16 @@ -121,38 +153,6 @@ changelog. https://tomcat.apache.org/download-80.cgi";>Download -2022-01-20 Tomcat 10.1.0-M10 (alpha) Released - -The Apache Tomcat Project is proud to announce the release of version 10.1.0-M10 -of Apache Tomcat. This release is a milestone release and is targeted at Jakarta -EE 10. -Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 -without changes. Java EE based applications designed for Tomcat 9 and earlier -may be placed in the $CATALINA_BASE/webapps-javaee directory and -Tomcat will automatically convert them to Jakarta EE and copy them to the -webapps directory. This conversion is performed using the -https://github.com/apache/tomcat-jakart
svn commit: r1898464 - in /tomcat/site/trunk: ./ docs/tomcat-10.1-doc/ docs/tomcat-10.1-doc/annotationapi/ docs/tomcat-10.1-doc/annotationapi/jakarta/annotation/ docs/tomcat-10.1-doc/annotationapi/jak
Author: markt Date: Mon Feb 28 11:49:47 2022 New Revision: 1898464 URL: http://svn.apache.org/viewvc?rev=1898464&view=rev Log: Update docs for 10.1.0-M11 release [This commit notification would consist of 71 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
[VOTE][RESULT] Release Apache Tomcat 9.0.59
The following votes were cast: Binding: +1: remm, mturk, csutherl, jclere No other votes were cast. The vote therefore passes. Thanks to everyone who contributed to this release. Rémy - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r52774 - /dev/tomcat/tomcat-9/v9.0.59/ /release/tomcat/tomcat-9/v9.0.59/
Author: remm Date: Mon Feb 28 11:00:36 2022 New Revision: 52774 Log: Tomcat 5.0.59 Added: release/tomcat/tomcat-9/v9.0.59/ - copied from r52771, dev/tomcat/tomcat-9/v9.0.59/ Removed: dev/tomcat/tomcat-9/v9.0.59/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 65920] java.lang.OutOfMemoryError: Metaspace while deploy application.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65920 Mark Thomas changed: What|Removed |Added Resolution|--- |INVALID OS||All Status|NEW |RESOLVED --- Comment #1 from Mark Thomas --- Bugzilla is not a support forum. Please use the Apache Tomcat users mailing list https://tomcat.apache.org/lists.html#tomcat-users -- 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 65920] New: java.lang.OutOfMemoryError: Metaspace while deploy application.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65920 Bug ID: 65920 Summary: java.lang.OutOfMemoryError: Metaspace while deploy application. Product: Tomcat 8 Version: 8.5.70 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Meta Assignee: dev@tomcat.apache.org Reporter: nagarajan.rengasw...@biworldwide.com Target Milestone: Currently we are running 6 applications in Tomcat version 8.5.70 Our Infra - memory size allocated like Entire memory 3GB, In that 1.5 GB as Heap size and 512 is for XX:MaxMetaspaceSize. Java version as 11. No performance related issue while application runs in peak load. But when we deploy the any one of the application while running tomcat, first deploy get success and next deploy is throwing like "Exception in thread "_Worker-3" java.lang.OutOfMemoryError: Metaspace" Based on our investigation, heap dump shows _3_ instances of the ParallelWebappClassLoader consuming more memory which is causing this issue. Currently we are doing server restart before deploy as workaround now. Kindly suggest is there any open issue which needs to be addressed by Apache Software Foundation? or provide solution to overcome this issue. Thanks! -- 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 65909] catalina.properties jarsToScan refers to wrong log4j web jar
https://bz.apache.org/bugzilla/show_bug.cgi?id=65909 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Mark Thomas --- Fixed in: - 10.1.x for 10.1.0-M11 onwards - 10.0.x for 10.0.17 onwards -- 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
[tomcat] branch 10.0.x updated: Add release date for 10.0.17
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/10.0.x by this push: new 9748189 Add release date for 10.0.17 9748189 is described below commit 9748189ae9eb6eb41f13eacefb5ca76166652664 Author: Mark Thomas AuthorDate: Mon Feb 28 09:47:01 2022 + Add release date for 10.0.17 --- webapps/docs/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index f19fa5b..0494c24 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -132,7 +132,7 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r52768 - /dev/tomcat/tomcat-10/v10.0.17/ /release/tomcat/tomcat-10/v10.0.17/
Author: markt Date: Mon Feb 28 09:46:11 2022 New Revision: 52768 Log: Release Apache Tomcat 10.0.17 Added: release/tomcat/tomcat-10/v10.0.17/ - copied from r52767, dev/tomcat/tomcat-10/v10.0.17/ Removed: dev/tomcat/tomcat-10/v10.0.17/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[VOTE][RESULT] Release Apache Tomcat 10.0.17
The following votes were cast: Binding: +1: markt, remm, mturk No other votes were cast. The vote therefore passes. Thanks to everyone who contributed to this release. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[tomcat] branch main updated: Add release date for 10.1.0-M11
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new ec713e7 Add release date for 10.1.0-M11 ec713e7 is described below commit ec713e7981c150ea51b16385645375169ce4511f Author: Mark Thomas AuthorDate: Mon Feb 28 09:41:14 2022 + Add release date for 10.1.0-M11 --- webapps/docs/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 5743ab7..ca5766c 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -140,7 +140,7 @@ - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r52767 - /dev/tomcat/tomcat-10/v10.1.0-M11/ /release/tomcat/tomcat-10/v10.1.0-M11/
Author: markt Date: Mon Feb 28 09:40:26 2022 New Revision: 52767 Log: Release Apache Tomcat 10.1.0-M11 (alpha) Added: release/tomcat/tomcat-10/v10.1.0-M11/ - copied from r52766, dev/tomcat/tomcat-10/v10.1.0-M11/ Removed: dev/tomcat/tomcat-10/v10.1.0-M11/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[VOTE][RESULT] Release Apache Tomcat 10.1.0-M11
The following votes were cast: Binding: +1: markt, remm, jfclere The vote therefore passes. Thank you to everyone who contributed to this release. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] [tomcat] markt-asf commented on pull request #479: Fix Response#sendRedirect() if no request context exists.
markt-asf commented on pull request #479: URL: https://github.com/apache/tomcat/pull/479#issuecomment-1054062262 I can see valid use cases that wouldn't meet at least one of those criteria so I don't think it is quite that simple. Having a concrete use case to discuss might make things a little clearer. Can you provide an example that triggered the NPE (request URI, rewrite rule and any other relevant info)? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] [tomcat] elkman commented on pull request #479: Fix Response#sendRedirect() if no request context exists.
elkman commented on pull request #479: URL: https://github.com/apache/tomcat/pull/479#issuecomment-1053990436 That is a good point. Do you think the misconfiguration is that a ROOT context should always be configured, or that rewrite rules should only be defined on existing contexts? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org