[ANN] Apache Tomcat 9.0.63 available

2022-05-16 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.63. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.63 is a bugfix and

Re: 9.0.60 fix question

2022-04-07 Thread Rémy Maucherat
On Thu, Apr 7, 2022 at 8:41 PM Robert Hicks wrote: > >- [image: Fix:] Fix potential thread-safety issue that could cause >HTTP/1.1 request processing to wait, and potentially timeout, waiting for >additional data when the full request has been received. (markt) > > > What would that

Re: PostConstruct annotation in a filter since version 9.0.60

2022-04-05 Thread Rémy Maucherat
On Tue, Apr 5, 2022 at 4:02 PM Cherio wrote: > > Yes, I confirm. For this project I download Tomcat from here: > https://archive.apache.org/dist/tomcat/tomcat-$MAJOR_VER/v$VER/bin/apache-tomcat-$VER.tar.gz > > BTW @PostConstruct doesn't have to do with dependency injection. It is > about

[ANN] Apache Tomcat 9.0.62 available

2022-04-01 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.62. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.62 is a bugfix and

Re: Unknown http2 settings is logged with wrong settings key

2022-03-23 Thread Rémy Maucherat
On Wed, Mar 23, 2022 at 8:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > > > > -Ursprüngliche Nachricht- > > Von: Christopher Schultz > > Gesendet: Mittwoch, 23. März 2022 16:56 > > An: users@tomcat.apache.org > > Betreff: Re: Unknown http2 settings is logged with wrong settings key

Re: Unknown http2 settings is logged with wrong settings key

2022-03-23 Thread Rémy Maucherat
On Wed, Mar 23, 2022 at 8:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > > > > -Ursprüngliche Nachricht- > > Von: Christopher Schultz > > Gesendet: Mittwoch, 23. März 2022 16:56 > > An: users@tomcat.apache.org > > Betreff: Re: Unknown http2 settings is logged with wrong settings key

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-15 Thread Rémy Maucherat
On Fri, Mar 11, 2022 at 6:58 PM Christopher Schultz wrote: > > Torsten, > > On 3/11/22 06:03, Torsten Krah wrote: > >> It seems to me you are listing a cipher that might be correct > >> according to the OpenSSL documentation, but then whether that is > >> available to your JVM may be different. >

[ANN] Apache Tomcat 9.0.60 available

2022-03-14 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.60. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.60 is a bugfix and

Re: Re: Tomcat 8.5.75 Servlet WriteListener and ReadListener setting thread

2022-02-28 Thread Rémy Maucherat
pache/tomcat/commit/2739565fa5286623e8bb31823770595de14b6370 The fix will be in the next round of monthly releases (9.0.60). Thanks ! Rémy > > On 2022/02/24 10:42:29 Rémy Maucherat wrote: > > On Thu, Feb 24, 2022 at 10:31 AM Istvan SZEKELY > > wrote: > > > > &g

[ANN] Apache Tomcat 9.0.59 available

2022-02-28 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.59. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.59 is a bugfix and

Re: Tomcat 8.5.75 Servlet WriteListener and ReadListener setting thread

2022-02-24 Thread Rémy Maucherat
On Thu, Feb 24, 2022 at 10:31 AM Istvan SZEKELY wrote: > > Hello! > > I have an application where a ReadListener and a WriteListener (call it > MyWriteListener) set to the ServletInputStream and the ServletOutputStream > objects. Updating the Tomcat container from 8.5.73 to 8.5.75, the follow >

Re: Tomcat 9 Encrpytion of JDBC

2022-01-24 Thread Rémy Maucherat
On Thu, Jan 20, 2022 at 6:30 PM Christopher Schultz wrote: > > Harri, > > On 1/20/22 11:37, Harri Pesonen wrote: > > Vault for Apache Tomcat: > > > > https://github.com/web-servers/tomcat-vault > > > > It hides the secrets in another encrypted file, and password for that > > file is then in

[ANN] Apache Tomcat 9.0.58 available

2022-01-20 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.58. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.58 is a bugfix and

Re: Tomcat GraalVm native image issue

2022-01-17 Thread Rémy Maucherat
cat.java:459) > at org.apache.catalina.startup.Tomcat.main(Tomcat.java:1337) > > Jan 16, 2022 2:31:37 PM org.apache.catalina.core.Standardservice > startInternal > INFO: Starting service [Tomcat] > > = > >

Re: Tomcat GraalVm native image issue

2022-01-15 Thread Rémy Maucherat
On Sat, Jan 15, 2022 at 6:05 PM Satyajit Rout wrote: > > I want to serve the static file of a reactjs application through this > tomcat native image and I don't have any jar/war file to place under the > webapps folder. > > But tomcat native image is not running without a server.xml file in the >

