(tomcat) branch 10.1.x updated: Switch from DigiCert ONE to ssl.com eSigner for code signing

2024-10-23 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new cae655e08a Switch from DigiCert ONE to ssl.com eSigner for code signing
cae655e08a is described below

commit cae655e08a81b359a18a58fe66a4d24d69f7f985
Author: Mark Thomas 
AuthorDate: Wed Oct 23 08:32:36 2024 +0100

Switch from DigiCert ONE to ssl.com eSigner for code signing
---
 build.properties.default   | 10 ++
 build.xml  |  8 ++--
 webapps/docs/changelog.xml |  3 +++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 152118a787..05be0f61c2 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -95,11 +95,13 @@ gpg.exec=/path/to/gpg
 # Code signing of Windows installer
 # See https://infra.apache.org/digicert-use.html for setup instructions
 do.codesigning=false
-codesigning.alias=Tomcat-PMC-cert-2023-11
-codesigning.digest=SHA-512
-codesigning.storetype=DIGICERTONE
+codesigning.alias=d97c5110-c66a-4c0c-ac0c-1cd6af812ee6
+codesigning.digest=SHA256
+codesigning.storetype=ESIGNER
 # Set codesigning.storepass in build.properties with the following syntax
-#codesigning.storepass=|/path/to/Certificate_pkcs12.p12|
+#codesigning.storepass=|
+# Set codesigning.keypass in build.properties with the following syntax
+#codesigning.keypass=
 
 # - Settings to control downloading of files -
 execute.download=true
diff --git a/build.xml b/build.xml
index a58ccb3c61..98106bb816 100644
--- a/build.xml
+++ b/build.xml
@@ -2685,9 +2685,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true"/>
 
 
@@ -2720,9 +2722,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true" />
 
 
 Update Byte Buddy to 1.15.4. (remm)
   
+  
+Switch from DigiCert ONE to ssl.com eSigner for code signing. (markt)
+  
 
   
 


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



(tomcat) branch main updated: Switch from DigiCert ONE to ssl.com eSigner for code signing

2024-10-23 Thread markt
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 f935129388 Switch from DigiCert ONE to ssl.com eSigner for code signing
f935129388 is described below

commit f9351293887de8d47ffc5c2a30a087ad08575aa9
Author: Mark Thomas 
AuthorDate: Wed Oct 23 08:32:36 2024 +0100

Switch from DigiCert ONE to ssl.com eSigner for code signing
---
 build.properties.default | 10 ++
 build.xml|  8 ++--
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 89203c04b2..2dcea7427c 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -95,11 +95,13 @@ gpg.exec=/path/to/gpg
 # Code signing of Windows installer
 # See https://infra.apache.org/digicert-use.html for setup instructions
 do.codesigning=false
-codesigning.alias=Tomcat-PMC-cert-2023-11
-codesigning.digest=SHA-512
-codesigning.storetype=DIGICERTONE
+codesigning.alias=d97c5110-c66a-4c0c-ac0c-1cd6af812ee6
+codesigning.digest=SHA256
+codesigning.storetype=ESIGNER
 # Set codesigning.storepass in build.properties with the following syntax
-#codesigning.storepass=|/path/to/Certificate_pkcs12.p12|
+#codesigning.storepass=|
+# Set codesigning.keypass in build.properties with the following syntax
+#codesigning.keypass=
 
 # - Settings to control downloading of files -
 execute.download=true
diff --git a/build.xml b/build.xml
index 902d981f97..e7618de3dd 100644
--- a/build.xml
+++ b/build.xml
@@ -2657,9 +2657,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true"/>
 
 
@@ -2692,9 +2694,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true" />
 
 

(tomcat) branch 11.0.x updated: Switch from DigiCert ONE to ssl.com eSigner for code signing

2024-10-23 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
 new ef0acdb9d4 Switch from DigiCert ONE to ssl.com eSigner for code signing
ef0acdb9d4 is described below

commit ef0acdb9d42fe1fdaa3964d865d4e98812eeec19
Author: Mark Thomas 
AuthorDate: Wed Oct 23 08:32:36 2024 +0100

Switch from DigiCert ONE to ssl.com eSigner for code signing
---
 build.properties.default   | 10 ++
 build.xml  |  8 ++--
 webapps/docs/changelog.xml |  3 +++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 0aae5aba4a..e8c6b2d891 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -95,11 +95,13 @@ gpg.exec=/path/to/gpg
 # Code signing of Windows installer
 # See https://infra.apache.org/digicert-use.html for setup instructions
 do.codesigning=false
-codesigning.alias=Tomcat-PMC-cert-2023-11
-codesigning.digest=SHA-512
-codesigning.storetype=DIGICERTONE
+codesigning.alias=d97c5110-c66a-4c0c-ac0c-1cd6af812ee6
+codesigning.digest=SHA256
+codesigning.storetype=ESIGNER
 # Set codesigning.storepass in build.properties with the following syntax
-#codesigning.storepass=|/path/to/Certificate_pkcs12.p12|
+#codesigning.storepass=|
+# Set codesigning.keypass in build.properties with the following syntax
+#codesigning.keypass=
 
 # - Settings to control downloading of files -
 execute.download=true
diff --git a/build.xml b/build.xml
index b2953f4797..e0918acf28 100644
--- a/build.xml
+++ b/build.xml
@@ -2657,9 +2657,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true"/>
 
 
@@ -2692,9 +2694,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true" />
 
 
 Update Byte Buddy to 1.15.4. (remm)
   
