log4j-appserver module migration

2022-06-10 Thread Piotr P. Karwasz
Hello,

In the new major Log4j2 3.x version the Apache Logging Project is
looking for some better suited maintainers for 3rd party integration
plugins[1].

One of the plugins that is looking for a new home is
`log4j-appserver`[2]. It contains an implementation of Tomcat JULI and
of Jetty's internal logging system. However, since the migration of
Jetty to SLF4J2 in the 10.x series the latter will be discontinued.

It's a low-maintenance module, but if you were willing to accept into
the Tomcat codebase, I could help resolving any issues that might be
posted against it.

There are also a couple of Tomcat specific extensions that didn't end
up in Log4j (e.g. the PR logging-log4j2/#731 [3]), because the project
is already bloa^H^H^H^Hfull of features.
Other features can not even be implemented properly, without the
collaboration of the Tomcat project. For example I don't see any
solution that would allow a web application to:

1. contain `log4j-api` and `log4j-core` in the WAR file, so that it
can run properly in other servlet containers,
2. switch easily to another Log4j 2 API implementation, when running
under Tomcat. By easily I mean: without modification of the WAR file
(either physical or through a `Resources` context configuration) and
without changing the classloader delegation model.

Having access to the `org.apache.tomcat` package hierarchy (and the
automatic delegation to the common classloader it provides) on the
other hand, I could write a simple Log4j2 provider that delegates the
logging from the `log4j-api` copy included in the WAR file to a
`log4j-api` copy included in the server's classloader.

Piotr

[1] https://lists.apache.org/thread/3b4tn6t7zbhm66cw8yx8h8g26tyy50dj
[2] https://logging.apache.org/log4j/2.x/log4j-appserver/index.html
[3] https://github.com/apache/logging-log4j2/pull/731

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



Re: [VOTE] Release Apache Tomcat 10.0.22

2022-06-10 Thread jean-frederic clere

On 02/06/2022 19:11, Mark Thomas wrote:

[X] Stable - go ahead and release as 10.0.22 (stable)


Tested on fedora35 and rhel6 (with my own openssl/apr on rhel6).

Note 10.0.22 not 21!!!


--
Cheers

Jean-Frederic


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



[tomcat] branch 8.5.x updated: Silence new false positives

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 950b32d538 Silence new false positives
950b32d538 is described below

commit 950b32d538343feaa9d5838c57bbef35d07b8d48
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:39:33 2022 +0100

Silence new false positives
---
 res/spotbugs/filter-false-positives.xml | 12 
 1 file changed, 12 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 6aed8390e3..ece55e90cc 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -398,6 +398,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 
@@ -1433,6 +1439,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


-
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: Silence new false positives

2022-06-10 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 ff4c8d4466 Silence new false positives
ff4c8d4466 is described below

commit ff4c8d4466deeb19cbdc62895112c5e631906001
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:39:33 2022 +0100

Silence new false positives
---
 res/spotbugs/filter-false-positives.xml | 12 
 1 file changed, 12 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 48d72181f6..3021a10956 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -404,6 +404,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 
@@ -1484,6 +1490,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] branch 10.0.x updated: Silence new false positives

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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
 new dab3570ed9 Silence new false positives
dab3570ed9 is described below

commit dab3570ed9de2c858ddbb97818a3965827b21441
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:39:33 2022 +0100

Silence new false positives
---
 res/spotbugs/filter-false-positives.xml | 12 
 1 file changed, 12 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 1098c3b0d5..3377c8596e 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -401,6 +401,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 
@@ -1462,6 +1468,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] branch main updated: Silence new false positives

2022-06-10 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 ae50fbcf70 Silence new false positives
ae50fbcf70 is described below

commit ae50fbcf70740f0d54cb4e96e66e1d5952e4a364
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:39:33 2022 +0100

Silence new false positives
---
 res/spotbugs/filter-false-positives.xml | 12 
 1 file changed, 12 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 85ca2a707a..ef68d4b4bb 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -395,6 +395,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 
@@ -1419,6 +1425,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] branch 8.5.x updated: Fix SpotBugs warning. setLastMofified() failure is an error

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 6c4944b362 Fix SpotBugs warning. setLastMofified() failure is an error
6c4944b362 is described below

commit 6c4944b362896c18f82092251ec0b47f36efd9ad
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:36:56 2022 +0100

Fix SpotBugs warning. setLastMofified() failure is an error
---
 java/org/apache/tomcat/buildutil/RepeatableArchive.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/buildutil/RepeatableArchive.java 
b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
index cff4ea6da5..e17700041e 100644
--- a/java/org/apache/tomcat/buildutil/RepeatableArchive.java
+++ b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
@@ -120,7 +120,9 @@ public class RepeatableArchive extends Task {
 }
 }
 