Re: Application name in log record

2022-01-10 Thread Rémy Maucherat
On Mon, Jan 10, 2022 at 11:34 AM Mark Thomas wrote: > > I went to look at the source code and found something I'd completely > forgotten about. Tomcat exposes several properties that you can use in > logging.properties. They are: > > classloader.webappName > classloader.hostName >

Re: Issues when building native image with GraalVM

2022-01-08 Thread Rémy Maucherat
at with --no-jmx (until recently this was done > >internally in Tomcat when using AOT). > > Thanks I'll try again this way, as soon as I discover where to use it :D Rémy > Il giorno mar 4 gen 2022 alle ore 14:22 Rémy Maucherat ha > scritto: > > > On Fri, Dec 31, 2021 at 2

Re: Issues when building native image with GraalVM

2022-01-04 Thread Rémy Maucherat
(until recently this was done internally in Tomcat when using AOT). Rémy > > Il giorno ven 31 dic 2021 alle ore 14:42 Mar R > ha scritto: > > > Il giorno mar 28 dic 2021 alle ore 22:26 Rémy Maucherat > > ha scritto: > > > >> On Tue, Dec 28, 2021 at 7:18 PM

Re: Issues when building native image with GraalVM

2021-12-28 Thread Rémy Maucherat
On Tue, Dec 28, 2021 at 7:18 PM Mar R wrote: > > Tomcat 10.0.14 > Windows 10 x64 21H1 OS Build 19043.1415 > > openjdk version "17.0.1" 2021-10-19 > OpenJDK Runtime Environment GraalVM CE 21.3.0 (build > 17.0.1+12-jvmci-21.3-b05) > OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build

Re: CVE-2021-44228 Log4j 2 Vulnerability -- How does this affect Tomcat?

2021-12-11 Thread Rémy Maucherat
On Sat, Dec 11, 2021 at 11:05 PM Sebastian Hennebrüder wrote: > > Hi all, > > I reproduced the attack against Tomcat 9.0.56 with latest Java 8 and Java 11. > Actually the Java path version is not relevant. > > It is possible with a deployed Tomcat 9 and Spring Boot with Tomcat embedded. > > If

[ANN] Apache Tomcat 9.0.56 available

2021-12-08 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.56. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.56 is a bugfix and

[ANN] Apache Tomcat 9.0.55 available

2021-11-15 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.55. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.55 is a bugfix and

Re: Not able to enable SSL on AJP connector

2021-11-01 Thread Rémy Maucherat
On Mon, Nov 1, 2021 at 3:32 PM Jasvant Singh wrote: > The SSLHostConfig works fine with HTTP/1.1 but not with AJP/1.3 Connector. The AJP protocol does not support use of TLS. If you want TLS, you can use HTTP as the proxy protocol, or set up tunnels that use TLS. Rémy

Re: JNDIRealm thread blocking issue

2021-10-29 Thread Rémy Maucherat
On Fri, Oct 29, 2021 at 9:28 AM Suvendu Sekhar Mondal wrote: > > Hello Chris, > > On Fri, Oct 29, 2021 at 2:46 AM Christopher Schultz > wrote: > > > > Suvendu, > > > > On 10/28/21 12:55, Suvendu Sekhar Mondal wrote: > > > Hello Everyone, > > > > > > I was investigating one thread pool exhaustion

[ANN] Apache Tomcat 9.0.54 available

2021-10-04 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.54. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.54 is a bugfix and

[ANN] Apache Tomcat 9.0.53 available

2021-09-13 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.53. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.53 is a bugfix and

Re: BasicDataSource restart()

2021-09-03 Thread Rémy Maucherat
On Fri, Sep 3, 2021 at 2:46 AM Jerry Malcolm wrote: > > I have a requirement to start a new log database on the first of every > month. I still need to have access to older monthly log databases. I > do not want to create a bunch of hardcoded manually configured > individual datasources, one

[ANN] Apache Tomcat 9.0.52 available

2021-08-07 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.52. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.52 is a bugfix and

Re: Possible Http11NioProtocol regression since 9.0.48?

2021-07-06 Thread Rémy Maucherat
On Tue, Jul 6, 2021 at 10:41 AM Mark Thomas wrote: > > On 05/07/2021 20:19, André van der Lugt wrote: > > > > Mark, thank you for your efforts so far. > > No problem. Happy to help. > > At this point it is hard to tell where the root cause is. It is possible > that the Tomcat changes introduced a

[ANN] Apache Tomcat 9.0.50 available

2021-07-05 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.50. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.50 is a bugfix and

[ANN] Apache Tomcat 9.0.48 available

2021-06-17 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.48. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.48 is a bugfix and