+  
+Switch from DigiCert ONE to ssl.com eSigner for code signing. (markt)
+  
 
   
 


-
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: Switch from DigiCert ONE to ssl.com eSigner for code signing

2024-10-23 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt 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 e7df62dfdf Switch from DigiCert ONE to ssl.com eSigner for code signing
e7df62dfdf is described below

commit e7df62dfdf53f819bad7a1a1921605229527107c
Author: Mark Thomas 
AuthorDate: Wed Oct 23 08:32:36 2024 +0100

Switch from DigiCert ONE to ssl.com eSigner for code signing
---
 build.properties.default   | 10 ++
 build.xml  |  8 ++--
 webapps/docs/changelog.xml |  3 +++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 33ae8d3f11..45ee247ed2 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -97,11 +97,13 @@ gpg.exec=/path/to/gpg
 # Code signing of Windows installer
 # See https://infra.apache.org/digicert-use.html for setup instructions
 do.codesigning=false
-codesigning.alias=Tomcat-PMC-cert-2023-11
-codesigning.digest=SHA-512
-codesigning.storetype=DIGICERTONE
+codesigning.alias=d97c5110-c66a-4c0c-ac0c-1cd6af812ee6
+codesigning.digest=SHA256
+codesigning.storetype=ESIGNER
 # Set codesigning.storepass in build.properties with the following syntax
-#codesigning.storepass=|/path/to/Certificate_pkcs12.p12|
+#codesigning.storepass=|
+# Set codesigning.keypass in build.properties with the following syntax
+#codesigning.keypass=
 
 # - Settings to control downloading of files -
 execute.download=true
diff --git a/build.xml b/build.xml
index 8bab45d924..66d493f0ca 100644
--- a/build.xml
+++ b/build.xml
@@ -2682,9 +2682,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true"/>
 
 
@@ -2717,9 +2719,11 @@ skip.installer property in build.properties" />
 http://timestamp.digicert.com";
+tsaurl="http://ts.ssl.com";
+tsmode="RFC3161"
 detached="true" />
 
 
 Update Byte Buddy to 1.15.4. (remm)
   
+  
+Switch from DigiCert ONE to ssl.com eSigner for code signing. (markt)
+  
 
   
 


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



(tomcat) branch 10.1.x updated: Repackage dead property handling into a Catalina style store API

2024-10-23 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new 2e27f28363 Repackage dead property handling into a Catalina style 
store API
2e27f28363 is described below

commit 2e27f28363828bd1f626ff2cc52ea268ecc5a886
Author: remm 
AuthorDate: Wed Oct 23 10:01:58 2024 +0200

Repackage dead property handling into a Catalina style store API

Add a PropertyStore interface with streamlined API.
Take advantage of this as an excuse to repackage the simple non
persistent store into a basic default option.
Add logging "warnings" about what it does and how to configure it.
No functional change but this way the WebDAV Servlet is fully testable
by default (Litmus works, for example).
---
 .../catalina/servlets/LocalStrings.properties  |   3 +
 .../apache/catalina/servlets/WebdavServlet.java| 470 ++---
 .../catalina/servlets/TestWebdavServlet.java   | 108 -
 .../servlets/TransientPropertiesWebdavServlet.java | 186 
 webapps/docs/changelog.xml |  14 +-
 5 files changed, 442 insertions(+), 339 deletions(-)

diff --git a/java/org/apache/catalina/servlets/LocalStrings.properties 
b/java/org/apache/catalina/servlets/LocalStrings.properties
index f96475f545..ae3d0f047b 100644
--- a/java/org/apache/catalina/servlets/LocalStrings.properties
+++ b/java/org/apache/catalina/servlets/LocalStrings.properties
@@ -58,4 +58,7 @@ defaultServlet.xslError=XSL transformer error
 webdavservlet.externalEntityIgnored=The request included a reference to an 
external entity with PublicID [{0}] and SystemID [{1}] which was ignored
 webdavservlet.inputstreamclosefail=Failed to close the inputStream of [{0}]
 webdavservlet.jaxpfailed=JAXP initialization failed
+webdavservlet.memorystore=Non persistent memory storage will be used for dead 
properties; the 'propertyStore' init parameter of the Servlet may be used to 
configure a custom store implementing the 'WebdavServlet.PropertyStore' 
interface
 webdavservlet.nonWildcardMapping=The mapping [{0}] is not a wildcard mapping 
and should not be used for the WebDAV Servlet
+webdavservlet.noStoreParameter=Init parameter [{0}] with value [{1}] was not 
found on the configured store
+webdavservlet.storeError=Error creating store of class [{0}], the default 
memory store will be used instead
diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 971fb5a20b..8d305f8da5 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,6 +23,7 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
+import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -31,6 +32,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Deque;
+import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -57,6 +59,7 @@ import org.apache.catalina.connector.RequestFacade;
 import org.apache.catalina.util.DOMWriter;
 import org.apache.catalina.util.XMLWriter;
 import org.apache.tomcat.PeriodicEventListener;
+import org.apache.tomcat.util.IntrospectionUtils;
 import org.apache.tomcat.util.buf.HexUtils;
 import org.apache.tomcat.util.http.ConcurrentDateFormat;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
