Re: RHEL 10 Compatibility for Apache Tomcat 8.x, 9.x, 10.x, and 11.x

2025-07-16 Thread Coty Sutherland
issue. On Tue, Jul 15, 2025 at 4:16 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Bharath, > > On 7/15/25 3:11 AM, Cheruku, B.R. (Bharath) wrote: > > Thank you for your detailed response and the helpful information > > regarding Tomcat on RHEL 10. > &

Re: RHEL 10 Compatibility for Apache Tomcat 8.x, 9.x, 10.x, and 11.x

2025-07-15 Thread Christopher Schultz
Bharath, On 7/15/25 3:11 AM, Cheruku, B.R. (Bharath) wrote: Thank you for your detailed response and the helpful information regarding Tomcat on RHEL 10. As a follow-up, do you or anyone in the community have similar insights or recommendations regarding running Apache HTTPD (httpd) on RHEL 10

Re: RHEL 10 Compatibility for Apache Tomcat 8.x, 9.x, 10.x, and 11.x

2025-07-15 Thread Cheruku, B.R. (Bharath)
Hi Chris, Thank you for your detailed response and the helpful information regarding Tomcat on RHEL 10. As a follow-up, do you or anyone in the community have similar insights or recommendations regarding running Apache HTTPD (httpd) on RHEL 10? Are there any known issues, limitations, or

Re: RHEL 10 Compatibility for Apache Tomcat 8.x, 9.x, 10.x, and 11.x

2025-07-14 Thread Christopher Schultz
versions on RHEL 10? The Tomcat PMC contains quite a few employees of Red Hat and I believe it is their priority to ensure that Tomcat works well across all their various versions. If you download Tomcat from the ASF, you'll get a tarball containing the servlet container and you supply you

RHEL 10 Compatibility for Apache Tomcat 8.x, 9.x, 10.x, and 11.x

2025-07-14 Thread Cheruku, B.R. (Bharath)
Haarlerbergweg 21 A-G - 23 A-G 1101 CH Amsterdam ZO, The Netherlands M +31 6 136 46 450 E bharath.cher...@ing.com<mailto:bharath.cher...@ing.com> - ATTENTION: The information in this e-mail is confidential and only meant for the in

Re: TLS 1.3 and post handshake authentication (PHA)

2025-06-19 Thread Amit Pande
Thank you Mark for the clarification. Thanks, Amit From: Mark Thomas Sent: Friday, June 13, 2025 12:57 PM To: users@tomcat.apache.org Subject: Re: TLS 1.3 and post handshake authentication (PHA) On 13/06/2025 18:26, Amit Pande wrote: > Hello, > > W

Re: TLS 1.3 and post handshake authentication (PHA)

2025-06-13 Thread Mark Thomas
On 13/06/2025 18:26, Amit Pande wrote: Hello, When using "protocols" TLSv1.3 in SSLHostConfig with HTTP 1.1 protocol (Http11NioProtocol or Http11Nio2Protocol ) and certificateVerification=optional, we see below warning in logs: 13-Jun-2025 11:42:58.453 WARNING [catal

TLS 1.3 and post handshake authentication (PHA)

2025-06-13 Thread Amit Pande
Hello, When using "protocols" TLSv1.3 in SSLHostConfig with HTTP 1.1 protocol (Http11NioProtocol or Http11Nio2Protocol ) and certificateVerification=optional, we see below warning in logs: 13-Jun-2025 11:42:58.453 WARNING [catalina-exec-1] org.apache.tomcat.util.net.SSLUtilBase

TLS 1.3 and post handshake authentication (PHA)

2025-06-13 Thread Amit Pande
Hello, When using "protocols" TLSv1.3 in SSLHostConfig with HTTP 1.1 protocol (Http11NioProtocol or Http11Nio2Protocol ) and certificateVerification=optional, we see below warning in logs: 13-Jun-2025 11:42:58.453 WARNING [catalina-exec-1] org.apache.tomcat.util.net.SSLUtilBase

Re: Certificates and keystores. I think I may have asked this before.

2025-06-10 Thread Brian Wolfe
industry standard is to use pkcs12 keystores. You can create them with kse and are functionally the same. You just specify the type when you create the keystore config on the connector On Tue, Jun 10, 2025 at 11:51 AM James H. H. Lampert wrote: > On 6/10/25 6:33 AM, Christopher Schultz wr

Re: Certificates and keystores. I think I may have asked this before.

2025-06-10 Thread James H. H. Lampert
On 6/10/25 6:33 AM, Christopher Schultz wrote: A Java Keystore file is just a container for one or more keys and/or certificates. You should have no problem *using* the certificate and key. You may have to do some tricks to convert from one format into another, and/or to import those things

Re: Certificates and keystores. I think I may have asked this before.

2025-06-10 Thread Christopher Schultz
wanting to use a wildcard cert that's most likely in a different form (I don't know exactly *what* form; the whole issue came up while I was on vacation). What's the best way to deal with this? A Java Keystore file is just a container for one or more keys and/or certificates.

