[VOTE] Release Apache Commons Daemon 1.3.4 based on RC1

2023-05-05 Thread Mark Thomas
OK, but really should fix... [ ] -1 I oppose this release because... Thank you, Mark Thomas, Release Manager (using key 10C01C5A2F6059E7) - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e

Maven bumped from 3.6.2 to 3.6.3

2023-05-05 Thread Mark Thomas
Hi all, A number (all?) of Commons projects now require Maven 3.6.3 as a minimum so I bumped the Maven version to 3.6.3. I thought about taking it to the latest 3.x release but opted for the minimal change at this point. If this goes well, I may move Gump to Maven 3.9.1 next week. Mark

Re: [VOTE] Release Apache Tomcat 11.0.0-M6

2023-05-05 Thread Mark Thomas
On 03/05/2023 19:38, Mark Thomas wrote: The proposed 11.0.0-M6 release is: [ ] Broken - do not release [X] Alpha  - go ahead and release as 11.0.0-M6 Test pass on Windows, Linux and MacOS (Intel and M1). Mark

Re: [VOTE] Release Apache Tomcat 11.0.0-M6

2023-05-05 Thread Mark Thomas
On 04/05/2023 21:41, Dimitris Soumis wrote: My sincere apologies, I had a misconfigured Java. No worries - easily done. +1 Tests pass on Linux. Thanks for the update. Mark On Thu, May 4, 2023 at 9:31 PM Mark Thomas wrote: On 04/05/2023 19:16, Dimitris Soumis wrote: I am getting

[jira] [Resolved] (DAEMON-459) Restart only works once (regression)

2023-05-04 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-459. Fix Version/s: 1.3.4 Resolution: Fixed Thanks for the test case. > Restart only works o

Re: [VOTE] Release Apache Tomcat 11.0.0-M6

2023-05-04 Thread Mark Thomas
ava:520) [junit] ... 11 more On Wed, May 3, 2023 at 9:46 PM Mark Thomas wrote: The proposed Apache Tomcat 11.0.0-M6 release is now available for voting. Apache Tomcat 11.0.0-M6 is a milestone release of the 11.0.x branch and has been made to provide users with early access to the new featu

Re: Request for Information: Commons Text

2023-05-04 Thread Mark Thomas
On 04/05/2023 16:44, Zhang, Cynthia X. (GSFC-710.0)[BOOZ ALLEN HAMILTON] wrote: Hello, my name is Cynthia Zhang and I am a Supply Chain Risk Management Analyst at NASA. NASA is currently conducting a supply chain assessment of Commons Text. We are interested in confirming the following

[jira] [Commented] (DAEMON-457) Tomcat9.exe crash in windows server 2016 and 2019 while updating service.

2023-05-04 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17719457#comment-17719457 ] Mark Thomas commented on DAEMON-457: I have followed the provided steps and am unable to recreate

Re: [tomcat] 02/02: Move management of utility executor from init/destroy to start/stop

2023-05-04 Thread Mark Thomas
On 04/05/2023 14:41, ma...@apache.org wrote: 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 commit 4b097bf2e9075e9e2949ec5aa410cba3c2b85374 Author: Mark Thomas AuthorDate

Java 21 and virtual threads

2023-05-04 Thread Mark Thomas
Hi all, The latest Java 21 EA build has moved virtual threads (from project Loom) out of preview. How do we want to handle this in Tomcat 11? Recall that Jakarta EE 11 has set Java 21 as the minimum version. I think we have the following options: 1. Stick with Java 17 as the minimum version

Re: Workaround for misbehaving ClassLoader

2023-05-04 Thread Mark Thomas
On 03/05/2023 20:02, Christopher Schultz wrote: But my question is whether or not this is something that Tomcat should be working-around. IMO the parent ClassLoader is buggy and should be fixed, but it may be difficult or impossible to fix the parent, so it may be worth it. We could even

[VOTE] Release Apache Tomcat 11.0.0-M6

2023-05-03 Thread Mark Thomas
The proposed Apache Tomcat 11.0.0-M6 release is now available for voting. Apache Tomcat 11.0.0-M6 is a milestone release of the 11.0.x branch and has been made to provide users with early access to the new features in Apache Tomcat 11.0.x so that they may provide feedback. The notable changes

Re: [Bug 66589] Data frame included in response for 200 OK status with no body (content-length=0)