[ANN] Apache Tomcat 9.0.48 available

2021-06-17 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.48. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.48 is a bugfix and

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-17 Thread Rémy Maucherat
On Thu, Jun 17, 2021 at 9:27 AM Mark Thomas wrote: > On 17/06/2021 07:56, Rémy Maucherat wrote: > > > The main benefit is that it removes some blocking IO which is a good > idea. > > NIO2 is worth testing with your new test, BTW. > > NIO2 works. The issue appea

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-17 Thread Rémy Maucherat
ou have tons of small entities to transfer (that's what sites have these days, so that's good). Rémy > > Mark > > > > > > Regards, > > Kedar > > > > > > -Original Message- > > From: Mark Thomas > > Sent: Wednesday, June 16, 2021 11:41 PM >

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Rémy Maucherat
On Wed, Jun 16, 2021 at 7:36 PM Mark Thomas wrote: > On 16/06/2021 18:01, Deshmukh, Kedar wrote: > > > I have one additional question at this point. How easy is this issue to > reproduce? Does it happen every time? In 10% of requests? 1% ? > > > > [Kedar] It is reproducible 9/10 times in my

Re: #tomcat on Freenode?

2021-05-20 Thread Rémy Maucherat
On Thu, May 20, 2021 at 9:57 AM Mark Thomas wrote: > On 19/05/2021 20:28, Coty Sutherland wrote: > > Hi all, > > > > I was just notified about some mess going on with Freenode which has > > seemingly resulted in a mass exodus of users from the freenode servers. > > There are some updates

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Rémy Maucherat
On Tue, Feb 23, 2021 at 4:47 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ravi, > > On 2/23/21 10:19, Ravi Kumar wrote: > > Using this Interface , trying to obtain the object of type > > ServerSocketFactory in my application. > > Could you please point towards any other viable

Re: Upgraded to 8.5.63, ssl stopped working...?

2021-02-12 Thread Rémy Maucherat
cal Service. > I think the problem which messes up everything is a supposed non absolute URI. I don't remember why this is legitimate, but it probably is, and that means the error messages are microsoftian. I improved them. Rémy > Mark > > > > > >jim > > > >On

Re: Upgraded to 8.5.63, ssl stopped working...?

2021-02-11 Thread Rémy Maucherat
On Thu, Feb 11, 2021 at 10:33 PM Jim Weill wrote: > Sorry, I should have posted it yesterday. This was the only thing I could > find that had anything like an error in the stderr log: > > 10-Feb-2021 17:34:09.930 SEVERE [main] > org.apache.catalina.core.StandardService.initInternal Failed to

Re: Are we able to deploy the same WAR to Tomcat 9 and 10?

2021-02-05 Thread Rémy Maucherat
On Fri, Feb 5, 2021 at 4:03 PM Mark Thomas wrote: > On 05/02/2021 14:45, Johan Compagner wrote: > > Hi, > > > > I already now get the first support request that our application doesn't > > run under Tomcat 10. > > > > So just want to get straight how this is going to work in the future. > > > >

Re: SSL trouble in embeddedLand

2021-01-20 Thread Rémy Maucherat
On Tue, Jan 19, 2021 at 5:02 AM Rob Sargent wrote: > > Stuck in my basement with no real domain I'm having trouble setting up > SSL/TLS on an embedded tomcat instance. And I'm very lost, having tried > more dead ends than I can remember. > > I used this to generate cert and key > openssl req

Re: Examples failing

2020-12-04 Thread Rémy Maucherat
On Fri, Dec 4, 2020 at 2:05 PM Ibone Gonzalez Mauraza wrote: > Hi, > > The examples of async of the newest versions are failing. > This is fixed already: https://github.com/apache/tomcat/commit/0b5d5c91bafd3f61938917490ab531474dbb778a Rémy > When I try to run the test, I got the following

Re: Custom protocol implementation not found

2020-10-14 Thread Rémy Maucherat
On Wed, Oct 14, 2020 at 11:38 AM Maarten van den Broek < mbr...@messagedesign.nl> wrote: > I use tomcat 9.0.33 with windows10 home and amazon corretto jdk1.8.0_212. > > Below a snapshot of two different Connector definitions in server.xml > > maxThreads="150"

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Rémy Maucherat
On Tue, Oct 6, 2020 at 8:31 AM Martin Grigorov wrote: > Hi, > > I face an issue with the NIO2 protocol. > When I increase the request rate to more than 500 requests per second it > starts failing with: > > 06-Oct-2020 09:18:19.964 FINE [https-jsse-nio2-8080-exec-6] >

Re: ByteBuffer pooling