RE: [EXT]Certificates and keystores. I think I may have asked this before.

2025-06-09 Thread Rick Noel
: [EXT]Certificates and keystores. I think I may have asked this before. Our customer Tomcat installations are, without exception, set up to use a Java Keystore file (mainly because that appeared to be the only option back when we started setting them up) I think this has come up before, but we have

Certificates and keystores. I think I may have asked this before.

2025-06-09 Thread James H. H. Lampert
Our customer Tomcat installations are, without exception, set up to use a Java Keystore file (mainly because that appeared to be the only option back when we started setting them up) I think this has come up before, but we have a customer wanting to use a wildcard cert that's most likely in a

Re: Consolidating and harmonizing users from multiple realms

2025-05-30 Thread Michael Osipov
what degree it would make sense to add code to > > the > > Tomcat codebase for the common good: > > > > I have a realm impl called MyRealm which sources from "store A", is has > > roles > > (groups) in a specific format and user attributes. It return

Re: Consolidating and harmonizing users from multiple realms

2025-05-28 Thread Christopher Schultz
which sources from "store A", is has roles (groups) in a specific format and user attributes. It returns MyPrincipal. Consider you have a webapp which has logical roles "user", "editor", "admin", etc. and also uses those specific attributes. The webapp contex

Consolidating and harmonizing users from multiple realms

2025-05-26 Thread Michael Osipov
groups) in a specific format and user attributes. It returns MyPrincipal. Consider you have a webapp which has logical roles "user", "editor", "admin", etc. and also uses those specific attributes. The webapp context maps the roles from "store A" into the log

Re: multipart and Apache Tomcat 11

2025-05-13 Thread Ernesto Reinaldo Barreiro
Hi Cris, Thanks again for your answer. I have "partially" solved our problems by avoiding wicket calls to getPortParameters (in wicket and in our application). See... https://issues.apache.org/jira/browse/WICKET-7154. Thus, I was able to get our application running with Wicket 10.6.

Re: multipart and Apache Tomcat 11