@@ -73,7 +76,7 @@ import org.xml.sax.SAXException;
 
 /**
  * Servlet which adds support for https://tools.ietf.org/html/rfc4918";>WebDAV
- * https://tools.ietf.org/html/rfc4918#section-18";>level 2. All 
the basic HTTP requests are handled by the
+ * https://tools.ietf.org/html/rfc4918#section-18";>level 3. All 
the basic HTTP requests are handled by the
  * DefaultServlet. The WebDAVServlet must not be used as the default servlet 
(ie mapped to '/') as it will not work in
  * this configuration.
  * 
@@ -258,6 +261,12 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 private boolean strictIfProcessing = true;
 
 
+/**
+ * Property store used for storage of dead properties.
+ */
+private PropertyStore store = null;
+
+
 // - Public Methods
 
 
@@ -292,6 +301,41 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 if (getServletConfig().getInitParameter("strictIfProcessing") != null) 
{
 strictIfProcessing = 
Boolean.parseBoolean(getServletConfig().getInitParameter("strictIfProcessing"));
 }
+
+String propertyStore = 
getServletConfig().getInitParameter("proper

(tomcat) branch 9.0.x updated: Repackage dead property handling into a Catalina style store API

2024-10-23 Thread remm
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 72571fda71 Repackage dead property handling into a Catalina style 
store API
72571fda71 is described below

commit 72571fda71a2917fe3f88311bad7aa8cfcf7afff
Author: remm 
AuthorDate: Wed Oct 23 10:01:58 2024 +0200

Repackage dead property handling into a Catalina style store API

Add a PropertyStore interface with streamlined API.
Take advantage of this as an excuse to repackage the simple non
persistent store into a basic default option.
Add logging "warnings" about what it does and how to configure it.
No functional change but this way the WebDAV Servlet is fully testable
by default (Litmus works, for example).
---
 .../catalina/servlets/LocalStrings.properties  |   3 +
 .../apache/catalina/servlets/WebdavServlet.java| 470 ++---
 .../catalina/servlets/TestWebdavServlet.java   | 108 -
 .../servlets/TransientPropertiesWebdavServlet.java | 186 
 webapps/docs/changelog.xml |  14 +-
 5 files changed, 442 insertions(+), 339 deletions(-)

diff --git a/java/org/apache/catalina/servlets/LocalStrings.properties 
b/java/org/apache/catalina/servlets/LocalStrings.properties
index f96475f545..ae3d0f047b 100644
--- a/java/org/apache/catalina/servlets/LocalStrings.properties
+++ b/java/org/apache/catalina/servlets/LocalStrings.properties
@@ -58,4 +58,7 @@ defaultServlet.xslError=XSL transformer error
 webdavservlet.externalEntityIgnored=The request included a reference to an 
external entity with PublicID [{0}] and SystemID [{1}] which was ignored
 webdavservlet.inputstreamclosefail=Failed to close the inputStream of [{0}]
 webdavservlet.jaxpfailed=JAXP initialization failed
+webdavservlet.memorystore=Non persistent memory storage will be used for dead 
properties; the 'propertyStore' init parameter of the Servlet may be used to 
configure a custom store implementing the 'WebdavServlet.PropertyStore' 
interface
 webdavservlet.nonWildcardMapping=The mapping [{0}] is not a wildcard mapping 
and should not be used for the WebDAV Servlet
+webdavservlet.noStoreParameter=Init parameter [{0}] with value [{1}] was not 
found on the configured store
+webdavservlet.storeError=Error creating store of class [{0}], the default 
memory store will be used instead
diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 8ead4cd220..3e9a69247a 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,6 +23,7 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
+import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -31,6 +32,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Deque;
+import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -56,6 +58,7 @@ import org.apache.catalina.connector.RequestFacade;
 import org.apache.catalina.util.DOMWriter;
 import org.apache.catalina.util.XMLWriter;
 import org.apache.tomcat.PeriodicEventListener;
+import org.apache.tomcat.util.IntrospectionUtils;
 import org.apache.tomcat.util.buf.HexUtils;
 import org.apache.tomcat.util.http.ConcurrentDateFormat;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
@@ -72,7 +75,7 @@ import org.xml.sax.SAXException;
 
 /**
  * Servlet which adds support for https://tools.ietf.org/html/rfc4918";>WebDAV
- * https://tools.ietf.org/html/rfc4918#section-18";>level 2. All 
the basic HTTP requests are handled by the
+ * https://tools.ietf.org/html/rfc4918#section-18";>level 3. All 
the basic HTTP requests are handled by the
  * DefaultServlet. The WebDAVServlet must not be used as the default servlet 
(ie mapped to '/') as it will not work in
  * this configuration.
  * 
@@ -257,6 +260,12 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 private boolean strictIfProcessing = true;
 
 
+/**
+ * Property store used for storage of dead properties.
+ */
+private PropertyStore store = null;
+
+
 // - Public Methods
 
 
@@ -291,6 +300,41 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 if (getServletConfig().getInitParameter("strictIfProcessing") != null) 
{
 strictIfProcessing = 
Boolean.parseBoolean(getServletConfig().getInitParameter("strictIfProcessing"));
 }
+
+String propertyStore = 
getServletConfig().getInitParameter("property

(tomcat) branch 11.0.x updated: Repackage dead property handling into a Catalina style store API

2024-10-23 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
 new c3efb204ca Repackage dead property handling into a Catalina style 
store API
c3efb204ca is described below

commit c3efb204ca2883d9853cc9fdebca7b0630d01fd1
Author: remm 
AuthorDate: Wed Oct 23 10:01:58 2024 +0200

Repackage dead property handling into a Catalina style store API

Add a PropertyStore interface with streamlined API.
Take advantage of this as an excuse to repackage the simple non
persistent store into a basic default option.
Add logging "warnings" about what it does and how to configure it.
No functional change but this way the WebDAV Servlet is fully testable
by default (Litmus works, for example).
---
 .../catalina/servlets/LocalStrings.properties  |   3 +
 .../apache/catalina/servlets/WebdavServlet.java| 470 ++---
 .../catalina/servlets/TestWebdavServlet.java   | 108 -
 .../servlets/TransientPropertiesWebdavServlet.java | 186 
 webapps/docs/changelog.xml |  14 +-
 5 files changed, 442 insertions(+), 339 deletions(-)

diff --git a/java/org/apache/catalina/servlets/LocalStrings.properties 
b/java/org/apache/catalina/servlets/LocalStrings.properties
index 71147e455b..00a830f4c0 100644
--- a/java/org/apache/catalina/servlets/LocalStrings.properties
+++ b/java/org/apache/catalina/servlets/LocalStrings.properties
@@ -55,4 +55,7 @@ defaultServlet.xslError=XSL transformer error
 webdavservlet.externalEntityIgnored=The request included a reference to an 
external entity with PublicID [{0}] and SystemID [{1}] which was ignored
 webdavservlet.inputstreamclosefail=Failed to close the inputStream of [{0}]
 webdavservlet.jaxpfailed=JAXP initialization failed
+webdavservlet.memorystore=Non persistent memory storage will be used for dead 
properties; the 'propertyStore' init parameter of the Servlet may be used to 
configure a custom store implementing the 'WebdavServlet.PropertyStore' 
interface
 webdavservlet.nonWildcardMapping=The mapping [{0}] is not a wildcard mapping 
and should not be used for the WebDAV Servlet
+webdavservlet.noStoreParameter=Init parameter [{0}] with value [{1}] was not 
found on the configured store
+webdavservlet.storeError=Error creating store of class [{0}], the default 
memory store will be used instead
diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 971fb5a20b..8d305f8da5 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,6 +23,7 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
+import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -31,6 +32,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Deque;
+import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -57,6 +59,7 @@ import org.apache.catalina.connector.RequestFacade;
 import org.apache.catalina.util.DOMWriter;
 import org.apache.catalina.util.XMLWriter;
 import org.apache.tomcat.PeriodicEventListener;
+import org.apache.tomcat.util.IntrospectionUtils;
 import org.apache.tomcat.util.buf.HexUtils;
 import org.apache.tomcat.util.http.ConcurrentDateFormat;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
@@ -73,7 +76,7 @@ import org.xml.sax.SAXException;
 
 /**
  * Servlet which adds support for https://tools.ietf.org/html/rfc4918";>WebDAV
- * https://tools.ietf.org/html/rfc4918#section-18";>level 2. All 
the basic HTTP requests are handled by the
+ * https://tools.ietf.org/html/rfc4918#section-18";>level 3. All 
the basic HTTP requests are handled by the
  * DefaultServlet. The WebDAVServlet must not be used as the default servlet 
(ie mapped to '/') as it will not work in
  * this configuration.
  * 
@@ -258,6 +261,12 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 private boolean strictIfProcessing = true;
 
 
+/**
+ * Property store used for storage of dead properties.
+ */
+private PropertyStore store = null;
+
+
 // - Public Methods
 
 
@@ -292,6 +301,41 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 if (getServletConfig().getInitParameter("strictIfProcessing") != null) 
{
 strictIfProcessing = 
Boolean.parseBoolean(getServletConfig().getInitParameter("strictIfProcessing"));
 }
+
+String propertyStore = 
getServletConfig().getInitParameter("proper

(tomcat) branch main updated: Repackage dead property handling into a Catalina style store API

2024-10-23 Thread remm
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 3f5b0cc58c Repackage dead property handling into a Catalina style 
store API
3f5b0cc58c is described below

commit 3f5b0cc58ce3c5cc7f74a9cbcfe083b303f222ff
Author: remm 
AuthorDate: Wed Oct 23 10:01:58 2024 +0200

Repackage dead property handling into a Catalina style store API

Add a PropertyStore interface with streamlined API.
Take advantage of this as an excuse to repackage the simple non
persistent store into a basic default option.
Add logging "warnings" about what it does and how to configure it.
No functional change but this way the WebDAV Servlet is fully testable
by default (Litmus works, for example).
---
 .../catalina/servlets/LocalStrings.properties  |   3 +
 .../apache/catalina/servlets/WebdavServlet.java| 470 ++---
 .../catalina/servlets/TestWebdavServlet.java   | 108 -
 .../servlets/TransientPropertiesWebdavServlet.java | 186 
 webapps/docs/changelog.xml |  14 +-
 5 files changed, 442 insertions(+), 339 deletions(-)

diff --git a/java/org/apache/catalina/servlets/LocalStrings.properties 
b/java/org/apache/catalina/servlets/LocalStrings.properties
index c02d09eaf9..dd0b8e6ed2 100644
--- a/java/org/apache/catalina/servlets/LocalStrings.properties
+++ b/java/org/apache/catalina/servlets/LocalStrings.properties
@@ -55,5 +55,8 @@ defaultServlet.xslError=XSL transformer error
 webdavservlet.externalEntityIgnored=The request included a reference to an 
external entity with PublicID [{0}] and SystemID [{1}] which was ignored
 webdavservlet.inputstreamclosefail=Failed to close the inputStream of [{0}]
 webdavservlet.jaxpfailed=JAXP initialization failed
+webdavservlet.memorystore=Non persistent memory storage will be used for dead 
properties; the 'propertyStore' init parameter of the Servlet may be used to 
configure a custom store implementing the 'WebdavServlet.PropertyStore' 
interface
 webdavservlet.nonWildcardMapping=The mapping [{0}] is not a wildcard mapping 
and should not be used for the WebDAV Servlet
 webdavservlet.noSecret=Generation of secure lock ids need a configured 
'secret' init parameter on the Servlet
+webdavservlet.noStoreParameter=Init parameter [{0}] with value [{1}] was not 
found on the configured store
+webdavservlet.storeError=Error creating store of class [{0}], the default 
memory store will be used instead
diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 4a73cbe2d5..b745a5b956 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,6 +23,7 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
+import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -31,6 +32,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Deque;
+import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -57,6 +59,7 @@ import org.apache.catalina.connector.RequestFacade;
 import org.apache.catalina.util.DOMWriter;
 import org.apache.catalina.util.XMLWriter;
 import org.apache.tomcat.PeriodicEventListener;
+import org.apache.tomcat.util.IntrospectionUtils;
 import org.apache.tomcat.util.buf.HexUtils;
 import org.apache.tomcat.util.http.ConcurrentDateFormat;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
@@ -73,7 +76,7 @@ import org.xml.sax.SAXException;
 
 /**
  * Servlet which adds support for https://tools.ietf.org/html/rfc4918";>WebDAV
- * https://tools.ietf.org/html/rfc4918#section-18";>level 2. All 
the basic HTTP requests are handled by the
+ * https://tools.ietf.org/html/rfc4918#section-18";>level 3. All 
the basic HTTP requests are handled by the
  * DefaultServlet. The WebDAVServlet must not be used as the default servlet 
(ie mapped to '/') as it will not work in
  * this configuration.
  * 
@@ -258,6 +261,12 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 private boolean strictIfProcessing = true;
 
 
+/**
+ * Property store used for storage of dead properties.
+ */
+private PropertyStore store = null;
+
+
 // - Public Methods
 
 
@@ -294,6 +303,41 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 if (getServletConfig().getInitParameter("strictIfProcessing") != null) 
{
 strictIfProcessing = 
Boolean.parseBoolean(getServletConfig().getInitParameter("stri

[Bug 69405] Vague error message: "A filter or servlet of the current chain does not support asynchronous operations"

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69405

--- Comment #3 from Graham Leggett  ---
(In reply to Christopher Schultz from comment #2)
> The information is discoverable.

If the information is discoverable, the error message needs to include
information on how to discover it.

> Since this error would really only be expected in development, having a
> method that re-scans the filter chain looking for async support would be an
> option rather than building that information for every request and then
> discarding it every time.

This code has long since been developed, and has not been changed recently, the
idea that "it shouldn't happen" isn't true, as it just happened. The most
likely source of the problem is a vendor update to the Tomcat RPMs that have
enabled something internally.

What should be happening is that on the error path (and not the critical path
for the reason you've already mentioned) we walk the request again and
determine which component has returned false so that component is printed in
the error message.

We need to be nice to ops.

-- 
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



[PR] Most PRs merged and all conflicts fixed [tomcat-maven-plugin]

2024-10-23 Thread via GitHub


aleferri opened a new pull request, #44:
URL: https://github.com/apache/tomcat-maven-plugin/pull/44

   - Merged every PR i could  
   - Fixed all conflicts
   - Updated deps to the last possibile version  
   - Build successfully with Java 8  
   
   I need both Tomcat 7 and 9 because of some internal old apps (some are in 7 
and some are in 9).
   I am currently testing it.


-- 
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 11.0.x updated: Update javadoc

2024-10-23 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
 new 3c7a83e9ea Update javadoc
3c7a83e9ea is described below

commit 3c7a83e9ea2b3510cd1944a63610bc8d1bcdb995
Author: remm 
AuthorDate: Wed Oct 23 13:19:56 2024 +0200

Update javadoc

Cleanup exception list.
---
 .../apache/catalina/servlets/WebdavServlet.java| 29 --
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 8d305f8da5..ffa841824d 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,7 +23,6 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -137,11 +136,26 @@ import org.xml.sax.SAXException;
  * access will be able to edit content available via 
http://host:port/context/content using
  * http://host:port/context/webdavedit/content
  * 
- * There are some known limitations of this Servlet due to it not implementing 
PROPPATCH and PROPFIND methods support
- * for dead properties. The Servlet does provide extension points to add 
support for some as required by user. Details
- * of these limitations and progress towards addressing them are being tracked 
under
- * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046";>bug 
69046.
- * 
+ * The Servlet provides support for arbitrary dead properties on all resources 
(dead properties are properties
+ * whose values are not protected by the server, such as the content length of 
a resource). By default the Servlet
+ * will use non persistent memory storage for them. Persistence can be 
achieved by implementing
+ * the PropertyStore interface and configuring the Servlet to use 
that store.
+ * The propertyStore init-param allows configuring the classname 
of the store to use, while the
+ * parameters in the form of store.xxx will be set on the store 
object as bean properties.
+ * For example, this would configure a store with class 
com.MyPropertyStore, and set its field
+ * myName to value myValue:
+ *
+ * 
+ *  
+ *propertyStore
+ *com.MyPropertyStore
+ *  
+ *  
+ *store.myName
+ *myValue
+ *  
+ * 
+ * 
  *
  * @see https://tools.ietf.org/html/rfc4918";>RFC 4918
  */
@@ -320,8 +334,7 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 }
 }
 }
-} catch (ClassNotFoundException | InstantiationException | 
IllegalAccessException
-| IllegalArgumentException | InvocationTargetException | 
NoSuchMethodException | SecurityException e) {
+} catch (Exception e) {
 log(sm.getString("webdavservlet.storeError"), e);
 }
 }


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



(tomcat) branch 10.1.x updated: Update javadoc

2024-10-23 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new 28c21220b8 Update javadoc
28c21220b8 is described below

commit 28c21220b8b0fb9aa174f1e7b01d833a776d8e6a
Author: remm 
AuthorDate: Wed Oct 23 13:19:56 2024 +0200

Update javadoc

Cleanup exception list.
---
 .../apache/catalina/servlets/WebdavServlet.java| 29 --
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 8d305f8da5..ffa841824d 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,7 +23,6 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -137,11 +136,26 @@ import org.xml.sax.SAXException;
  * access will be able to edit content available via 
http://host:port/context/content using
  * http://host:port/context/webdavedit/content
  * 
- * There are some known limitations of this Servlet due to it not implementing 
PROPPATCH and PROPFIND methods support
- * for dead properties. The Servlet does provide extension points to add 
support for some as required by user. Details
- * of these limitations and progress towards addressing them are being tracked 
under
- * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046";>bug 
69046.
- * 
+ * The Servlet provides support for arbitrary dead properties on all resources 
(dead properties are properties
+ * whose values are not protected by the server, such as the content length of 
a resource). By default the Servlet
+ * will use non persistent memory storage for them. Persistence can be 
achieved by implementing
+ * the PropertyStore interface and configuring the Servlet to use 
that store.
+ * The propertyStore init-param allows configuring the classname 
of the store to use, while the
+ * parameters in the form of store.xxx will be set on the store 
object as bean properties.
+ * For example, this would configure a store with class 
com.MyPropertyStore, and set its field
+ * myName to value myValue:
+ *
+ * 
+ *  
+ *propertyStore
+ *com.MyPropertyStore
+ *  
+ *  
+ *store.myName
+ *myValue
+ *  
+ * 
+ * 
  *
  * @see https://tools.ietf.org/html/rfc4918";>RFC 4918
  */
@@ -320,8 +334,7 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 }
 }
 }