2023-05-03 Thread Mark Thomas
Please do not hijack threads. If you want to ask a new question, DO NOT reply to an existing message. Create a new message, set an appropriate subject and send it to the correct list. Mark On 03/05/2023 08:46, koteswara Rao Gundapaneni wrote: Hi I have my code established at my local for

[VOTE][RESULT] Apache Tomcat migration tool for Jakarta EE 1.0.7

2023-05-02 Thread Mark Thomas
The following votes were cast: Binding: +1: ebourg, lihan, markt, fschumacher, remm Non-binding: +1: Dimitris Soumis No other votes were cast. The vote therefore passes. Thanks to everyone who contributed to this release. Mark On 26/04/2023 17:19, Mark Thomas wrote: The proposed Apache

Re: [tomcat] branch main updated: Polish

2023-05-02 Thread Mark Thomas
On 02/05/2023 09:30, Han Li wrote: On Apr 30, 2023, at 23:37, Mark Thomas wrote: On 28/04/2023 03:58, li...@apache.org wrote: This is an automated email from the ASF dual-hosted git repository. lihan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git

Re: [tomcat] branch main updated: Polish

2023-04-30 Thread Mark Thomas
On 28/04/2023 03:58, li...@apache.org wrote: This is an automated email from the ASF dual-hosted git repository. lihan 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

Re: About StandardServer

2023-04-30 Thread Mark Thomas
On 28/04/2023 08:16, 沉淀 wrote: I am reading the source code of tomcat, the version is 9.0.73. I see such a piece of code in the `await()`method in the `StandardServer`class: int expected = 1024; // Cut off to avoid DoS attack while (expected < shutdown.length()) { if (random == null) {

Re: About StandardServer

2023-04-28 Thread Mark Thomas
Please DO NOT cross-post the same question to multiple lists. It does not increase the chances of getting a responses - it does exactly the opposite. It annoys the people who are able to answer your question and makes it LESS likely that you will receive a response. Mark On 28/04/2023

Utility Executor

2023-04-27 Thread Mark Thomas
Hi all, As part of a discussion around a Spring Boot issue [1], the question has been raised whether there is merit in moving the Utility executor start/stop from StandardServer init/destroy to start/stop. I've looked at the code and I don't see any uses of the Executor until sub-components

[jira] [Commented] (DAEMON-459) Restart only works once (regression)

2023-04-27 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17717125#comment-17717125 ] Mark Thomas commented on DAEMON-459: I'm testing this with Tomcat and I am unable to repeat

Re: [VOTE] Apache Tomcat migration tool for Jakarta EE 1.0.7

2023-04-27 Thread Mark Thomas
On 26/04/2023 17:19, Mark Thomas wrote: The proposed Apache Tomcat migration tool for Jakarta EE 1.0.7 is now available for voting. The significant changes since 1.0.6 are: - Provide a workaround for a known JDK bug (JDK-8303866) that prevents   some migrated JARs from being read - Add new

[jira] [Commented] (HTTPCORE-744) HttpCore 5.2.1 does not correctly handle semi-colon (;) and equal sign (=) characters in URI set as Location header.

2023-04-27 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17717044#comment-17717044 ] Mark Thomas commented on HTTPCORE-744: -- Yes, in this context (normalization) it is explicit

[jira] [Commented] (HTTPCORE-744) HttpCore 5.2.1 does not correctly handle semi-colon (;) and equal sign (=) characters in URI set as Location header.

2023-04-26 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17716929#comment-17716929 ] Mark Thomas commented on HTTPCORE-744: -- TL;DR - There is a bug here. The redirect URI should

[jira] [Commented] (DAEMON-459) Restart only works once (regression)

2023-04-26 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17716861#comment-17716861 ] Mark Thomas commented on DAEMON-459: The regression appears to have been introduced in the fix

[jira] [Resolved] (DAEMON-445) Changes of DAEMON-441 cause trouble with empty env vars

2023-04-26 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-445. Resolution: Cannot Reproduce I have tried the registry approach to create an empty environment

[jira] [Resolved] (DAEMON-315) Prunsrv should allow stop method with no arguments

2023-04-26 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-315. Resolution: Works for Me The current API has such a method > Prunsrv should allow stop met

[VOTE] Apache Tomcat migration tool for Jakarta EE 1.0.7

