Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Bruno Melloni
Thanks, excellent set of links and information! * [2] is almost identical to what I "used to use" for Tomcat 8 and 10 log4j 2.x logging (the only real difference is the folder names I chose).   I am not sure when, but at some point this solution stopped working with Tomcat 10 (it still

Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Mark Thomas
On 10/03/2025 21:58, Piotr P. Karwasz wrote: If you are looking for instructions on how to replace Tomcat's default logging backend with Log4j Core, there is a dedicated section[2] in our new Integrating Log4j Core with Jakarta EE Guide[3] [2] https://logging.apache.org/log4j/2.x/jakarta.ht

Re: net::ERR_HTTP2_PROTOCOL_ERROR with 10.1.30

2025-03-11 Thread Boris Petrov
That's unfortunate. I haven't hit the issue in 9.0.102 but who knows - it just might be even rarer... On 3/11/25 11:41 AM, Ahmed Ashour wrote: The issue still persists with 11.0.5. Thanks,Ahmed On Friday, March 7, 2025 at 11:20:18 AM GMT+1, Boris Petrov wrote: I've been doing that

Re: net::ERR_HTTP2_PROTOCOL_ERROR with 10.1.30

2025-03-11 Thread Ahmed Ashour
The issue still persists with 11.0.5. Thanks,Ahmed On Friday, March 7, 2025 at 11:20:18 AM GMT+1, Boris Petrov wrote: I've been doing that for the past few hours. For now all looks good. I'll write here if I still see the problem - so hopefully you don't hear from me today! :D Thanks

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Jason Bailey
I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. Both have an entry like this: So does that mean the tomcat-users.xml file should be in a subdirectory named 'conf'? In other words, '/etc/tomcat9/conf/tomcat-users.xml'? Also, in /usr/share/tomcat9-admin/host-manager/WEB-

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Dimitris Soumis
On Tue, Mar 11, 2025 at 8:04 PM Jason Bailey wrote: > I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. > Both have an entry like this: > > type="org.apache.catalina.UserDatabase" >description="User database that can be updated and saved" >

Re: Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Piotr P. Karwasz
Hi Bruno, On 11.03.2025 15:50, Bruno Melloni wrote: Thanks, excellent set of links and information!  * [2] is almost identical to what I "used to use" for Tomcat 8 and 10    log4j 2.x logging (the only real difference is the folder names I    chose).   I am not sure when, but at some point this

Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Piotr P. Karwasz
Hi Mark, On 11.03.2025 09:46, Mark Thomas wrote: On 10/03/2025 21:58, Piotr P. Karwasz wrote: If you are looking for instructions on how to replace Tomcat's default logging backend with Log4j Core, there is a dedicated section[2] in our new Integrating Log4j Core with Jakarta EE Guide[3]

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Chuck Caldarale
> On 2025 Mar 11, at 12:54, Jason Bailey > wrote: > > I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. That seems wrong - there should not be two instances of the server.xml file. Looks like the Debian repackaging of Tomcat has done something silly. > Both have an entry

Re: Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Bruno Melloni
I found one more issue. When webapps load I got the error "*ERROR StatusLogger No configuration found for context '...'*."  that appears to indicate that those apps aren't actually loading the Tomcat log4j2-tomcat.xml configuration. The instructions I located are to ALSO include log4j-web-2.*