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

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

2019-03-07 Thread Rémy Maucherat
On Thu, Mar 7, 2019 at 5:22 PM Rémy Maucherat wrote: > On Thu, Mar 7, 2019 at 2:54 PM Rémy Maucherat wrote: > >> On Thu, Mar 7, 2019 at 1:47 PM Mark Thomas wrote: >> >>> On 07/03/2019 07:40, Santhosh Kumar wrote: >>> > From some of the test cases

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

2019-03-07 Thread Rémy Maucherat
On Thu, Mar 7, 2019 at 2:54 PM Rémy Maucherat wrote: > On Thu, Mar 7, 2019 at 1:47 PM Mark Thomas wrote: > >> On 07/03/2019 07:40, Santhosh Kumar wrote: >> > From some of the test cases I can safely say that tomcat is hitting some >> > limits, I have two tes

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

2019-03-07 Thread Rémy Maucherat
On Thu, Mar 7, 2019 at 1:47 PM Mark Thomas wrote: > On 07/03/2019 07:40, Santhosh Kumar wrote: > > From some of the test cases I can safely say that tomcat is hitting some > > limits, I have two test cases ran with two diff size of payload and > without > > any queryParams. The servlet is a

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

2019-03-04 Thread Rémy Maucherat
On Mon, Mar 4, 2019 at 10:40 AM Santhosh Kumar wrote: > Hi, > > We have a tomcat instance which is http2 enabled and it needs to serve > large number of requests using multiplexing, so we have configured our > instance as follows, > > sslImplementationName="org.apache.tomcat.util.net >

Re: Hanging requests with nio2/openssl connector

2019-01-16 Thread Rémy Maucherat
On Wed, Jan 16, 2019 at 1:53 PM Roger Brechbühl wrote: > Hello, > > When using Nio2 connector with OpenSSL we sometimes had hanging requests > which finally ended in a timeout. This behaviour was not reproducable with > single requests (e.g. via Browser, with curl etc) but while doing some >

Re: Unable to determine Catalina base to load file

2019-01-08 Thread Rémy Maucherat
On Tue, Jan 8, 2019 at 8:03 PM Mark Thomas wrote: > This looks like an environmental issue. Debugging is probably your best > option to get to the bottom of this. > Maybe I broke it with my refactorings, but I'm not very sure at the moment since you couldn't reproduce it. I can also see that

Re: Tomcat 9.0.14 Windows service slow to stop

2019-01-08 Thread Rémy Maucherat
On Tue, Jan 8, 2019 at 4:25 PM Jean-Pascal Houde wrote: > "Catalina-utility-1" prio=1 tid=15 WAITING > Ok, so the new default for the utility thread is non daemon so you should have your fix there. Is nothing calling Server.destroy then ? Normally it should (Catalina.stop does it) and the

Re: Wrong content-type for CSS files since 8.5.37 / 9.0.14

2018-12-27 Thread Rémy Maucherat
On Thu, Dec 27, 2018 at 9:30 PM Mark Thomas wrote: > On December 26, 2018 9:49:00 PM UTC, "i...@flyingfischer.ch" < > i...@flyingfischer.ch> wrote: > >Tomcat versions 8.5.37 and 9.0.14 seem to serve CSS files embedded in a > >webapp as > > > >content-type: text/html;charset=UTF-8 > > > >instead

Re: tomcat 8.5.35 warning using NIO 2 (or NIO) connector w APR: An unknown setting with identifier [2147483647] and value [2] was ignored

2018-12-20 Thread Rémy Maucherat
On Thu, Dec 20, 2018 at 9:37 PM John Palmer wrote: > I'm working with tomcat 8.5.35 to configure SSL > (current system is tomcat 7.5 using JKS keystore and truststore).. > > I finally have the certificate parts working with the default (commented > out) APR connector.. > it bothers me

Re: [ANN] New committer: Woonsan Ko

2018-12-20 Thread Rémy Maucherat
On Thu, Dec 20, 2018 at 3:05 AM Woonsan Ko wrote: > Thank you very much for the warm welcomes! > I have watched many volunteering hearts here, helping each other in > this community, for years. This community has been my biggest input > source from which I have learned how to grow ourselves

Re: How to use server.xml with embedded Tomcat 9?

2018-12-18 Thread Rémy Maucherat
On Tue, Dec 18, 2018 at 7:33 AM Ryan Palmer wrote: > Hello, > > I'm using the Tomcat class to embed the container in my application. I > have configured the CATLINA_HOME and _BASE properties, and I know those are > working because the 'work' folder gets generated there as expected. However > if