2020-09-28 Thread Rémy Maucherat
On Mon, Sep 28, 2020 at 5:31 PM Martin Grigorov wrote: > On Mon, Sep 28, 2020 at 6:11 PM Rémy Maucherat wrote: > > > On Mon, Sep 28, 2020 at 4:34 PM Martin Grigorov > > wrote: > > > > > Hi, > > > > > > I've profiled the memory allocation dur

Re: ByteBuffer pooling

2020-09-28 Thread Rémy Maucherat
On Mon, Sep 28, 2020 at 4:34 PM Martin Grigorov wrote: > Hi, > > I've profiled the memory allocation during load testing HTTP2: > https://pasteboard.co/Jtblqfl.png > > As you can see there are a lot of ByteBuffer.allocate(int) calls. > org.apache.catalina.connector.Response#Response(int) >

Re: Low throughput with HTTP2

2020-09-21 Thread Rémy Maucherat
On Mon, Sep 21, 2020 at 2:49 PM Martin Grigorov wrote: > Hi Remy, > > On Mon, Sep 21, 2020 at 2:56 PM Rémy Maucherat wrote: > > > > > > > 2020-09-21 14:25:04.850 DEBUG 232086 --- [https-jsse-nio-18080-exec-8] > > > o.a.coyote.http11.Http11N

Re: Low throughput with HTTP2

2020-09-21 Thread Rémy Maucherat
On Mon, Sep 21, 2020 at 1:36 PM Martin Grigorov wrote: > On Mon, Sep 21, 2020 at 12:08 PM Martin Grigorov > wrote: > > > > > > > On Mon, Sep 21, 2020 at 11:23 AM Mark Thomas wrote: > > > >> On 21/09/2020 08:18, Martin Grigorov wrote: > >> > On Fri, Sep 18, 2020 at 6:16 PM Mark Thomas wrote: >

Re: Low throughput with HTTP2

2020-09-15 Thread Rémy Maucherat
On Tue, Sep 15, 2020 at 5:08 PM Martin Grigorov wrote: > Hi Mark, > > On Tue, Sep 15, 2020 at 3:34 PM Mark Thomas wrote: > > > On 15/09/2020 12:46, Martin Grigorov wrote: > > > On Tue, Sep 15, 2020 at 2:37 PM Martin Grigorov > > > wrote: > > > > > >> Hi, > > >> > > >> I am running some load

Re: rewrite stopped working

2020-07-21 Thread Rémy Maucherat
On Tue, Jul 21, 2020 at 10:30 PM Kenneth Noel wrote: > I recently upgrade from 9.0.12 to 9.0.35. I had a working rewrite.config > file and all the rewrite rules in it were working. After the upgrade only > the first rewrite rule worked. > > I tried several things to get them working and nother

Re: How to encrypt db password in tomcat context.xml

2020-06-29 Thread Rémy Maucherat
On Mon, Jun 29, 2020 at 8:03 AM Carsten Klein wrote: > Hi Jürgen and Olaf, > > I can really understand Jürgen's intentions. The core problem is not > security but administrators and so called security panels in > "professional" (non-open source related) companies. I really know this > from my

Re: Should Tomcat 10 enable response compression by default?

2020-06-10 Thread Rémy Maucherat
On Tue, Jun 9, 2020 at 10:20 PM Mark Thomas wrote: > Hi all, > > An enhancement has been opened to enable response compression by default: > https://bz.apache.org/bugzilla/show_bug.cgi?id=64431 > > In short, the proposal is to change the default for the Connector's > compression attribute from

Re: HTTP2 keepAliveTimeout changed from Infinite to 20 seconds (default)

2020-06-03 Thread Rémy Maucherat
Hi, On Wed, Jun 3, 2020 at 4:35 PM Arshiya Shariff wrote: > Hi Mark, > The keepAliveTimeout for HTTP2 , in the later tomcat versions is set to a > default value of 20 seconds and can be overridden . > Is there a reason that the keepAliveTimeout has been changed from infinite > to 20 seconds

Re: Tomcat SSL Connector - Http11NioProtocol - javax.crypto.ShortBufferException on second request

2020-04-13 Thread Rémy Maucherat
On Mon, Apr 13, 2020 at 7:07 PM Mark Thomas wrote: > On 13/04/2020 11:39, Parigino Andrea Aiello wrote: > > Hello! > > i'm having a problem with Tomcat 8.5.51 hosting my Spring Boot 2 > > application (with 2-way SSL); > > The first thing to do is to update to 8.5.54 and re-test. > Also test

Re: [ANN] Apache Tomcat 9.0.34 available