-} catch (ClassNotFoundException | InstantiationException | 
IllegalAccessException
-| IllegalArgumentException | InvocationTargetException | 
NoSuchMethodException | SecurityException e) {
+} catch (Exception e) {
 log(sm.getString("webdavservlet.storeError"), e);
 }
 }


-
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: Update javadoc

2024-10-23 Thread remm
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 8f5e3b8e15 Update javadoc
8f5e3b8e15 is described below

commit 8f5e3b8e15d8fd9ff3099223a510d9c82aa51774
Author: remm 
AuthorDate: Wed Oct 23 13:19:56 2024 +0200

Update javadoc

Cleanup exception list.
---
 .../apache/catalina/servlets/WebdavServlet.java| 29 --
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 3e9a69247a..f36dfc0892 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,7 +23,6 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -136,11 +135,26 @@ import org.xml.sax.SAXException;
  * access will be able to edit content available via 
http://host:port/context/content using
  * http://host:port/context/webdavedit/content
  * 
- * There are some known limitations of this Servlet due to it not implementing 
PROPPATCH and PROPFIND methods support
- * for dead properties. The Servlet does provide extension points to add 
support for some as required by user. Details
- * of these limitations and progress towards addressing them are being tracked 
under
- * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046";>bug 
69046.
- * 
+ * The Servlet provides support for arbitrary dead properties on all resources 
(dead properties are properties
+ * whose values are not protected by the server, such as the content length of 
a resource). By default the Servlet
+ * will use non persistent memory storage for them. Persistence can be 
achieved by implementing
+ * the PropertyStore interface and configuring the Servlet to use 
that store.
+ * The propertyStore init-param allows configuring the classname 
of the store to use, while the
+ * parameters in the form of store.xxx will be set on the store 
object as bean properties.
+ * For example, this would configure a store with class 
com.MyPropertyStore, and set its field
+ * myName to value myValue:
+ *
+ * 
+ *  
+ *propertyStore
+ *com.MyPropertyStore
+ *  
+ *  
+ *store.myName
+ *myValue
+ *  
+ * 
+ * 
  *
  * @see https://tools.ietf.org/html/rfc4918";>RFC 4918
  */