2023-04-26 Thread Mark Thomas
The proposed Apache Tomcat migration tool for Jakarta EE 1.0.7 is now available for voting. The significant changes since 1.0.6 are: - Provide a workaround for a known JDK bug (JDK-8303866) that prevents some migrated JARs from being read - Add new matchExcludesAgainstPathName configuration

Re: Tomcat VAPT Closure

2023-04-25 Thread Mark Thomas
On 25/04/2023 12:18, PRATIK HUMNABADKAR wrote: Hi, We tried below suggestion but still receiving below errors. Please guide. Try reading the log messages. server.xml 25-Apr-2023 16:08:46.067 INFO [main]

Re: Tomcat Native 1.2.30 -- Windows 2016 TLSv1.3 support?

2023-04-25 Thread Mark Thomas
On 24/04/2023 20:15, Ragosta, Vincent wrote: Hello all, We have an application packaged with Tomcat Native 1.2.30, which, per the following, the Windows binaries were built using OpenSSL 1.1.1k: https://www.mail-archive.com/dev@tomcat.apache.org/msg152993.html However, per Microsoft, Windows

[jira] [Resolved] (DAEMON-458) The changes in DAEMON-446 cause existing DependsOn values to be removed

2023-04-20 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-458. Fix Version/s: 1.3.4 Resolution: Fixed It turns out pretty much all of the plumbing to get

[jira] [Commented] (DAEMON-458) The changes in DAEMON-446 cause existing DependsOn values to be removed

2023-04-20 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17714583#comment-17714583 ] Mark Thomas commented on DAEMON-458: It is fairly simple to fix things so dependencies can be managed

[jira] [Commented] (DAEMON-458) The changes in DAEMON-446 cause existing DependsOn values to be removed

2023-04-20 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17714527#comment-17714527 ] Mark Thomas commented on DAEMON-458: Thanks for the report. I can repeat this issue. Procrun isn't

[jira] (DAEMON-458) The changes in DAEMON-446 cause existing DependsOn values to be removed

2023-04-20 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-458 ] Mark Thomas deleted comment on DAEMON-458: was (Author: markt): I see a couple of issues with the management of dependencies as this point. # There is no need to explicitly specify Tcpip

[jira] [Commented] (DAEMON-458) The changes in DAEMON-446 cause existing DependsOn values to be removed

2023-04-20 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17714523#comment-17714523 ] Mark Thomas commented on DAEMON-458: I see a couple of issues with the management of dependencies

Re: Cluster Manager not working

2023-04-19 Thread Mark Thomas
-- On Wed, Apr 19, 2023 at 3:14 AM Mark Thomas wrote: On 18/04/2023 15:59, Kevin Huntly wrote: Hello, I'm getting the following error message: 18-Apr-2023 10:56:55.404 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/opt/Apache/tomcat/apache

[jira] [Commented] (DAEMON-457) Tomcat9.exe crash in windows server 2016 and 2019 while updating service.

2023-04-19 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17714221#comment-17714221 ] Mark Thomas commented on DAEMON-457: This works for me with Tomcat 9.0.74. Please provide detailed

Re: Checkstyle version for 8.5.x

2023-04-19 Thread Mark Thomas
On 19/04/2023 14:50, Christopher Schultz wrote: All, I'm having trouble running my test suite on 8.5.88 on MacOS and the latest failure is that the Checkstyle plug-in has .class files with version 55 and Java 8 only supports up to version 52. This is 1.8.0_232 from AdoptOpenJDK. Is the

Re: [tomcat] branch 8.5.x updated: Fix failures on Java 7 where SHA_512_256 is not available

2023-04-19 Thread Mark Thomas
added to refs/heads/8.5.x by this push:   new 47c92c5fa7 Fix failures on Java 7 where SHA_512_256 is not available 47c92c5fa7 is described below commit 47c92c5fa70976eb9546b002a83b3932c3e680ab Author: Mark Thomas AuthorDate: Wed Apr 19 12:03:55 2023 +0100 Fix failures on Java 7 where

[ANN] Apache Tomcat 11.0.0-M5 (alpha) available

2023-04-19 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 11.0.0-M5 (alpha). Apache Tomcat 11 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations

Re: [tomcat] branch 8.5.x updated: Support RFC 7616. Add support for multiple algorithms.