-archive.setLastModified(lastModified.toMillis());
+if (!archive.setLastModified(lastModified.toMillis())) {
+throw new BuildException("setLastModified failed for 
[" + archive.getAbsolutePath() + "]");
+}
 Files.delete(oldArchive.toPath());
 } catch (IOException ioe) {
 throw new BuildException(ioe);


-
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 SpotBugs warning. setLastMofified() failure is an error

2022-06-10 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 15d62c19b0 Fix SpotBugs warning. setLastMofified() failure is an error
15d62c19b0 is described below

commit 15d62c19b037e847751b3d44acc8a270dc01df43
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:36:56 2022 +0100

Fix SpotBugs warning. setLastMofified() failure is an error
---
 java/org/apache/tomcat/buildutil/RepeatableArchive.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/buildutil/RepeatableArchive.java 
b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
index 1348ee64c9..a6442f8138 100644
--- a/java/org/apache/tomcat/buildutil/RepeatableArchive.java
+++ b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
@@ -120,7 +120,9 @@ public class RepeatableArchive extends Task {
 }
 }
 
-archive.setLastModified(lastModified.toMillis());
+if (!archive.setLastModified(lastModified.toMillis())) {
+throw new BuildException("setLastModified failed for 
[" + archive.getAbsolutePath() + "]");
+}
 Files.delete(oldArchive.toPath());
 } catch (IOException ioe) {
 throw new BuildException(ioe);


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



[tomcat] branch 10.0.x updated: Fix SpotBugs warning. setLastMofified() failure is an error

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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
 new b41344277c Fix SpotBugs warning. setLastMofified() failure is an error
b41344277c is described below

commit b41344277cddf3b6ee69223f9c94dc51be1d69a1
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:36:56 2022 +0100

Fix SpotBugs warning. setLastMofified() failure is an error
---
 java/org/apache/tomcat/buildutil/RepeatableArchive.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/buildutil/RepeatableArchive.java 
b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
index 1348ee64c9..a6442f8138 100644
--- a/java/org/apache/tomcat/buildutil/RepeatableArchive.java
+++ b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
@@ -120,7 +120,9 @@ public class RepeatableArchive extends Task {
 }
 }
 
-archive.setLastModified(lastModified.toMillis());
+if (!archive.setLastModified(lastModified.toMillis())) {
+throw new BuildException("setLastModified failed for 
[" + archive.getAbsolutePath() + "]");
+}
 Files.delete(oldArchive.toPath());
 } catch (IOException ioe) {
 throw new BuildException(ioe);


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



[tomcat] branch main updated: Fix SpotBugs warning. setLastMofified() failure is an error

2022-06-10 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 4ed41b49a4 Fix SpotBugs warning. setLastMofified() failure is an error
4ed41b49a4 is described below

commit 4ed41b49a4e6506ec30eaae6d96be008c6606572
Author: Mark Thomas 
AuthorDate: Fri Jun 10 13:36:56 2022 +0100

Fix SpotBugs warning. setLastMofified() failure is an error
---
 java/org/apache/tomcat/buildutil/RepeatableArchive.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/buildutil/RepeatableArchive.java 
b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
index 1348ee64c9..a6442f8138 100644
--- a/java/org/apache/tomcat/buildutil/RepeatableArchive.java
+++ b/java/org/apache/tomcat/buildutil/RepeatableArchive.java
@@ -120,7 +120,9 @@ public class RepeatableArchive extends Task {
 }
 }
 