@@ -319,8 +333,7 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 }
 }
 }
-} catch (ClassNotFoundException | InstantiationException | 
IllegalAccessException
-| IllegalArgumentException | InvocationTargetException | 
NoSuchMethodException | SecurityException e) {
+} catch (Exception e) {
 log(sm.getString("webdavservlet.storeError"), e);
 }
 }


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



(tomcat) branch main updated: Update javadoc

2024-10-23 Thread remm
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 7dbe09924b Update javadoc
7dbe09924b is described below

commit 7dbe09924b773ab49a23ea831f7533e963bd80f1
Author: remm 
AuthorDate: Wed Oct 23 13:19:56 2024 +0200

Update javadoc

Cleanup exception list.
---
 .../apache/catalina/servlets/WebdavServlet.java| 29 --
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index b745a5b956..0d8474892e 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -23,7 +23,6 @@ import java.io.Serializable;
 import java.io.StringReader;
 import java.io.StringWriter;
 import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.charset.StandardCharsets;
@@ -137,11 +136,26 @@ import org.xml.sax.SAXException;
  * access will be able to edit content available via 
http://host:port/context/content using
  * http://host:port/context/webdavedit/content
  * 
- * There are some known limitations of this Servlet due to it not implementing 
PROPPATCH and PROPFIND methods support
- * for dead properties. The Servlet does provide extension points to add 
support for some as required by user. Details
- * of these limitations and progress towards addressing them are being tracked 
under
- * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046";>bug 
69046.
- * 
+ * The Servlet provides support for arbitrary dead properties on all resources 
(dead properties are properties
+ * whose values are not protected by the server, such as the content length of 
a resource). By default the Servlet
+ * will use non persistent memory storage for them. Persistence can be 
achieved by implementing
+ * the PropertyStore interface and configuring the Servlet to use 
that store.
+ * The propertyStore init-param allows configuring the classname 
of the store to use, while the
+ * parameters in the form of store.xxx will be set on the store 
object as bean properties.
+ * For example, this would configure a store with class 
com.MyPropertyStore, and set its field
+ * myName to value myValue:
+ *
+ * 
+ *  
+ *propertyStore
+ *com.MyPropertyStore
+ *  
+ *  
+ *store.myName
+ *myValue
+ *  
+ * 
+ * 
  *
  * @see https://tools.ietf.org/html/rfc4918";>RFC 4918
  */