2023-04-19 Thread Mark Thomas
On 19/04/2023 11:29, Rainer Jung wrote: Hi Mark, only with Java 1.7.0 and TC 8.5 the new test throws an ERROR. It occurs many times, all almost looking the same, here's an example: Thanks for the heads up. This is now fixed. 16-Apr-2023 22:47:40.891 INFO [main]

[jira] [Updated] (DAEMON-457) Tomcat9.exe crash in windows server 2016 and 2019 while updating service.

2023-04-19 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas updated DAEMON-457: --- Description: Tomcat9.exe crash in windows server 2016 and 2019 while updating service. We have

[jira] [Resolved] (DAEMON-456) Prunsrv.exe delete service doesn't work from the batch script

2023-04-19 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-456. Resolution: Works for Me The Tomcat service.bat script happily adds and deletes the service

[jira] [Resolved] (DAEMON-452) Should we create the target folder before apxSecurityGrantFileAccessToUser?

2023-04-19 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-452. Fix Version/s: 1.3.4 Resolution: Fixed > Should we create the target folder bef

[jira] [Resolved] (DAEMON-451) Prunsrv does not use configured stack size for the main thread in jvm mode

2023-04-19 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DAEMON-451. Fix Version/s: 1.3.4 Resolution: Fixed Thanks for the research and the patch. > Prun

[ANN] Apache Tomcat 11.0.0-M5 (alpha) available

2023-04-19 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 11.0.0-M5 (alpha). Apache Tomcat 11 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations

[ANN] Apache Tomcat 11.0.0-M5 (alpha) available

2023-04-19 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 11.0.0-M5 (alpha). Apache Tomcat 11 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations

[ANN] Apache Tomcat 11.0.0-M5 (alpha) available

2023-04-19 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 11.0.0-M5 (alpha). Apache Tomcat 11 is an open source software implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations

[VOTE][RESULT] Release Apache Tomcat 11.0.0-M5

2023-04-19 Thread Mark Thomas
The following votes were cast: Binding: +1: lihan, remm, markt Non-binding: +1: Dimitris Soumis No other votes were cast. The vote therefore passes. Thanks to everyone who contributed to this release. Mark On 13/04/2023 00:20, Mark Thomas wrote: The proposed Apache Tomcat 11.0.0-M5

Re: Tomcat 9.0.73 - Exception while accessing application

2023-04-19 Thread Mark Thomas
On 19/04/2023 03:11, jonmcalexan...@wellsfargo.com.INVALID wrote: Hi Christopher , Where was this change in functionality documented, please? It was part of the fix for BZ 66196 which was documented in the change log. Mark Thank you , Dream * Excel * Explore * Inspire Jon McAlexander

Re: Cluster Manager not working

2023-04-19 Thread Mark Thomas
On 18/04/2023 15:59, Kevin Huntly wrote: Hello, I'm getting the following error message: 18-Apr-2023 10:56:55.404 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/opt/Apache/tomcat/apache-tomcat-9.0.74/conf/Catalina/localhost/esolutions.xml]

Re: [VOTE] Release Apache Tomcat 8.5.88