2020-04-09 Thread Rémy Maucherat
On Thu, Apr 9, 2020 at 6:36 PM Mark Thomas wrote: > On 09/04/2020 17:27, Mark Thomas wrote: > > On 09/04/2020 17:16, Bill Stewart wrote: > >> On Thu, Apr 9, 2020 at 9:08 AM Mark Thomas wrote: > >> > >>> The Apache Tomcat team announces the immediate availability of Apache > >>> Tomcat 9.0.34. >

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-26 Thread Rémy Maucherat
On Wed, Feb 26, 2020 at 12:36 PM Rémy Maucherat wrote: > On Wed, Feb 26, 2020 at 9:57 AM Mark Thomas wrote: > >> On 26/02/2020 01:35, SS jong wrote: >> >> >> >> > Has anyone encountered this issue on Tomcat 7.0.100 and if this >> behavior change

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-26 Thread Rémy Maucherat
On Wed, Feb 26, 2020 at 9:57 AM Mark Thomas wrote: > On 26/02/2020 01:35, SS jong wrote: > > > > > Has anyone encountered this issue on Tomcat 7.0.100 and if this behavior > change is intentional? > > Possibly the same root cause as > > https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 > I

Re: Enhancement: New option 'persistAuthentication' for session manager

2020-02-18 Thread Rémy Maucherat
On Tue, Feb 18, 2020 at 9:19 AM Carsten Klein wrote: > Rémy, > > > > Can you describe an actual use case for this ? Without clustering, I > don't > > understand why the auth persistence is useful at all [when using > > clustering, the delta manager persists that auth information]. To be > >

Re: Enhancement: New option 'persistAuthentication' for session manager

2020-02-17 Thread Rémy Maucherat
On Mon, Feb 17, 2020 at 6:31 PM Carsten Klein wrote: > Hi there, > > finally, I got my first Tomcat enhancement ready. You can view its code > at my Tomcat fork on GitHub: > > > https://github.com/cklein05/tomcat/tree/session-manager-persist-authentication > > Before I'm opening an enhancement

Re: [ANN] Apache Tomcat 9.0.31 available

2020-02-13 Thread Rémy Maucherat
On Thu, Feb 13, 2020 at 1:04 PM Olivier Jaquemet < olivier.jaque...@jalios.com> wrote: > > On 13/02/2020 12:41, Mark Thomas wrote: > > On 13/02/2020 09:57, Olivier Jaquemet wrote: > >> I understand the need to introduce a "secured by default" AJP > >> configuration. > >> However, I question one

Re: [ANN] Apache Tomcat 9.0.31 available

2020-02-13 Thread Rémy Maucherat
On Thu, Feb 13, 2020 at 9:33 AM Olivier Jaquemet < olivier.jaque...@jalios.com> wrote: > On 13/02/2020 01:02, Stefan Mayr wrote: > > Hi, > > > >> - AJP defaults changed to listen the loopback address, require a secret > >>and to be disabled in the sample server.xml > > What was the motivation

Re: Tomcat 8.5.51 fails

2020-02-13 Thread Rémy Maucherat
On Thu, Feb 13, 2020 at 10:13 AM kohmoto wrote: > Hi, > > I have install Tomcat 8.5.51 today and found something wrong. > > I have been using tomcat for last 5 years and never met this > kind of problem. > > It would be appreciated if I could be advised. > Ok, so ... > Caused by:

Re: Some attribute lost after calling storeConfig

2020-02-12 Thread Rémy Maucherat
On Wed, Feb 12, 2020 at 5:17 PM Arnaud Yahoo wrote: > Thanks for you reply, shall I fill a bug for this ? > No need. The fix will be in 9.0.32 and 8.5.52. Rémy > > On 12/02/2020 16:43, Rémy Maucherat wrote: > > On Wed, Feb 12, 2020 at 3:05 PM Arnaud Yahoo > &g

Re: Tomcat doesn't propogate Security Credentials during session failover