Re: Translations update

2018-11-27 Thread Rémy Maucherat
On Tue, Nov 27, 2018 at 12:01 PM André Warnier (tomcat) wrote: > I must say that, although I tried to participate as much I could, I have > some reservations > about this whole translation project. And that is because most of the > original messages > which I have seen, are really "technical"

Re: Translations update

2018-11-27 Thread Rémy Maucherat
On Mon, Nov 26, 2018 at 5:31 PM André Warnier (tomcat) wrote: > On 26.11.2018 15:01, Ludovic Pénet wrote: > >>> - "endpoint" (for websockets, and for the Tomcat connectors, so > >> >possibly > >>> >>two different terms): "point d'entrée" ? > >> > > >> >That sounds like exactly the opposite of

Re: Translations update

2018-11-26 Thread Rémy Maucherat
On Mon, Nov 26, 2018 at 3:46 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > André, > > On 11/26/18 08:35, André Warnier (tomcat) wrote: > > On 26.11.2018 13:29, Rémy Maucherat wrote: > &

Re: Translations update

2018-11-26 Thread Rémy Maucherat
On Mon, Nov 26, 2018 at 2:35 PM André Warnier (tomcat) wrote: > On 26.11.2018 13:29, Rémy Maucherat wrote: > > On Sat, Nov 24, 2018 at 9:48 AM Ludovic Pénet wrote: > > > >> Le vendredi 23 novembre 2018 à 23:51 +0100, Rémy Maucherat a écrit : > >>> On Wed,

Re: Translations update

2018-11-26 Thread Rémy Maucherat
On Sat, Nov 24, 2018 at 9:48 AM Ludovic Pénet wrote: > Le vendredi 23 novembre 2018 à 23:51 +0100, Rémy Maucherat a écrit : > > On Wed, Nov 21, 2018 at 10:58 AM Mark Thomas > > wrote: > > > > > - French has increased from 18% to 64% coverage > > > > &g

Re: Translations update