2023-04-18 Thread Mark Thomas
On 17/04/2023 23:04, Christopher Schultz wrote: Mark, On 4/17/23 05:07, Mark Thomas wrote: On 16/04/2023 18:59, Mark Thomas wrote: On 14/04/2023 21:38, Christopher Schultz wrote: The proposed 8.5.88 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 8.5.88 (stable

Re: Tomcat 8.5.85 and above - Issue with file uploads

2023-04-17 Thread Mark Thomas
On 17/04/2023 19:51, Mark Thomas wrote: Hi, I have tried but am unable to recreate this. Please provide the simplest possible web application (it should be possible to do this in a single Servlet) that demonstrates the issue. To give you an idea of what I mean by a single servlet, here

Re: Tomcat 8.5.85 and above - Issue with file uploads

2023-04-17 Thread Mark Thomas
, William L. Cunningham wrote: Thanks, yes it happens with any file upload. -Original Message- From: Mark Thomas Sent: Friday, April 14, 2023 9:36 AM To: users@tomcat.apache.org Subject: Re: Tomcat 8.5.85 and above - Issue with file uploads WARNING: This email originated from an external

Re: How to have a custom classloader outside Tomcat's own lib-dir?

2023-04-17 Thread Mark Thomas
On 16/04/2023 12:36, Thorsten Schöning wrote: Hi everyone, I have some app consisting of a directory layout with some bundled Tomcat, containing at least one exploded webapp. For various reasons, What are those reasons? I'm wondering if the reasons have any impact on the answer. that

Re: [VOTE] Release Apache Tomcat 8.5.88

2023-04-17 Thread Mark Thomas
On 16/04/2023 18:59, Mark Thomas wrote: On 14/04/2023 21:38, Christopher Schultz wrote: The proposed 8.5.88 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 8.5.88 (stable) Build is reproducible on Windows x64 but not Linux x64. Unit tests pass on Linux x64

Re: [VOTE] Release Apache Tomcat 8.5.88

2023-04-16 Thread Mark Thomas
On 14/04/2023 21:38, Christopher Schultz wrote: The proposed 8.5.88 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 8.5.88 (stable) Build is reproducible on Windows x64 but not Linux x64. Unit tests pass on Linux x64, Windows x64, MacOS M1 and MacOS x64. It

Re: [VOTE] Release Apache Tomcat 10.1.8

2023-04-16 Thread Mark Thomas
On 14/04/2023 21:08, Christopher Schultz wrote: The proposed 10.1.8 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 10.1.8 Build is reproducible on Linux x64. Unit tests pass on Linux x64, Windows x64, MacOS M1 and MacOS x64. Mark

Re: [VOTE] Release Apache Tomcat 9.0.74

2023-04-16 Thread Mark Thomas
On 13/04/2023 09:42, Rémy Maucherat wrote: The proposed 9.0.74 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 9.0.74 Build is reproducible on Linux x64. Unit tests pass on Linux x64, Windows x64, MacOS M1 and MacOS x64. Mark

Re: [VOTE] Release Apache Tomcat 11.0.0-M5

2023-04-16 Thread Mark Thomas
On 13/04/2023 00:20, Mark Thomas wrote: The proposed 11.0.0-M5 release is: [ ] Broken - do not release [X] Alpha  - go ahead and release as 11.0.0-M5 Unit tests pass on Linux x64, Windows x64, MacOS M1 and MacOS x64. Mark

Re: Tomcat Manager App and Federation

2023-04-15 Thread Mark Thomas
On 14/04/2023 16:45, Robert Hicks wrote: Does the manager app support something like Apache CXF to authenticate people to the manager application or is the manager application only accessible through username/password? The Manager web application will work with any configured Authenticator

Re: Clustering issue

2023-04-15 Thread Mark Thomas
--- r+++ y+++* --END GEEK CODE BLOCK-- On Fri, Apr 14, 2023 at 10:43 AM Mark Thomas wrote: On 13/04/2023 00:20, Kevin Huntly wrote: Hello Everyone, I setup a quick and dirty cluster following https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html I am seeing the following: 12

Re: Clustering issue

2023-04-14 Thread Mark Thomas
On 13/04/2023 00:20, Kevin Huntly wrote: Hello Everyone, I setup a quick and dirty cluster following https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html I am seeing the following: 12-Apr-2023 19:18:00.369 WARNING [main] org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager

Re: Tomcat 8.5.85 and above - Issue with file uploads

2023-04-14 Thread Mark Thomas
On 13/04/2023 21:40, William L. Cunningham wrote: Environment: Windows 2019 Standard with latest JDK 17 and Apache Tomcat 8.5.87. When trying to upload a file to the application running off Tomcat (custom software), we are getting the following error since 8.5.85 (works fine on 8.5.84).

Re: Encountered java.sql.sqlexception "the url cannot be null" starting from tomcat 9.0.71

2023-04-14 Thread Mark Thomas
ext format to work with connectionstring? Sent from Outlook for Android<https://aka.ms/AAb9ysg> ____ From: Mark Thomas Sent: Wednesday, 8 March 2023, 20:14 To: users@tomcat.apache.org Subject: Re: Encountered java.sql.sqlexception "the url cannot be null&q

Re: Clustering issue

2023-04-14 Thread Mark Thomas
On 13/04/2023 23:28, Kevin Huntly wrote: Hi Chris, The configuration in the link I shared is what I used - copy/paste - I want to see it working before I break it =) And where in server.xml did you add that configuration? Mark Kevin Huntly

Re: Session loss with filter enabled