2020-02-12 Thread Rémy Maucherat
On Wed, Feb 12, 2020 at 4:55 PM Klein, Carsten wrote: > Hi there, > > actually, Tomcat just does not serialize authentication information, > that is AuthType (BASIC, DIGEST etc.) and the Principal, during session > serialization. That affects session persistence across restarts (no > matter what

Re: Some attribute lost after calling storeConfig

2020-02-12 Thread Rémy Maucherat
On Wed, Feb 12, 2020 at 3:05 PM Arnaud Yahoo wrote: > Hello, > > Recently storeConfig has been fixed thanks to > > https://github.com/apache/tomcat/commit/010fdb7e458d9d8755e2b67203ac4757d78c2f64 > > It is very interesting, because it allows to persist across restart > configurations made to

Re: RewriteValve does not work on HTTPS

2020-02-06 Thread Rémy Maucherat
On Thu, Feb 6, 2020 at 2:56 PM Hua Zhang wrote: > Thank you for the response. I am finally able to confirm the issue. > > When I put the following line in comment, everything works fine. I mean as > expected. > > ** > > > If the above line UpgradeProtocol is activated, I observe now at least two

Re: lower/uppercase rewrite maps

2020-01-09 Thread Rémy Maucherat
On Thu, Jan 9, 2020 at 5:16 PM Felix Schumacher < felix.schumac...@internetallee.de> wrote: > > Am 09.01.20 um 17:01 schrieb Chris Cheshire: > > Looking through the documentation for the rewrite valve [1], I see > > there is an example of how to write and use a rewrite map to convert a > > value

Re: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-07 Thread Rémy Maucherat
On Tue, Jan 7, 2020 at 6:33 AM Rathore, Rajendra wrote: > Hi Rémy/ Christopher, > > It will stuck there for 10-15 minutes, so it will take time to load simple > Web UI, there is no WebSocket call. I am giving you one of the sample where > it will take 90% time in write operation, sometime it

Re: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-06 Thread Rémy Maucherat
On Mon, Jan 6, 2020 at 1:27 PM Rathore, Rajendra wrote: > Hi Team, > > > > We are facing performance issue during > *org.apache.tomcat.util.net.NioBlockingSelector.write > API call, *,most of our thread stuck and spending more time in that API, > you can check below screenshot for more details.

Re: ServletRequest Obj Randomly not Processing x-www-form-urlencoded parms

2019-12-10 Thread Rémy Maucherat
On Tue, Dec 10, 2019 at 4:36 PM Mark Thomas wrote: > On 10/12/2019 14:27, Christopher Schultz wrote: > > > > > Would using org.apache.catalina.connector.RECYCLE_FACADES=true have > > made this problem go away? Or would the behavior have been the same, > > just less dangerous? > > I think it

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Rémy Maucherat
pache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:59) > > So it does not seem to be an endless recursion, as it seems to escape, > but it seems to be to late and to deep in the stack. I'm really not sure > what to make of this. > This (mis

Re: Error after upgrading to Tomcat 9.0.29

2019-11-25 Thread Rémy Maucherat
On Mon, Nov 25, 2019 at 2:15 PM Juri Berlanda wrote: > Hi all, > > I just tried to deploy my WebApplication (OpenWebBeans, MyFaces) to > Tomcat 9.0.29. While everything works fine in 9.0.27, on 9.0.29 as soon > as I access any page I get: > > 25-Nov-2019 14:01:34.842 SEVERE

Re: SameSite cookies

2019-11-08 Thread Rémy Maucherat
On Fri, Nov 8, 2019 at 4:04 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I'm looking at using "samesite" cookies within my application. It > looks as simple as setting the "sameSite" attribute appropriately on > the

Re: Roadmap for Tomcat and Jakarta EE

2019-11-05 Thread Rémy Maucherat
On Tue, Nov 5, 2019 at 8:19 PM Campbell, Lance wrote: > Is there an article describing a general roadmap for Tomcat and Jakarta EE > that I could read? > http://tomcat.apache.org/presentations.html The latest "State of the Cat" presentation from ApacheCon EU looks into the Jakarta stuff. Rémy

Re: Jakarta EE 9

2019-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2019 at 3:53 PM i...@flyingfischer.ch wrote: > Am 28.10.19 um 15:39 schrieb Mark Thomas > >> If this is going to be disruptive and we cannot maintain compat, why > >> not > >> go the extra step and explicitly move Tomcat code to > >> org.apache.tomcat.* > >> for Tomcat 10? Git

Re: Jakarta EE 9

2019-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2019 at 3:11 PM Michael Osipov wrote: > Am 2019-10-28 um 14:59 schrieb Mark Thomas: > > On October 28, 2019 12:37:14 PM UTC, Johan Compagner < > jcompag...@servoy.com> wrote: > >> Hi > >> > >> > >> > >> On Mon, 28 Oct 2019 at 13:15, Mark Thomas wrote: > >> > >>> Hi all, > >>> >

Re: Jakarta EE 9

2019-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2019 at 1:15 PM Mark Thomas wrote: > Hi all, > > A frequent topic of discussion at ApacheCon EU was Jakarta EE 9. For those > of you who aren't familiar with Jakarta EE the key points are: > > - Oracle have donated Java EE to Eclipse > - Eclipse have released Jakarta EE 8 which

Re: Jakarta EE 9

2019-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2019 at 2:22 PM Michael Osipov wrote: > Am 2019-10-28 um 13:15 schrieb Mark Thomas: > > Hi all, > > > > A frequent topic of discussion at ApacheCon EU was Jakarta EE 9. For > those of you who aren't familiar with Jakarta EE the key points are: > > > > - Oracle have donated Java

Re: Jakarta EE 9