@@ -322,8 +336,7 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
 }
 }
 }
-} catch (ClassNotFoundException | InstantiationException | 
IllegalAccessException
-| IllegalArgumentException | InvocationTargetException | 
NoSuchMethodException | SecurityException e) {
+} catch (Exception e) {
 log(sm.getString("webdavservlet.storeError"), e);
 }
 }


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



Buildbot failure in on tomcat-10.1.x

2024-10-23 Thread buildbot
Build status: BUILD FAILED: failed compile (failure)
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/44/builds/1462
Blamelist: remm 
Build Text: failed compile (failure)
Status Detected: new failure
Build Source Stamp: [branch 10.1.x] cad6b816514fa7bd0d912f764123193116a407d8


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  compile: 1

  shell_6: 0

  shell_7: 0

  shell_8: 0

  shell_9: 0

  Rsync docs to nightlies.apache.org: 0

  shell_10: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 2

  shell_11: 0

  Rsync Logs to nightlies.apache.org: 0


-- ASF Buildbot


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



[Bug 69389] Misleading german localization error for the message with the key "jarScan.classloaderFail"

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69389

Remy Maucherat  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Remy Maucherat  ---
I made the update, but as is stated on all resource files, you should submit
fixes to poeditor directly.

-- 
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



Buildbot success in on tomcat-9.0.x