2023-04-14 Thread Mark Thomas
On 13/04/2023 23:03, Kevin Huntly wrote: Hello, With this filter enabled in Tomcat's web.xml: httpHeaderSecurity org.apache.catalina.filters.HttpHeaderSecurityFilter true My sessions are being immediately lost. If I comment out the filter, everythis is fine. What

Re: Tomcat 9.0.73 - Exception while accessing application

2023-04-14 Thread Mark Thomas
On 12/04/2023 20:07, jonmcalexan...@wellsfargo.com.INVALID wrote: I have an application team that started receiving the following Exception: 11-Apr-2023 09:26:01.396 SEVERE [https-jsse-nio-0.0.0.0-11510-exec-19] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPa

Re: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-14 Thread Mark Thomas
ch version of which JAR is that ServletContainerInitializer coming from? Mark b. From: Mark Thomas Sent: Tuesday, April 11, 2023 2:41 PM To: users@tomcat.apache.org Subject: Re: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10? On

[VOTE] Release Apache Tomcat 11.0.0-M5

2023-04-12 Thread Mark Thomas
The proposed Apache Tomcat 11.0.0-M5 release is now available for voting. Apache Tomcat 11.0.0-M5 is a milestone release of the 11.0.x branch and has been made to provide users with early access to the new features in Apache Tomcat 11.0.x so that they may provide feedback. The notable changes

Re: Getting started with Websocket

2023-04-12 Thread Mark Thomas
On 12/04/2023 20:39, Christopher Schultz wrote: Mark, On 4/12/23 15:21, Mark Thomas wrote: On 12/04/2023 19:31, Christopher Schultz wrote: All, I'm finally dipping my toes into Websocket-based communication with my Tomcat-based applications. Is it possible to do everything with "real&

Re: Getting started with Websocket

2023-04-12 Thread Mark Thomas
On 12/04/2023 19:31, Christopher Schultz wrote: All, I'm finally dipping my toes into Websocket-based communication with my Tomcat-based applications. Is it possible to do everything with "real" code and not any annotations? I was looking for something like the Servlet Async model where you

Re: BZ 66508 and tagging progress update

2023-04-11 Thread Mark Thomas
On 11/04/2023 18:14, Christopher Schultz wrote: Mark, On 4/11/23 11:49, Mark Thomas wrote: On 06/04/2023 09:18, Mark Thomas wrote: OK, that isn't going to work. It is going to have to be the back-port of the switch to ReentrantLock. Those back-ports have been completed along with the final

Re: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-11 Thread Mark Thomas
On 11/04/2023 20:28, BRUNO MELLONI wrote: I was able to migrate applications to Spring Boot 3 / Spring 6 (standalone or running on Tomcat 10) so long as authentication was NOT through Azure AD. But when I tried to migrate applications that used Microsoft's

Re: [tomcat] branch main updated: Improve messages if JAVA_HOME / JRE_HOME not set correctly

2023-04-11 Thread Mark Thomas
added to refs/heads/main by this push:   new a788852f6b Improve messages if JAVA_HOME / JRE_HOME not set correctly a788852f6b is described below commit a788852f6b48e100bd505dcf7b5633a04f649e7b Author: Mark Thomas AuthorDate: Tue Apr 11 11:41:55 2023 +0100 Improve messages if JAVA_HOME

Re: BZ 66508 and tagging progress update

2023-04-11 Thread Mark Thomas
On 06/04/2023 09:18, Mark Thomas wrote: OK, that isn't going to work. It is going to have to be the back-port of the switch to ReentrantLock. Those back-ports have been completed along with the final bits and pieces I had on my TODO list. I need to run the tests ob various platforms

[jira] [Updated] (DAEMON-457) Tomcat9.exe crash in windows server 2016 and 2019 while updating service.

2023-04-11 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DAEMON-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas updated DAEMON-457: --- Fix Version/s: (was: 1.3.3) > Tomcat9.exe crash in windows server 2016 and 2019 while updat

Re: [BCEL] https://github.com/apache/commons-bcel/pull/177

2023-04-10 Thread Mark Thomas
Looks plausible to me (or did you mean a different Mark?). Mark On 10/04/2023 15:13, Gary D. Gregory wrote: Mark and all, Any thoughts on https://github.com/apache/commons-bcel/pull/177 ? Gary - To unsubscribe, e-mail:

Re: java.lang.IllegalStateException: Unable to find match between the canonical context path