-archive.setLastModified(lastModified.toMillis());
+if (!archive.setLastModified(lastModified.toMillis())) {
+throw new BuildException("setLastModified failed for 
[" + archive.getAbsolutePath() + "]");
+}
 Files.delete(oldArchive.toPath());
 } catch (IOException ioe) {
 throw new BuildException(ioe);


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



[jira] [Updated] (MTOMCAT-330) Tomcat 6.x/8.x is not able to recompile JSP pages without JDK

2022-06-10 Thread Pavan Kumar Tiruvaipati (Jira)


 [ 
https://issues.apache.org/jira/browse/MTOMCAT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan Kumar Tiruvaipati updated MTOMCAT-330:

Description: 
Our application is running on Tomcat 6.0.45.

Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 

Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 

It's not able to recompile JSP pages without JDK.

We upgraded tomcat version to 8.5 and followed the below link to configure the 
JSP compiler.

[https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]

it's still not working. 

Does tomcat require JDK to compile JSP pages ? 

  was:
Our application is running on Tomcat 6.0.45.

Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 

Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 

It's not able to recompile JSP pages. 

We upgraded tomcat version to 8.5 and followed the below link to configure the 
JSP compiler.

[https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]

it's still not working. 

Does tomcat require JDK to compile JSP pages ? 


> Tomcat 6.x/8.x is not able to recompile JSP pages without JDK
> -
>
> Key: MTOMCAT-330
> URL: https://issues.apache.org/jira/browse/MTOMCAT-330
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Bug
>Reporter: Pavan Kumar Tiruvaipati
>Priority: Major
>
> Our application is running on Tomcat 6.0.45.
> Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 
> Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 
> It's not able to recompile JSP pages without JDK.
> We upgraded tomcat version to 8.5 and followed the below link to configure 
> the JSP compiler.
> [https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]
> it's still not working. 
> Does tomcat require JDK to compile JSP pages ? 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Updated] (MTOMCAT-330) Tomcat 6.x/8.x is not able to recompile JSP pages without JDK

2022-06-10 Thread Pavan Kumar Tiruvaipati (Jira)


 [ 
https://issues.apache.org/jira/browse/MTOMCAT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan Kumar Tiruvaipati updated MTOMCAT-330:

Summary: Tomcat 6.x/8.x is not able to recompile JSP pages without JDK  
(was: Tomcat 6.0.45 is not able to recompile JSP pages)

> Tomcat 6.x/8.x is not able to recompile JSP pages without JDK
> -
>
> Key: MTOMCAT-330
> URL: https://issues.apache.org/jira/browse/MTOMCAT-330
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Bug
>Reporter: Pavan Kumar Tiruvaipati
>Priority: Major
>
> Our application is running on Tomcat 6.0.45.
> Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 
> Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 
> It's not able to recompile JSP pages. 
> We upgraded tomcat version to 8.5 and followed the below link to configure 
> the JSP compiler.
> [https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]
> it's still not working. 
> Does tomcat require JDK to compile JSP pages ? 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Updated] (MTOMCAT-330) Tomcat 6.0.45 is not able to recompile JSP pages

2022-06-10 Thread Pavan Kumar Tiruvaipati (Jira)


 [ 
https://issues.apache.org/jira/browse/MTOMCAT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan Kumar Tiruvaipati updated MTOMCAT-330:

Description: 
Our application is running on Tomcat 6.0.45.

Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 

Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 

It's not able to recompile JSP pages. 

We upgraded tomcat version to 8.5 and followed the below link to configure the 
JSP compiler.

[https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]

it's still not working. 

Does tomcat require JDK to compile JSP pages ? 

  was:
Our application is running on Tomcat 6.0.45.

Due to security reasons, we are replacing JDK with JRE 1.8. 

Tomcat is bundled with ecj-4.3.1.jar. 

It's still not able to recompile JSP pages. 

We upgraded tomcat version to 8.5 and followed the below link to configure the 
JSP compiler.

[https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]

it's still not working. 

Does tomcat require JDK to compile JSP pages ? 


> Tomcat 6.0.45 is not able to recompile JSP pages
> 
>
> Key: MTOMCAT-330
> URL: https://issues.apache.org/jira/browse/MTOMCAT-330
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Bug
>Reporter: Pavan Kumar Tiruvaipati
>Priority: Major
>
> Our application is running on Tomcat 6.0.45.
> Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. 
> Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. 
> It's not able to recompile JSP pages. 
> We upgraded tomcat version to 8.5 and followed the below link to configure 
> the JSP compiler.
> [https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]
> it's still not working. 
> Does tomcat require JDK to compile JSP pages ? 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Created] (MTOMCAT-330) Tomcat 6.0.45 is not able to recompile JSP pages

2022-06-10 Thread Pavan Kumar Tiruvaipati (Jira)
Pavan Kumar Tiruvaipati created MTOMCAT-330:
---

 Summary: Tomcat 6.0.45 is not able to recompile JSP pages
 Key: MTOMCAT-330
 URL: https://issues.apache.org/jira/browse/MTOMCAT-330
 Project: Apache Tomcat Maven Plugin
  Issue Type: Bug
Reporter: Pavan Kumar Tiruvaipati


Our application is running on Tomcat 6.0.45.

Due to security reasons, we are replacing JDK with JRE 1.8. 

Tomcat is bundled with ecj-4.3.1.jar. 

It's still not able to recompile JSP pages. 

We upgraded tomcat version to 8.5 and followed the below link to configure the 
JSP compiler.

[https://tomcat.apache.org/tomcat-8.5-doc/jasper-howto.html]

it's still not working. 

Does tomcat require JDK to compile JSP pages ? 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



Open votes

2022-06-10 Thread Mark Thomas

All,

The following release votes are currently open without sufficient votes 
to release. If you are able to find the time to review on of the release 
and vote that would be a big help.


Tomcat Native 1.2.34
Open for 3 days
Currently has 2 binding +1 votes

Tomcat 10.0.22
Open for 8 days
Currently has 2 binding and 1 non-binding +1 votes


Thanks,

Mark

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



Re: [VOTE] Release Apache Tomcat 8.5.81

2022-06-10 Thread Mark Thomas

On 08/06/2022 23:01, Christopher Schultz wrote:

The proposed 8.5.81 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 8.5.81 (stable)


Unit tests pass on Linux, Windows and MacOS

Mark

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