2024-10-23 Thread buildbot
Build status: Build succeeded!
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/37/builds/1138
Blamelist: remm 
Build Text: build successful
Status Detected: restored build
Build Source Stamp: [branch 9.0.x] 3dd12d3afa1d640b43f1ac63cafe1ed820bd7d77


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  compile: 1

  shell_6: 0

  shell_7: 0

  shell_8: 0

  shell_9: 0

  Rsync docs to nightlies.apache.org: 0

  shell_10: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 1

  shell_11: 0

  Rsync Logs to nightlies.apache.org: 0


-- ASF Buildbot


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



Buildbot failure in on tomcat-9.0.x

2024-10-23 Thread buildbot
Build status: BUILD FAILED: failed compile (failure)
Worker used: bb_worker2_ubuntu
URL: https://ci2.apache.org/#builders/37/builds/1137
Blamelist: remm 
Build Text: failed compile (failure)
Status Detected: new failure
Build Source Stamp: [branch 9.0.x] 8f5e3b8e15d8fd9ff3099223a510d9c82aa51774


Steps:

  worker_preparation: 0

  git: 0

  shell: 0

  shell_1: 0

  shell_2: 0

  shell_3: 0

  shell_4: 0

  shell_5: 0

  compile: 1

  shell_6: 0

  shell_7: 0

  shell_8: 0

  shell_9: 0

  Rsync docs to nightlies.apache.org: 0

  shell_10: 0

  Rsync RAT to nightlies.apache.org: 0

  compile_1: 2

  shell_11: 0

  Rsync Logs to nightlies.apache.org: 0


-- ASF Buildbot


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



(tomcat) branch 10.1.x updated: Fix changelog

2024-10-23 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
 new cad6b81651 Fix changelog
cad6b81651 is described below

commit cad6b816514fa7bd0d912f764123193116a407d8
Author: remm 
AuthorDate: Wed Oct 23 17:46:44 2024 +0200