2023-04-10 Thread Mark Thomas
On 09/04/2023 11:38, Chandru Mariraj wrote: I am migrating some of my spring projects from Spring 2 to spring 3.0.4. Most of them are communicating within Rest calls. I see for some requests I am getting the below error .

Re: [tomcat] branch main updated: Initialize Random during server initialization

2023-04-06 Thread Mark Thomas
On 06/04/2023 14:14, r...@apache.org wrote: 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

Re: BZ 66508 and tagging progress update

2023-04-06 Thread Mark Thomas
On 05/04/2023 17:56, Mark Thomas wrote: On 05/04/2023 17:46, Rémy Maucherat wrote: On Wed, Apr 5, 2023 at 5:32 PM Mark Thomas wrote: On 05/04/2023 13:01, Mark Thomas wrote: Good news and bad news. The good news is that the issues were with the test. The test has to use statics to pass

Re: BZ 66508 and tagging progress update

2023-04-05 Thread Mark Thomas
On 05/04/2023 17:46, Rémy Maucherat wrote: On Wed, Apr 5, 2023 at 5:32 PM Mark Thomas wrote: On 05/04/2023 13:01, Mark Thomas wrote: Good news and bad news. The good news is that the issues were with the test. The test has to use statics to pass data to Endpoint instances and they weren't

Re: BZ 66508 and tagging progress update

2023-04-05 Thread Mark Thomas
On 05/04/2023 13:01, Mark Thomas wrote: Good news and bad news. The good news is that the issues were with the test. The test has to use statics to pass data to Endpoint instances and they weren't being reset properly between tests. With that fixed there were 2 failures that are both fixed

Re: BZ 66508 and tagging progress update

2023-04-05 Thread Mark Thomas
is that the proposed patch fixes one possible cause of the deadlock but introduces another. I'm working on an updated patch. Mark On 04/04/2023 20:23, Mark Thomas wrote: Hi all, I now have a test case for BZ 66508. Having parameterized it for NIO/NIO2, useAsyncIO = true/false and sending

BZ 66508 and tagging progress update

2023-04-04 Thread Mark Thomas
Hi all, I now have a test case for BZ 66508. Having parameterized it for NIO/NIO2, useAsyncIO = true/false and sending messages from the server on a container thread or not I think I am making progress. Without the patch 6 out of 8 tests fail. With the patch 3 out of 8 tests fail. I'm not

Re: Support of ReadListener for Reader?

2023-04-03 Thread Mark Thomas
On 02/04/2023 18:23, Romain Manni-Bucau wrote: Hi all, Wonder if tomcat couldn't get ReadListener support for request.getReader(), I know it is not in servlet spec but it is weirdish to have a high level API less usable than the low level one because it lacks features. Since CoyoteReader uses

Re: [tomcat] branch main updated: Import remm's fix for BZ 66545

2023-04-03 Thread Mark Thomas
/heads/main by this push: new fa2e5b7ebb Import remm's fix for BZ 66545 fa2e5b7ebb is described below commit fa2e5b7ebb939f10cb023f15db387884e43d3d56 Author: Mark Thomas AuthorDate: Mon Apr 3 09:14:00 2023 +0100 Import remm's fix for BZ 66545 https://bz.apache.org/bugzilla

Re: Accessing Tomcat Sessions

2023-04-03 Thread Mark Thomas
On 02/04/2023 13:44, Chew Kok Hoor wrote: Hi, As part of a way to prevent concurrent login, and to re-assign a session back to a request based on JWT token (for clients that cannot pass us cookies), we need to access to the 'findSession' and 'findSessions' in org.apache.catalina.Manager.

Re: Session serialization: clustering vs cross-restart persistance

2023-03-30 Thread Mark Thomas
On 30/03/2023 15:11, Christopher Schultz wrote: All, On 3/30/23 10:02, Christopher Schultz wrote: All, Yes, I could read the code, but I was wondering if the (Session)Manager configuration attributes sessionAttributeNameFilter and sessionAttributeValueClassNameFilter are expected to apply

Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-29 Thread Mark Thomas
the NOAA web server. You might create a "grant" entries like this: // // The permissions granted to the context root directory apply to JSP pages. // grant codeBase "file:${catalina.base}/webapps/examples/-" { // permission java.net.SocketPermission "dbhost.mycompany.com:5

Re: Can't get RemoteIpValve to work