2019-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2019 at 1:46 PM Johan Compagner wrote: > Hi > > > > On Mon, 28 Oct 2019 at 13:15, Mark Thomas wrote: > > > Hi all, > > > > A frequent topic of discussion at ApacheCon EU was Jakarta EE 9. For > those > > of you who aren't familiar with Jakarta EE the key points are: > > > > -

Re: Tomcat 8 epoll spinning issue (100% CPU)

2019-10-07 Thread Rémy Maucherat
On Mon, Oct 7, 2019 at 11:15 AM Emmanuel Lecharny wrote: > > > On 2019/10/05 11:12:46, Rémy Maucherat wrote: > > On Fri, Oct 4, 2019 at 10:38 PM Emmanuel Lecharny > > wrote: > > > > > Hi remy, > > > > > > On 2019/10/04 15:37:36, Rémy Ma

Re: Tomcat 8 epoll spinning issue (100% CPU)

2019-10-05 Thread Rémy Maucherat
On Fri, Oct 4, 2019 at 10:38 PM Emmanuel Lecharny wrote: > Hi remy, > > On 2019/10/04 15:37:36, Rémy Maucherat wrote: > > On Fri, Oct 4, 2019 at 3:40 PM Emmanuel Lecharny > > wrote: > > > > > Hi ! > > > > > > I filled a ticket yesterday abo

Re: Tomcat 8 epoll spinning issue (100% CPU)