Fix changelog
---
 webapps/docs/changelog.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index a1d6b92f09..eb038ae9fe 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -207,10 +207,6 @@
 Add back tag release method as deprecated in the runtime for compat
 with old generated code. (remm)
   
-
-  
-  
-
   
 69399: Fix regression caused by the improvement
 69333 which caused the tag release to be called


-
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: Fix changelog

2024-10-23 Thread remm
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 3dd12d3afa Fix changelog
3dd12d3afa is described below

commit 3dd12d3afa1d640b43f1ac63cafe1ed820bd7d77
Author: remm 
AuthorDate: Wed Oct 23 17:46:44 2024 +0200

Fix changelog
---
 webapps/docs/changelog.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 1a2a502f91..2126ed8b0b 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -207,10 +207,6 @@
 Add back tag release method as deprecated in the runtime for compat
 with old generated code. (remm)
   
-
-  
-  
-
   
 69399: Fix regression caused by the improvement
 69333 which caused the tag release to be called


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



[Bug 69399] Tag.release() called between reuses

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69399

--- Comment #5 from a.sa...@sachs-net.de ---
Hello,
i have a similar problem. Can you please check if my bug is also fixed by this
fix or if i should open a new bug report.

It's not only that release() is called after doEndTag sometimes release() is
executed after doStartTag of another thread.

This means that the errors do not always occure but only sometimes and are
therefore very difficult to find.

In my case thread 79 throws an nullpointer exception

History of Tag usage:
(84,74,... thread id)

org.apache.struts2.views.jsp.IfTag@739e8775 84 dostart entering
org.apache.struts2.views.jsp.IfTag@739e8775 84 dostart exiting
org.apache.struts2.views.jsp.IfTag@739e8775 84 doend entering
org.apache.struts2.views.jsp.IfTag@739e8775 84 doend exiting
org.apache.struts2.views.jsp.IfTag@739e8775 84 release
org.apache.struts2.views.jsp.IfTag@739e8775 74 dostart entering
org.apache.struts2.views.jsp.IfTag@739e8775 74 dostart exiting
org.apache.struts2.views.jsp.IfTag@739e8775 74 doend entering
org.apache.struts2.views.jsp.IfTag@739e8775 74 doend exiting
org.apache.struts2.views.jsp.IfTag@739e8775 74 release
org.apache.struts2.views.jsp.IfTag@739e8775 75 dostart entering
org.apache.struts2.views.jsp.IfTag@739e8775 75 dostart exiting
org.apache.struts2.views.jsp.IfTag@739e8775 75 doend entering
org.apache.struts2.views.jsp.IfTag@739e8775 75 doend exiting
org.apache.struts2.views.jsp.IfTag@739e8775 79 dostart entering
org.apache.struts2.views.jsp.IfTag@739e8775 75 release  <---release of
thread 75 after start of 79

-- 
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 69379] HEAD request behavior change does no adhere to RFC 9110

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69379

--- Comment #3 from Remy Maucherat  ---
Can you give an example of the bad behavior you are seeing ? Like on which
resource, which request and what the response is ?

-- 
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 69382] Inefficient code generated for

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69382

--- Comment #3 from John Engebretson  ---
Created attachment 39914
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39914&action=edit
Demo patch

-- 
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 69382] Inefficient code generated for

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69382

--- Comment #4 from John Engebretson  ---
I've added a sample patch that does the following:

1. If the include contains zero params, no change
2. If the include contains 1+ params:
  a. Create a local variable, set to the evaluation of the url
  b. Create a local variable, set to the request encoding
  c. Substitute in the local variables as necessary


Post-change, this JSP snippet:


  
  


is translated into this Java:

  String _jspx_temp0_url = (java.lang.String)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${myPageName}",
java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context,
null);
  String _jspx_temp0_requestEncoding = request.getCharacterEncoding();
  org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response,
_jspx_temp0_url + ((_jspx_temp0_url).indexOf('?') > 0 ? '&': '?') +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("param1",
_jspx_temp0_requestEncoding)+ "=" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("1",
_jspx_temp0_requestEncoding) + "&" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("param2",
_jspx_temp0_requestEncoding)+ "=" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("2",
_jspx_temp0_requestEncoding), out, false);

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



Re: [PR] Tomcat-jdbc causes problem with graalvm [tomcat]

2024-10-23 Thread via GitHub


MartinLei closed pull request #722: Tomcat-jdbc causes problem with graalvm
URL: https://github.com/apache/tomcat/pull/722


-- 
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



[Bug 69409] New: Leather clothing for men and women

2024-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69409

Bug ID: 69409
   Summary: Leather clothing for men and women
   Product: Tomcat Native
   Version: unspecified
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Documentation
  Assignee: dev@tomcat.apache.org
  Reporter: mysteryevo...@gmail.com
  Target Milestone: ---

Fashion designers are much more than creators of clothing; they are cultural
influencers, business leaders, and problem solvers. Their work reflects the
values, aspirations, and concerns of society, while also pushing the boundaries
of creativity and innovation. As the fashion industry continues to evolve,
designers will play a crucial role in shaping its future, addressing challenges
like sustainability, inclusivity, and technological advancement. Their ability
to merge art with commerce, tradition with innovation, and creativity with
functionality ensures that fashion will remain a vital and dynamic part of our
world.

https://www.zippileather.com/women/skirt-dress/leather-dress-women

-- 
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