2023-03-28 Thread Mark Thomas
On 28/03/2023 21:08, Leon Rosenberg wrote: Sorry it took a little longer. Turns out that the actual RemoteIpValve works correctly, but the *Access Log Valve *doesn't. We were primarily looking into the localhost_access*logs, hence the confusion: Headers with RemoteIpValue on: header: host;

Re: Question regarding config.ini 'answer file'

2023-03-28 Thread Mark Thomas
On 28/03/2023 20:49, Jason Murray | ROI Solutions wrote: Hello, Apologies if my this my first post is misdirected. It isn't. All is good but thanks for checking. In a nutshell: my goal is to automate Tomcat 8.5 upgrades on Windows Server as much as possible. More specifically, I have been

Re: [GitHub] [tomcat] markt-asf opened a new pull request, #606: Further fix for BZ 66508

2023-03-28 Thread Mark Thomas
On 28/03/2023 07:44, markt-asf (via GitHub) wrote: markt-asf opened a new pull request, #606: URL: https://github.com/apache/tomcat/pull/606 https://bz.apache.org/bugzilla/show_bug.cgi?id=66508 I'd really like to get this fixed for the April releases but the fix is non-trivial. Review

Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-27 Thread Mark Thomas
Hi, The mailing lists strips attachments so please provide the contents of your catalina.policy file in-line. Thanks, Mark On 27/03/2023 12:59, Kesavan, Suresh Prabhu (Fed) wrote: Hi There, I am new to this forum, please correct me if this is not the right place to ask below question.

Re: Requirements to support HTTPS

2023-03-25 Thread Mark Thomas
On 25/03/2023 14:16, Blake McBride wrote: Greetings, I wanted to confirm my suspicions regarding packages needed in tomcat to support HTTPS. The config I am using is: No. For that configuration you can use Tomcat Native 1.2.x or 2.0.x. Tomcat Native depends on OpenSSL and APR. Whether

Re: UnsatisfiedLinkError

2023-03-25 Thread Mark Thomas
You are using Tomcat Native 2.0.3. That does not support the HTTP APR/native connector (nor the AJP/native connector). You need to use Tomcat Native 1.2.x or switch to the HTTP NIO or HTTP NIO2 connector. Mark On 25/03/2023 01:13, Blake McBride wrote: Greetings, I am getting an unsatisfied

Re: Can't get RemoteIpValve to work

2023-03-24 Thread Mark Thomas
access log magic, puts the X-Forwarded-For in the localhost_access.log ... but strange nevertheless. On Fri, Mar 24, 2023 at 11:44 AM Mark Thomas wrote: Maybe try commenting out the RemoteIpValve in Tomcat and retest so you can see exactly what headers Tomcat is seeing. Alternatively, since

Re: Can't get RemoteIpValve to work

2023-03-24 Thread Mark Thomas
Maybe try commenting out the RemoteIpValve in Tomcat and retest so you can see exactly what headers Tomcat is seeing. Alternatively, since this is over http, Wireshark or similar could help. Mark On 24/03/2023 10:29, Leon Rosenberg wrote: Hi, we have following setup apache 2.4 on a ubuntu

[jira] [Commented] (DIGESTER-199) Noisy debug

2023-03-24 Thread Mark Thomas (Jira)
[ https://issues.apache.org/jira/browse/DIGESTER-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17704539#comment-17704539 ] Mark Thomas commented on DIGESTER-199: -- Please provide a copy of the file that is being parsed

Re: Getting listed under "Compatible Implementations" at Jakarta EE

2023-03-24 Thread Mark Thomas
On 24/03/2023 01:02, Konstantin Kolinko wrote: Hi! Looking at the following specifications https://jakarta.ee/specifications/servlet/6.0/ https://jakarta.ee/specifications/pages/3.1/ https://jakarta.ee/specifications/expression-language/5.0/ https://jakarta.ee/specifications/websocket/2.1/

Re: Reduce default for maxParameterCount

2023-03-24 Thread Mark Thomas
On 23/03/2023 20:20, Christopher Schultz wrote: Mark, On 3/22/23 07:38, Mark Thomas wrote: Any more thoughts on this? There hasn't been much movement from the spec EG on this, so my current thinking is to revert this change for 10.1.x and earlier to wait and see what the Servlet EG decides

<    5   6   7   8   9   10   11   12   13   14   >