2019-10-04 Thread Rémy Maucherat
On Fri, Oct 4, 2019 at 3:40 PM Emmanuel Lecharny wrote: > Hi ! > > I filled a ticket yesterday about a pb we face with many NIO framework, > which I think could hit Tomcat too (see > https://bz.apache.org/bugzilla/show_bug.cgi?id=63802). Actually, I think > I'm facing this problem on a project

Re: Tomcat 9.0.24/9.0.26 suspected memory leak

2019-09-30 Thread Rémy Maucherat
On Sat, Sep 28, 2019 at 9:05 PM Mark Thomas wrote: > On 27/09/2019 22:39, Chen Levy wrote: > > -Original Message- > > From: Mark Thomas > > Sent: Friday, September 27, 2019 15:34 > > To: users@tomcat.apache.org > > Subject: Re: Tomcat 9.0.24/9.0.26 suspected memory leak > > > > On

Re: SSL issue : java.security.KeyStoreException: Cannot store non-PrivateKeys

2019-09-27 Thread Rémy Maucherat
On Fri, Sep 27, 2019 at 9:40 AM Mark Thomas wrote: > > > certificateFile="key_store/ssl_certificate.p7b" > > certificateAlias="bla" > > keystoreFile="/key_store/blabla.jks" type="RSA" > > keystoreType="JKS" > >

Re: ApacheCon NA Tomcat track videos

2019-09-19 Thread Rémy Maucherat
rovised once I saw there was no equipment in the room (the only item besides the projector was a voice recorder left on the table - I was seriously wondering what it would pick up) and I had a good phone on hand (and a "tripod"). Rémy > > Cheers, > > Woonsan > > On Thu,

ApacheCon NA Tomcat track videos

2019-09-18 Thread Rémy Maucherat
Hi, I finished uploading the videos of the twelve sessions from the Apache Tomcat track at ApacheCon NA 2019 in Las Vegas to the Apache Tomcat YouTube channel: https://www.youtube.com/playlist?list=PLI91YOalv6p9bivF8eb_MR9bVQcVfLkH9 The sound recording quality is rather bad, apologies for that.

Re: Sending http request to https endpoint logs SEVERE in tomcat 9.0.24

2019-08-29 Thread Rémy Maucherat
On Thu, Aug 29, 2019 at 11:02 AM Mark Thomas wrote: > On August 29, 2019 8:21:05 AM UTC, Senthalan Kanagalingam > wrote: > >Hi all, > > > >When sending an http request to https endpoint logs the following > >SEVERE in > >tomcat 9.0.24, > > > >29-Aug-2019 13:34:40.088 SEVERE

Re: Memmory leak java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-07-17 Thread Rémy Maucherat
On Wed, Jul 17, 2019 at 3:19 PM Mozgo Andrei wrote: > Hi all. > > Working on Update Tomcat 8.0.30 to Tomcat 9.0.14 I faced with a memory > leak issue. The application failed after some hours with the next > exception: > > > > *Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded* >

Re: Http11NioProtocol deadlocks with useAsyncIO="true" and HTTPS/2.0

2019-07-17 Thread Rémy Maucherat
On Tue, Jul 16, 2019 at 6:47 PM Manuel Dominguez Sarmiento wrote: > Hi, we had been running Tomcat 9.0.17 for quite some time on our high-load > production servers, using the attached server.xml configuration. > > Upon upgrading to 9.0.21 we started experiencing many random deadlocks. We > run

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-28 Thread Rémy Maucherat
On Tue, May 28, 2019 at 1:18 PM Tom Coudyzer wrote: > Hi Mark, > > The same goes for you, so thank you for helping to solve this and > providing the test build. > I downloaded and installed this version and it works now. > > Following tests were executed: > > - without useAsyncIO attribute > -

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-24 Thread Rémy Maucherat
On Thu, May 23, 2019 at 10:59 PM Tom Coudyzer wrote: > > Should we see this as an issue in our code which requires (for some reason) > that scripts are loaded in some sequence or is this something that needs to > be fixed? > No. But it would be nice if you would test another test build later.

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Rémy Maucherat
On Thu, May 23, 2019 at 8:44 PM Tom Coudyzer wrote: > Hi, > > I tested with the 9.0.21-dev version and the issue is still there. > I attached two screenshots on what is happening in Chrome (same behavior > is present in Firefox). In Internet Explorer 11 there are no errors. > > While I wait on

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Rémy Maucherat
On Thu, May 23, 2019 at 12:53 PM Tom Coudyzer wrote: > Hi Mark, > > Thanks for the info. > > If you say where we can download the test build we are happy to do that and > see if it makes any difference. > No problem if any (serious) issues can occur, we'll have the fire > extinguishers ready :-)

Re: unable to serve static files with embedded Tomcat

2019-04-19 Thread Rémy Maucherat
On Fri, Apr 19, 2019 at 11:14 PM Garret Wilson wrote: > On 4/19/2019 3:24 PM, Rémy Maucherat wrote: > > On Fri, Apr 19, 2019 at 7:46 PM Woonsan Ko wrote: > > > >> I found this before from > >> > https://stackoverflow.com/questions/48998387/code-works-with-emb

Re: unable to serve static files with embedded Tomcat

2019-04-19 Thread Rémy Maucherat
On Fri, Apr 19, 2019 at 7:46 PM Woonsan Ko wrote: > On Fri, Apr 19, 2019 at 1:24 PM Garret Wilson > wrote: > > > > Embedding Tomcat 9 (with OpenJDK 11 on Windows 10) I want to serve > > static files from `/foo/bar`. From scouring the web (primarily > >

Re: HTTP/1.x broken with Tomcat 9, Java 11 and Http11NioProtocol

2019-03-27 Thread Rémy Maucherat
On Wed, Mar 27, 2019 at 4:21 PM Mark Thomas wrote: > On 27/03/2019 15:13, Mark Thomas wrote: > > On 27/03/2019 04:23, Jason Rivard wrote: > >> I'm trying to get the following configuration working: > >> > >> - Tomcat 9.0.17 (also tested with 9.0.16) > >> - AdoptOpenJDK Java 11.0.2 on Linux (also

Re: Tomcat 9 Nio2+OpenSSL problem (very likely a bug)

2019-03-19 Thread Rémy Maucherat
On Mon, Mar 18, 2019 at 4:44 PM Igor T wrote: > success: 1, read 73 bytes for: 109ms > success: 2, read 73 bytes for: 218ms > success: 3, read 73 bytes for: 203ms > success: 4, read 73 bytes for: 203ms > You are right there is something wrong here as well, especially since the

Re: Tomcat 9 Nio2+OpenSSL problem (very likely a bug)

2019-03-19 Thread Rémy Maucherat
On Mon, Mar 18, 2019 at 4:44 PM Igor T wrote: > > Since 9.0.12 and 16 do the same, I wouldn't look at that at all. > Something > > simple like this works in the general case, there must be something > > specific here. So it's Windows, which some unspecified OpenSSL version. > > > > Rémy > >

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-14 Thread Rémy Maucherat
On Thu, Mar 14, 2019 at 2:58 PM Santhosh Kumar wrote: > I have tried the same set of testcases using h2load with tomcat 9.0.17 > from github releases > (https://github.com/apache/tomcat/releases/tag/9.0.17) . > > h2load -n 100 -d /tmp/1k https://localhost:8443/ > requests: 100 total, 64 started,

Re: Tomcat 9 Nio2+OpenSSL problem (very likely a bug)

2019-03-13 Thread Rémy Maucherat
On Wed, Mar 13, 2019 at 10:21 PM Mark Thomas wrote: > On 13/03/2019 20:30, Igor T wrote: > > Prerequisites: > > OS: Windows Server 2012 R2 > > Java: checked on both jdk1.8.0_162 jdk1.8.0_181 > > Tomcat: windows x64 builds checked on 9.0.12, 9.0.16, 9.0.17-dev > > 9.0.17-dev at which point in

  1   2   3   >