2018-11-24 Thread Rémy Maucherat
On Sat, Nov 24, 2018 at 12:01 AM Mark Thomas wrote: > On 23/11/2018 22:51, Rémy Maucherat wrote: > > On Wed, Nov 21, 2018 at 10:58 AM Mark Thomas wrote: > > > >> - French has increased from 18% to 64% coverage > >> > > > > Done (well, close enough

Re: Translations update

2018-11-23 Thread Rémy Maucherat
On Wed, Nov 21, 2018 at 10:58 AM Mark Thomas wrote: > - French has increased from 18% to 64% coverage > Done (well, close enough, a few tribes/ha remain) ! Or rather, the initial work is done, gradual proofreading, rewording and harmonizing would be needed. But it's not too bad as search and

Re: Translations update

2018-11-22 Thread Rémy Maucherat
On Wed, Nov 21, 2018 at 10:58 AM Mark Thomas wrote: > - Simplified Chinese has been added and has already reached 32% coverage > There's actually a problem with the Chinese translation, it's been deleted for some reason. Rémy

Re: Translation help wanted

2018-11-13 Thread Rémy Maucherat
On Tue, Nov 13, 2018 at 4:39 PM André Warnier (tomcat) wrote: > On 13.11.2018 13:32, Rémy Maucherat wrote: > > On Mon, Nov 12, 2018 at 12:49 PM Mark Thomas wrote: > > > >> I'm aiming to export the translations on a regular basis to the Tomcat > >> sourc

Re: SSL Errors and Warnings with various version of Tomcat

2018-11-13 Thread Rémy Maucherat
On Tue, Nov 13, 2018 at 2:50 PM Richard Tearle < richard.tea...@northgateps.com> wrote: > Hi > > Our applications are all working fine with Tomcat 8.5.34 and Tomcat > Native 1.2.17; Centos 7.5; OpenSSL 1.0.2k-fips 26 Jan 2017; Oracle > Java JRE 8u172 > > On upgrading to Tomcat 8.5.35 and Tomcat

Re: Translation help wanted

2018-11-13 Thread Rémy Maucherat
On Mon, Nov 12, 2018 at 12:49 PM Mark Thomas wrote: > I'm aiming to export the translations on a regular basis to the Tomcat > source code. How regularly will depend on the rate of new/updated > translations but as a minimum, I'm aiming to get any updates into the > next Tomcat 9 release. > Ok.

Re: TLS1.3 support for tomcat 7 with APR/tomcat-native

2018-10-11 Thread Rémy Maucherat
On Thu, Oct 11, 2018 at 4:52 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Усманов, > > On 10/10/18 11:12 AM, Усманов Азат Анварович wrote: > > Thanks Cristopher, I already did. All that´s left is to get the > > latest patch

Re: AJP-APR versus AJP-NIO and AJP-NIO2

2018-08-31 Thread Rémy Maucherat
On Fri, Aug 31, 2018 at 7:18 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > James, > > On 8/31/18 09:27, recai james wrote: > > What is the biggest difference about these connectors? Which one > > performs the best? Is anybody

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Rémy Maucherat
s chosen by default and send that request. Good > luck! > > Thanks ! > > On 3 July 2018 at 10:24, Rémy Maucherat wrote: > > > On Mon, Jul 2, 2018 at 5:14 PM Piotr Joński wrote: > > > > > Hi, of course I use it together with multipart request. > >

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Rémy Maucherat
update it as needed. Rémy > > On 2 July 2018 at 16:58, Rémy Maucherat wrote: > > > On Mon, Jul 2, 2018 at 4:35 PM Piotr Joński wrote: > > > > > Java: openjdk version "1.8.0_163" > > > OpenJDK Runtime Environment (Zulu 8.28.0.1-linux64) (buil

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-02 Thread Rémy Maucherat
On Mon, Jul 2, 2018 at 4:35 PM Piotr Joński wrote: > Java: openjdk version "1.8.0_163" > OpenJDK Runtime Environment (Zulu 8.28.0.1-linux64) (build 1.8.0_163-b01) > OpenJDK 64-Bit Server VM (Zulu 8.28.0.1-linux64) (build 25.163-b01, mixed > mode) > > OS: Ubuntu 18.04 Linux local

Re: Tomcat Secure WebSockets clients - hostname verification

2018-06-12 Thread Rémy Maucherat
On Tue, Jun 12, 2018 at 7:05 PM André Warnier (tomcat) wrote: > This is a bit OT, but I have a question since the beginning of this thread > : > Is Tomcat really supposed to provide a websocket *client* API ? > Yes, the client API is part of the websockets EE specification. Initially, Tomcat

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-06-02 Thread Rémy Maucherat
On Sat, Jun 2, 2018 at 9:25 PM Alex Marchevskiy wrote: > Hi Rémy, > > Thank you for your quick follow up to the issue posted by Adam. I have > been reviewing the patch from r1832519 and it appears that if a connection > is established and no bytes are sent, the socket remains open indefinitely >

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Rémy Maucherat
On Wed, May 30, 2018 at 6:24 PM Adam Feder wrote: > On Wed, May 30, 2018 at 1:34 AM, Rémy Maucherat wrote: > > > > > I have now added the timeout during handshake. > > > > Thanks for the quick fix, Rémy! > > I haven't figured out what the release cycle is for

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Rémy Maucherat
On Wed, May 30, 2018 at 5:49 AM Adam Feder wrote: > I've run it a little my Intellij IDEA with breakpoints in the code to > watch the Acceptor accept the connection and I don't see any timers > being set during the handshake phase, but i could have easily missed > them. > > Is this behavior

Re: slow or timeout with client certificate and some http client against tomcat 8.5 with Nio2 OpenSSL implementation

2018-05-02 Thread Rémy Maucherat
On Wed, May 2, 2018 at 12:22 PM Mark Thomas <ma...@apache.org> wrote: > On 02/05/18 09:31, Rémy Maucherat wrote: > > On Wed, May 2, 2018 at 5:19 AM Hugh H <xuhu_...@outlook.com> wrote: > > > >> Hi Mark, > >> > >> Here are the logs yo

Re: slow or timeout with client certificate and some http client against tomcat 8.5 with Nio2 OpenSSL implementation

2018-05-02 Thread Rémy Maucherat
On Wed, May 2, 2018 at 5:19 AM Hugh H wrote: > Hi Mark, > > Here are the logs you requested > > client: > https://1drv.ms/t/s!Aii8T4l0bnqVlyAuRIjSuluBe8vy > > server: > https://1drv.ms/u/s!Aii8T4l0bnqVlx-TGo6I0dMXZxG1 > > > I checked the system clock right before my testing

Re: slow or timeout with client certificate and some http client against tomcat 8.5 with Nio2 OpenSSL implementation

2018-05-01 Thread Rémy Maucherat
On Tue, May 1, 2018 at 3:31 PM Mark Thomas wrote: > On 01/05/18 03:11, 旭东 胡 wrote: > > Hi Mark, > > > > Unfortunately, 8.5.31 does not resolve my issue. You can find the > catalina.out log by https://1drv.ms/u/s!Aii8T4l0bnqVlx0mqtHngJ_1OvRo. > > From my client log the timeout

Re: Socket accept failed: The specified network name is no longer available.

2018-04-16 Thread Rémy Maucherat
On Mon, Apr 16, 2018 at 4:51 PM, Igor wrote: > If this is really such a simple problem then how can I get rid of its > output > into error log? > You can always configure the logging if you'd like to filter this one out, but this looks like a serious error during

Re: Socket accept failed: The specified network name is no longer available.

2018-04-16 Thread Rémy Maucherat
On Sun, Apr 15, 2018 at 1:32 PM, Igor T wrote: > I'm experiencing many "Socket accept failed: The specified network > name is no longer available." exceptions in the Tomcat error log. > > These exceptions happen both on port 80 and 443. Both connectors are > using

Re: Is tomcat6.0 impacted with these vulnerabilities (CVE-2018-1304, CVE-2018-1305)?

2018-04-04 Thread Rémy Maucherat
On Wed, Apr 4, 2018 at 1:02 PM, Mark Thomas <ma...@apache.org> wrote: > On 04/04/18 11:54, Rémy Maucherat wrote: > > On Wed, Apr 4, 2018 at 12:05 PM, Venkata Reddy (Trianz) < > > venkata.re...@trianz.com> wrote: > > > >> Hi Team, > >> > >&

Re: Is tomcat6.0 impacted with these vulnerabilities (CVE-2018-1304, CVE-2018-1305)?

2018-04-04 Thread Rémy Maucherat
On Wed, Apr 4, 2018 at 12:05 PM, Venkata Reddy (Trianz) < venkata.re...@trianz.com> wrote: > Hi Team, > > Could you please help me on whether tomcat6.0.53 version is also impacted > with these vulnerabilities (CVE-2018-1304, Yes. > CVE-2018-1305)? > No. Rémy

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Rémy Maucherat
On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini wrote: > Hi everybody, > > I have found a strange behavior on Tomcat 9.0.5 (originally on Tomcat > 8.5.28). > > > # PROBLEM > > I have two datasources in the same web application: > > type="javax.sql.DataSource"/> >

Re: intermittent connectivity failure under ssl

2018-03-05 Thread Rémy Maucherat
lexo...@apache.org> wrote: > > > Remy, what more information would you like? Any more info on the issue > > that you are referencing? > > > > On Fri, Mar 2, 2018 at 10:56 AM, Rémy Maucherat <r...@apache.org> wrote: > > > >> On Fri, Mar 2, 2018 at 4:19 PM

Re: intermittent connectivity failure under ssl

2018-03-02 Thread Rémy Maucherat
On Fri, Mar 2, 2018 at 4:19 PM, Alex O'Ree wrote: > Ran into a strange problem, not too sure what the problem is. Basically, > I'm getting intermittent connectivity from a http client to tomcat but only > through SSL using the Http11NioProtocol. Some http requests go

Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Rémy Maucherat
On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas wrote: > On 19/02/18 16:23, Coty Sutherland wrote: > > Do we plan on doing any audio or video to go along with the slides for > > these? We could add them to the youtube channel for those that can't > > attend the live training. > >

Re: StoreConfig default registry misspelling

2018-01-21 Thread Rémy Maucherat
On Mon, Jan 22, 2018 at 8:35 AM, d3coder wrote: > I can't enable StoreConfigLifecycleListener with default settings because > of misspelling in class name in default server-registry.xml > XML line 138 - storeFactoryClass="org.apache.catalina.storeconfig. > OpenSSLConfSF" >

Re: [EXTERNAL]Re: org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun Handshake failed

2018-01-05 Thread Rémy Maucherat
On Fri, Jan 5, 2018 at 3:43 PM, Michael Peng < michael.p...@entrustdatacard.com> wrote: > Hi, Remy, > > Is the fix available for 8.5.16? if not, could you please share the code > changes? > This is the fix as the code seemed incorrect when thinking about it some more. Rémy

  1   2   3   >