Re: Virtual Thread Configuration In Tomcat 11

2023-08-22 Thread Mark Thomas
https://tomcat.apache.org/tomcat-11.0-doc/config/http.html Search for useVirtualThreads The same option exists in the latest 8.5.x, 9.0.x and 10.1.x releases. You need to be using Java 21 to use virtual threads. Mark On 22/08/2023 14:14, William Crowell wrote: Hi, To use virtual threads in

Re: overriding application log configuration at the container level

2023-08-22 Thread Mark Thomas
On 22/08/2023 11:53, Jason Guild wrote: Hi All: I have a web application MYAPP which embeds its logging configuration in WEB-INF/classes/logging.properties. I'd like to see more detailed logging when running the application inside my IDE without making any temporary changes to this file. The

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-22 Thread Mark Thomas
Tomcat doesn't expose the SNI information. What problem are you trying to solve here? Tomcat rejects requests with mis-matched host headers by default and can be configured to allow them in 8.5.x, 9.0.x and 10.1.x. You shouldn't need to write any extra code for this. Mark On 21/08/2023 12:

Virtual Thread Configuration In Tomcat 11

2023-08-22 Thread William Crowell
Hi, To use virtual threads in Tomcat 11, do you need to configure anything with the connectors in server.xml, or does Tomcat 11 use virtual threads by default (with JDK 21)? Is there any documentation as of yet to configure virtual threads? The only samples I have seen are with Spring Boot us

overriding application log configuration at the container level

2023-08-22 Thread Jason Guild
Hi All: I have a web application MYAPP which embeds its logging configuration in WEB-INF/classes/logging.properties. I'd like to see more detailed logging when running the application inside my IDE without making any temporary changes to this file. The logging.properties which is embedded int