2025-05-06 Thread Ernesto Reinaldo Barreiro
; processing is broken). >> > >> > Apache wicket 10.x uses fileupload2.jakarta.servlet5 thus I create a >> branch >> > using fileupload2.jakarta.servlet6 ( >> > >> https://mvnrepository.com/artifact/org.apache.commons/commons-fileupload2-jakarta-serv

Re: multipart and Apache Tomcat 11

2025-05-02 Thread Ernesto Reinaldo Barreiro
anch > > using fileupload2.jakarta.servlet6 ( > > > https://mvnrepository.com/artifact/org.apache.commons/commons-fileupload2-jakarta-servlet6/2.0.0-M2 > ) > > thinking that might be the problem... But after some debugging the > problem > > seems to be in Http11InputBuffer

Re: multipart and Apache Tomcat 11

2025-05-02 Thread Christopher Schultz
seems to be in Http11InputBuffer and related classes (it seems the whole package is very different from 10.x branch) or the way fileupload2 is using them. Has anyone experienced any similar problems? Are you able to package a simple test-case for this? Does Wicket handle its own multipart logic

Re: [EXT]multipart and Apache Tomcat 11

2025-05-02 Thread Ernesto Reinaldo Barreiro
eral framework using https://mvnrepository.com/artifact/org.apache.commons/commons-fileupload2-jakarta-servlet6/2.0.0-M2 in order to read parameters and files from multipart requests. Thus, our problem boils down to some changes in how underline classes work in particular Http11InputBuffer and IdentityInputFilte

RE: [EXT]multipart and Apache Tomcat 11

2025-05-02 Thread Rick Noel
uploadfile /record/process/captureandconfirm.vpp Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Ernesto Reinaldo Barreiro Sent: Thursday, May 1, 2025 8:51 PM To: users@tomcat.apache.org Subject: [EXT]multipart and Apache Tomcat 11

multipart and Apache Tomcat 11

2025-05-01 Thread Ernesto Reinaldo Barreiro
.jakarta.servlet5 thus I create a branch using fileupload2.jakarta.servlet6 ( https://mvnrepository.com/artifact/org.apache.commons/commons-fileupload2-jakarta-servlet6/2.0.0-M2) thinking that might be the problem... But after some debugging the problem seems to be in Http11InputBuffer and related classes (it

Re: tomcat9 - Connection refused/closed and parse error

2025-04-28 Thread Christopher Schultz
Ramesh, On 4/28/25 7:00 AM, Ramesh B R wrote: The application hosted on tomcat9 exposes soap api which is consumed by SAP. On a daily basis we are getting 200 thousands transactions and out of that we could see around 1000 to 2000 failed transactions due to CONNECTION REFUSED, CONNECTION CLOSED

tomcat9 - Connection refused/closed and parse error

2025-04-28 Thread Ramesh B R
Hell all, The application hosted on tomcat9 exposes soap api which is consumed by SAP. On a daily basis we are getting 200 thousands transactions and out of that we could see around 1000 to 2000 failed transactions due to CONNECTION REFUSED, CONNECTION CLOSED and PARSE ERROR. The application is

Re: About whether the described env is safe from CVE 2024-50379 and 56337

2025-04-16 Thread Mark Thomas
question is if we install our Tomcat 9.0.97 (or lower version) on Windows OS (Case Insensitive), and the default value of DefaultServlet Write Enabled is FALSE (Since readonly parameter is not touched) Then I should not be concerned about the CVE since its first and foremost important condition is

About whether the described env is safe from CVE 2024-50379 and 56337

2025-04-16 Thread Nguyen Duong
(or lower version) on Windows OS (Case Insensitive), and the default value of DefaultServlet Write Enabled is FALSE (Since readonly parameter is not touched) Then I should not be concerned about the CVE since its first and foremost important condition is below right? > If the default servlet

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-09 Thread Mark Thomas
On 08/04/2025 00:27, Tim N wrote: Thanks for clarifying that. Does BackupManager support auto-scaling Yes, if you use a cluster membership mechanism that allows that. and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? Yes, but you need to trigge

Re: EOL timeline for tomcat 9 and 10.1

2025-04-09 Thread Mark Thomas
/ Jakarta EE 12 and there does seem to be a desire within the Jakarta EE project for a faster release cadence. It remains to be seen how that translates into Tomcat releases but - as always - the community will be involved in - and have full visibility of - any discussions. Mark On Tue, 8

Re: EOL timeline for tomcat 9 and 10.1

2025-04-08 Thread Aniket Pachpute
No Plans. Please See: https://lists.apache.org/thread/qlzpscgoqct9wspkj5qjkm34s66jswj0 On Tue, 8 Apr 2025 at 2:05 PM, Vishwas Bm wrote: > Hi, > > I was looking at the EOL page for tomcat https://endoflife.date/tomcat > but > couldn't get information related to EOL dates f

EOL timeline for tomcat 9 and 10.1

2025-04-08 Thread Vishwas Bm
Hi, I was looking at the EOL page for tomcat https://endoflife.date/tomcat but couldn't get information related to EOL dates for tomcat 9 and 10.1. With tomcat11 available now, may I know till what date tomcat 9.0 and Tomcat 10.1 will be supported ? Is there any specific dates already pl

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-07 Thread Tim N
Thanks for clarifying that. Does BackupManager support auto-scaling and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? If the backup node is restarted...the backup is lost isn't it? On Fri, Apr 4, 2025 at 8:23 PM Mark Thomas wrote: > On 04/

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-04 Thread Mark Thomas
move to? Redis? Any idea how cluster farming compares with redis? What other options are there? I may be misreading the documentation, but I think the 4-node restriction applies to the DeltaManager, and using the BackupManager removes the limitation. Chuck is correct. The issue with the Delt

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread Chuck Caldarale
lest free cluster to > move to? Redis? Any idea how cluster farming compares with redis? > > What other options are there? I may be misreading the documentation, but I think the 4-node restriction applies to the DeltaMan

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread r . barclay
n: "Tim N" > An: "Tomcat Users List" > Betreff: Tomcat Clustering Roadmap And Max Node Limit > > For a long time up to the latest version 11 documentation, there has been a > recommended maximum limit of 4 nodes per cluster. > > https://tomcat.apache.org/t

Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread Tim N
For a long time up to the latest version 11 documentation, there has been a recommended maximum limit of 4 nodes per cluster. https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html "This works great for smaller clusters, but we don't recommend it for larger clusters — more than 4 nodes or so

Re: [SECURITY] CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT

2025-03-12 Thread Christopher Schultz
Darryl, On 3/12/25 1:23 PM, Darryl Baker wrote: For us the CVSS score is a way to determine how deeply to investigate and more importantly to describe the criticality to management in a way they understand. If you haven't changed the default configuration for the DefaultServlet from rea

Re: [SECURITY] CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT

2025-03-12 Thread Darryl Baker
For us the CVSS score is a way to determine how deeply to investigate and more importantly to describe the criticality to management in a way they understand. Darryl Baker, GSEC, GCLD (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 4th

Re: [SECURITY] CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT

2025-03-12 Thread Mark Thomas
On 12/03/2025 14:01, Darryl Baker wrote: Does this have a CVE score yet? We don't provide CVSS scores as we don't believe they provide any value (they are too subjective and don't allow for the individual circumstances of any deployment). It is far too easy for a vulnerabil

Re: [SECURITY] CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT

2025-03-12 Thread Darryl Baker
(847) 467-6674 On 3/10/25, 11:38 AM, "Mark Thomas" mailto:ma...@apache.org>> wrote: CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT Severity: Important Vendor: The Apache Software Foundation Versions Affected: A

[SECURITY] CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT

2025-03-10 Thread Mark Thomas
CVE-2025-24813 Potential RCE and/or information disclosure and/or information corruption with partial PUT Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.2 Apache Tomcat 10.1.0-M1 to 10.1.34 Apache Tomcat 9.0.0.M1 to 9.0.98

Re: Async servlet and request recycle synchronization

2025-03-06 Thread Mark Thomas
clarity. If something goes wrong (timeout, client drops the connection etc) then what should happen is that the write throws an exception or isReady() returns false, the application stops writing to the response at that point, Tomcat starts the error handling process and (eventually) the ap

Re: Async servlet and request recycle synchronization

2025-03-05 Thread François Rajotte
e coordinator, but I must still wait for the "all clear" response. Otherwise, as soon as the onComplete method returns, the container tomcat can (and will!) recycle the HTTP request/response objects that the non-container thread may still be referencing/using. If the non-container thread isn&#x

Re: Async servlet and request recycle synchronization

2025-03-04 Thread Christopher Schultz
accessing HttpServletRequest and HttpServletResponse objects that tomcat has recycled. The theory I'm working with is that: The servlet is accessing the HttpServletRequest and HttpServletResponse objects from non-container threads. For example, we can assume that an asynchronous operation has completed on som

Async servlet and request recycle synchronization

2025-03-04 Thread François Rajotte
Hi, I'm looking for advice on how to properly synchronize asynchronous servlets that use the Java servlet 3.0 async APIs. Especially, I'm trying to avoid having the servlet experience IllegalStateExceptions when accessing HttpServletRequest and HttpServletResponse objects that

Re: [OT] tomcat and linux oom-killer

2025-02-18 Thread Christopher Schultz
Азат, On 2/15/25 4:36 PM, Усманов Азат Анварович wrote: Hi everyone! I'm not sure if this is an appropriate place to ask, but here is my Problem I have an old oracle 10g server with 2 schemas/sid, moon and moonutf8. tomcat is also installed as a webserver on the same physical server .

Re: Ответить: tomcat and linux oom-killer

2025-02-16 Thread Dimitris Soumis
l" testWhileIdle="true" > testOnReturn="true" accessToUnderlyingConnectionAllowed="true" >removeAbandoned="true" removeAbandonedTimeout="3600" >logAbandoned="true" factory="org.apache.tomcat.jdbc.p

Ответить: tomcat and linux oom-killer

2025-02-15 Thread Усманов Азат Анварович
Jdbc config from server От: Усманов Азат Анварович Отправлено: 16 февраля 2025 г. 0:36 Кому: users@tomcat.apache.org Тема: tomcat and linux oom-killer Hi everyone! I'm not sure if this is an appropriate place to ask, but here is my Problem I have an old o

tomcat and linux oom-killer

2025-02-15 Thread Усманов Азат Анварович
Hi everyone! I'm not sure if this is an appropriate place to ask, but here is my Problem I have an old oracle 10g server with 2 schemas/sid, moon and moonutf8. tomcat is also installed as a webserver on the same physical server . 1-st schema moon - has oldjava app and old tomcat 7.092

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-11 Thread Christopher Schultz
Abirami, On 2/10/25 6:14 AM, S Abirami wrote: We are deploying webservices SOAP using embedded tomcat. It worked fine with JDK 8 & tomcat 10. After upgrading to JDK 17 with tomcat 11, webservices generate source failed first then I utilized Metrowebservices and Jax-ws related jars to s

RE: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread S Abirami
Hi Remm, We are deploying webservices SOAP using embedded tomcat. It worked fine with JDK 8 & tomcat 10. After upgrading to JDK 17 with tomcat 11, webservices generate source failed first then I utilized Metrowebservices and Jax-ws related jars to solve the issue. I heard there are lot of

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread Rémy Maucherat
On Mon, Feb 10, 2025 at 11:41 AM S Abirami wrote: > > Hi Remm, > > Our application uses both standalone and Embedded Tomcat. Hence pointing all > the Standalone jars as the class path for Embedded tomcat also. > In which jar it will be available in standalone. > &

RE: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread S Abirami
Hi Remm, Our application uses both standalone and Embedded Tomcat. Hence pointing all the Standalone jars as the class path for Embedded tomcat also. In which jar it will be available in standalone. Regards, Abirami.S -Original Message- From: Rémy Maucherat Sent: Monday, February 10

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread Rémy Maucherat
On Mon, Feb 10, 2025 at 10:46 AM S Abirami wrote: > > Hi , > > I am using a embedded tomcat while the below mentioned exception is thrown > when starting the Embedded tomcat server when upgrading > To Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 This is debug

Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread S Abirami
Hi , I am using a embedded tomcat while the below mentioned exception is thrown when starting the Embedded tomcat server when upgrading To Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 Time: 2025-02-10 10:27:41.415, Level: FINE, Logger: org.apache.tomcat.util.compat.Jre19Co

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-03 Thread Mark Thomas
On 03/02/2025 09:24, Rémy Maucherat wrote: On Mon, Feb 3, 2025 at 3:38 AM Tim N wrote: I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps 1 - Download and unzip Tomcat 10.1.34 2 - Create file "webapps/ROOT/include.jsp" with contents "I've

Re: RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-03 Thread Rémy Maucherat
On Mon, Feb 3, 2025 at 3:38 AM Tim N wrote: > > I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps > > 1 - Download and unzip Tomcat 10.1.34 > 2 - Create file "webapps/ROOT/include.jsp" with contents "I've been > included!"

RE: RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-02 Thread Tim N
I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps 1 - Download and unzip Tomcat 10.1.34 2 - Create file "webapps/ROOT/include.jsp" with contents "I've been included!" 3 - Edit "webapps/ROOT/index.jsp" adding the following code at

RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-02 Thread Tim N
Just an update...I eliminated the tiles and spring:theme code, and still get the error by putting the same large content in the page with ". Again, this is resolved by increasing the buffer size. I've also noticed the response is marked as committed with the large output before the &q

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Tim N
Yep. I also checked that, so I'm not sure where the problem could be either. > Please provide a ready to use test case. That will be time-consuming, but I'll see what I can do. If you can think of any check I can do with the existing code, that would be great (and possibly e

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Tim N
It is a stack-trace generated from a break-point that I thought might be useful. On Thu, Jan 30, 2025 at 12:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Tim, > > Your original post says there is no error, so what exactly is this a > stack-trace OF? > > -chris > > On 1/28/25

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Rémy Maucherat
On Wed, Jan 29, 2025 at 5:45 AM Tim N wrote: > > I'm including the stack-trace in case that's helpful There are no differences in JspWriterImpl between 9.0 and the current Tomcat 11 or 12 trunk. The buffer of the writer will auto flush by default if it is full. This is the &q

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Christopher Schultz
Tim, Your original post says there is no error, so what exactly is this a stack-trace OF? -chris On 1/28/25 11:43 PM, Tim N wrote: I'm including the stack-trace in case that's helpful Note references to tiles is for the Jakarta EE upgraded tiles at https://github.com/tntim96/tiles/tree/jaka

RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-28 Thread Tim N
I'm including the stack-trace in case that's helpful Note references to tiles is for the Jakarta EE upgraded tiles at https://github.com/tntim96/tiles/tree/jakarta-upgrade writeMessage:385, MessageTag (org.springframework.web.servlet.tags) doEndTag:285, MessageTag (org.springframework.web.servlet

JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-28 Thread Tim N
I am migrating from SpringBoot 2.7.18 to 3.0.13 with the accompanying migration from Tomcat 9.0.83 to 10.1.16. I am trying to render a large message, around 8kB. In Tomcat 9, the content renders correctly, In Tomcat 10 the content doesn't render at all, and there's no error message. I

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-24 Thread Michael
t; Fixing one thing just makes the next one easier to see. Do let us know > how you get on once the NPE issue is out of the picture. Thanks a lot for the fix! As far as I can tell, it is somehow equivalent to the way I've handle the NPE in the application code (we now catch the NPE and handle

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread Mark Thomas
On 24/01/2025 09:45, anand raj wrote: Hi all, is memory leak detection not optional ? Memory leak prevention and detection is optional but enabled by default. Also does adding --add-opens pose any security risk or concern ? That would be for you to judge given your environment. Mark

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread anand raj
Hi all, is memory leak detection not optional ? Also does adding --add-opens pose any security risk or concern ? On Thu, 23 Jan, 2025, 8:25 pm Mark Thomas, wrote: > On 23/01/2025 14:42, anand raj wrote: > > Hi all, > > > > In Tomcat 10 there is --add-opens added defau

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-23 Thread Mark Thomas
issue in my IDE. The NPE is a Tomcat bug which will be fixed shortly and the fix included in the next round of releases. Now, the next thing that happens is even more surprising to me. Sometimes the uncaught NPE triggers an HTTP 500 response on a request to a servlet in application B! This I&#x

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-23 Thread Mark Thomas
On 23/01/2025 14:42, anand raj wrote: Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these. Yes. Also document information on what all are accessed which requires these will be helpful. Generally to implement the memory leak detection

Tomcat 10 usage and necessity of --add-opens

2025-01-23 Thread anand raj
Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these .Also document information on what all are accessed which requires these will be helpful. Thanks, ANANDARAJ N

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-23 Thread Mark Thomas
On 17/01/2025 10:05, Michael wrote: I have two applications, A and B, running in Tomcat 10.1.28 on RHEL 8.10 with Java 21 (OpenJDK Runtime Environment Red_Hat-21.0.5.0.10-1). Application uses an AsyncContext and SSE to send messages back to an application running in a Chrome browser. Sometimes I

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-23 Thread Mark Thomas
;m no expert in this :-) Also, it seems that the error is sporadic in this log and logs from other tests. I looked up some of the other tests where this happens. A recent example (from a 10.1.35-dev version) is this one: 07-Jan-2025 12:30:28.836 INFO [testBug54928] org.apache.catalina.connector.Te

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-22 Thread Chuck Caldarale
t;> >> Okay, that sounds plausible. >> It surprises me, though, that it's okay to provoke a NPE from the >> application code, but again, I'm no expert in this :-) Exceptions are frequently used when an application violates the behavior that the spec requires. &g

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-21 Thread Christopher Schultz
in, I'm no expert in this :-) Also, it seems that the error is sporadic in this log and logs from other tests. I looked up some of the other tests where this happens. A recent example (from a 10.1.35-dev version) is this one: 07-Jan-2025 12:30:28.836 INF

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-21 Thread Christopher Schultz
is to your configuration in development and pounding on it again: discardFacades="true" This ought to be the default, but ... just in case. Are you able to reduce the test case to something you could share with the Tomcat dev team? I know that's a big ask, but the other option is to e

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-20 Thread Michael
provoke a NPE from the > application code, but again, I'm no expert in this :-) > Also, it seems that the error is sporadic in this log and logs from other > tests. I looked up some of the other tests where this happens. A recent example (from a 10.1.35-dev version) is this one: 07

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Michael
Hi Chris, > > Yes, there's only the HTTP connector on port 8080. There's a load > > balancer in front of this that handles HTTPS. > > If you connect the client directly to Tomcat, are you still able to > reproduce the errors? I have only seen the NPE thrown from CoyoteOutputStream.flush() in prod

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Christopher Schultz
Michael, On 1/17/25 4:21 PM, Michael wrote: This sounds suspiciously like the application is keeping references to requests or responses that have already been committed and recycled. Can you post your configuration? In particular, what are the settings for the discardFacades and

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Michael
> >> This sounds suspiciously like the application is keeping references to > >> requests or responses that have already been committed and recycled. Can > >> you post your configuration? In particular, what are the > >> settings for the discardFac

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Chuck Caldarale
> On Jan 17, 2025, at 12:45, Michael wrote: > > Thanks a lot for your comments, Chuck! > > On Fri, Jan 17, 2025 at 3:51 PM Chuck Caldarale wrote: >> >> >>> On Jan 17, 2025, at 04:05, Michael wrote: >>> >>> I have two applications, A

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Michael
Thanks a lot for your comments, Chuck! On Fri, Jan 17, 2025 at 3:51 PM Chuck Caldarale wrote: > > > > On Jan 17, 2025, at 04:05, Michael wrote: > > > > I have two applications, A and B, running in Tomcat 10.1.28 on RHEL > > 8.10 with Java 21 (OpenJDK Runtime Env

Re: Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Chuck Caldarale
> On Jan 17, 2025, at 04:05, Michael wrote: > > I have two applications, A and B, running in Tomcat 10.1.28 on RHEL > 8.10 with Java 21 (OpenJDK Runtime Environment Red_Hat-21.0.5.0.10-1). You may want to try a newer version of 10.1; there have been several changes to the

Sporadic NPEs from CoyoteOutputStream and their surprising effect

2025-01-17 Thread Michael
I have two applications, A and B, running in Tomcat 10.1.28 on RHEL 8.10 with Java 21 (OpenJDK Runtime Environment Red_Hat-21.0.5.0.10-1). Application uses an AsyncContext and SSE to send messages back to an application running in a Chrome browser. Sometimes I get an NPE with the following

Re: Class Loading Issue with Tomcat 10.1.33 and DataDog Java Agent

2024-12-09 Thread Mark Thomas
gent-1.42.2.jar This agent injects itself into the class loading process, altering classes using Byte Buddy. The first exception encountered while using 10.1.33 was when our application attempted to load the GraalJS engine at startup, but we narrowed down the problem and were able to repro

Class Loading Issue with Tomcat 10.1.33 and DataDog Java Agent

2024-12-09 Thread Adam Rauch
ample:     -javaagent:dd-java-agent-1.42.2.jar This agent injects itself into the class loading process, altering classes using Byte Buddy. The first exception encountered while using 10.1.33 was when our application attempted to load the GraalJS engine at startup, but we narrowed down the proble

RE: SSLHostConfig and

2024-12-02 Thread Mcalexander, Jon J.
Thank you Mark! From: Mark Thomas Sent: Monday, December 2, 2024 2:02 AM To: users@tomcat.apache.org Subject: Re: SSLHostConfig and Good evening all, > > Is there any relationship between the Connector and SSLHostConfig if you set the DefaultSSLHostConfigName in the connector and hostN

Re: SSLHostConfig and

2024-12-02 Thread Mark Thomas
On 02/12/2024 05:24, Mcalexander, Jon J. wrote: Good evening all, Is there any relationship between the Connector and SSLHostConfig if you set the DefaultSSLHostConfigName in the connector and hostName in the SSLHostConfig, to the If you have multiple elements then SNI will be used to

SSLHostConfig and

2024-12-01 Thread Mcalexander, Jon J.
Good evening all, Is there any relationship between the Connector and SSLHostConfig if you set the DefaultSSLHostConfigName in the connector and hostName in the SSLHostConfig, to the mailto:jonmcalexan...@gmail.com> This message may contain confidential and/or privileged information. If you

Re: [External] Re: Best way to *programmatically* detect that all webapps are fully deployed and running?

2024-11-24 Thread Rémy Maucherat
; Thanks, > Amit > > -Original Message- > From: Bruno Melloni > Sent: Saturday, September 30, 2023 8:32 AM > To: users@tomcat.apache.org > Subject: [External] Re: Best way to *programmatically* detect that all > webapps are fully deployed and running? > > >

RE: [External] Re: Best way to *programmatically* detect that all webapps are fully deployed and running?

2024-11-24 Thread Amit Pande
Amit -Original Message- From: Bruno Melloni Sent: Saturday, September 30, 2023 8:32 AM To: users@tomcat.apache.org Subject: [External] Re: Best way to *programmatically* detect that all webapps are fully deployed and running? CAUTION: This email originated from outside the organizatio

Re: [SECURITY] CVE-2024-52317 Apache Tomcat - Request and/or response mix-up

2024-11-18 Thread Mark Thomas
hanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Mark Thomas Sent: Monday, November 18, 2024 4:48 PM To: Tomcat Users List Cc: annou...@apache.org; annou...@tomcat.apache.org; Tomcat Developers List Subject: [SECURITY] CVE-2024-52317 Apache Tomcat - Request a

RE: [SECURITY] CVE-2024-52317 Apache Tomcat - Request and/or response mix-up

2024-11-18 Thread Rathore, Rajendra
Vulnerability applicable or not? 2. Apache Http server + Tomcat with Http proxy Vulnerability applicable or not? Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Mark Thomas Sent: Monday, November 18, 2024 4:48 PM To: Tomcat Users List Cc: annou...@apache.org

[SECURITY] CVE-2024-52317 Apache Tomcat - Request and/or response mix-up

2024-11-18 Thread Mark Thomas
Note: Correction to 10.1.x affected versions CVE-2024-52317 Apache Tomcat - Request and/or response mix-up Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M23 to 11.0.0-M26 Apache Tomcat 10.1.27 to 10.1.30 Apache Tomcat 9.0.92 to 9.0.95

[SECURITY] CVE-2024-52317 Apache Tomcat - Request and/or response mix-up

2024-11-18 Thread Mark Thomas
CVE-2024-52317 Apache Tomcat - Request and/or response mix-up Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M23 to 11.0.0-M26 Apache Tomcat 10.1.7 to 10.1.30 Apache Tomcat 9.0.92 to 9.0.95 Description: Incorrect recycling of the request and

Spring MVC web app and HostConfig logging

2024-11-15 Thread Amit Pande
rom a custom appBase likeL I wanted to get the timing logs. Essentially, application deployed start and finish logging that we otherwise see in HostConfig. Appreciate pointers in debugging this missing logs case. Thanks, Amit

Re: pluggabilitySkip JarScanFilter and JMX calls

2024-11-04 Thread Christopher Schultz
Users List Subject: Re: pluggabilitySkip JarScanFilter and JMX calls CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you believe this is a phishing email, use the Report to

RE: pluggabilitySkip JarScanFilter and JMX calls

2024-11-03 Thread Amit Pande
? Thanks, Amit -Original Message- From: Christopher Schultz Sent: Sunday, November 3, 2024 3:39 PM To: Tomcat Users List Subject: Re: pluggabilitySkip JarScanFilter and JMX calls CAUTION: This email originated from outside the organization. Do not click links or open attachments unless

Re: pluggabilitySkip JarScanFilter and JMX calls

2024-11-03 Thread Christopher Schultz
figuration? Appreciate the help. The JarScanner does more than it looks like it does. I'm guessing that you have a component that uses something like annotation-based SomethingSomethingListener and that component is not being found and initialized when the application starts. That component pro

  1   2   3   4   5   6   7   8   9   10   >