Re: Tomcat testing

2021-12-08 Thread Martin Grigorov
HI, On Wed, Dec 8, 2021 at 11:20 AM Mark Thomas wrote: > On 08/12/2021 08:44, Hiran CHAUDHURI wrote: > > Hello there. > > > > My organization requires that Tomcat releases - especially patches - get > tested before we propagate them into production environments. > > For sure similar tests are ru

Re: Enhancement: Additional user attributes queried by (some) realms

2021-06-01 Thread Martin Grigorov
On Tue, Jun 1, 2021 at 12:46 PM Carsten Klein wrote: > > > On 01/06/2021 10:18, Mark Thomas wrote: > > > I don't know if you can. I suspect not. By all means see if you can. I'm > > mildly curious to find out the answer. Whether you can or not, you don't > > need to. > > I found nothing to re-tri

Re: Emdbedded Tomcat Issues

2021-04-26 Thread Martin Grigorov
On Mon, Apr 26, 2021 at 4:18 AM dana whitelow wrote: > > Embedded Tomcat 9.0.0.M6 > Please use newer version. 9.0.0.M6 is released May 2016. Latest 9.x release is 9.0.45. > > > Issue 1 > //ctx.setAltDDName( > "/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml"); >

Re: Tomcat 9.0

2021-04-08 Thread Martin Grigorov
Hi, On Thu, Apr 8, 2021 at 3:25 AM Mohamed Eliyas Abdul Kadar < mohamed.ka...@neogenomics.com> wrote: > Hi All > I am planning to use Tomcat for my development server. Initially we > planned to go with version Tomcat 9.0.41. Now I see newer versions are > release on top of that and see the latest

Re: Tomcat Error: VersionLoggerListener

2021-04-01 Thread Martin Grigorov
Hi, On Thu, Apr 1, 2021 at 1:42 PM KISHOR S.JADHAV wrote: > Hi Team, > I am trying to run my war file in tomcat version 8.5 is not working so I > have decrease the tomcat version and using the Tomcat8 but in this, I am > getting the below error, > > [image: image.png] > > > [image: image.png]

Re: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Martin Grigorov
On Wed, Mar 17, 2021, 20:27 Eric Robinson wrote: > > From: Martin Grigorov > > Sent: Wednesday, March 17, 2021 12:45 PM > > To: Tomcat Users List > > Subject: Re: Wait... NULL address in java.net.BindException: Address > already > > in use (Bind failed) ??? &

Re: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Martin Grigorov
Hi, On Wed, Mar 17, 2021, 19:34 Eric Robinson wrote: > Getting error: > > java.net.BindException: Address already in use (Bind failed) :3787 > Please paste more lines of the exception. Also please tell us which version of JDK/JRE you use. This exception is very cryptic and does not usually tell

Re: Keeping a session active with ajax

2021-03-15 Thread Martin Grigorov
Chris, On Mon, Mar 15, 2021, 18:28 Christopher Schultz < ch...@christopherschultz.net> wrote: > Martin, > > On 3/15/21 04:08, Martin Grigorov wrote: > > Hi Maxim, > > > > On Mon, Mar 15, 2021 at 9:46 AM Maxim Solodovnik > > wrote: > > > >> M

Re: Keeping a session active with ajax

2021-03-15 Thread Martin Grigorov
; Tomcat 9.0.44 > Wicket 9.2.0 :) > > On Mon, 15 Mar 2021 at 14:43, Martin Grigorov > wrote: > > > > Hi, > > > > Which version of Tomcat ? > > > > On Mon, Mar 15, 2021 at 8:25 AM Jerry Malcolm > > wrote: > > > > > In my app a l

Re: Keeping a session active with ajax

2021-03-15 Thread Martin Grigorov
Hi, Which version of Tomcat ? On Mon, Mar 15, 2021 at 8:25 AM Jerry Malcolm wrote: > In my app a logged in user will access a page. But then all of the > interaction on the page is done back and forth with ajax calls to the > server. The ajax activities within the page could last well over th

Re: Issue in CSS render with tomcat version 8.5.58 onwards

2021-03-12 Thread Martin Grigorov
Hi, On Sat, Mar 13, 2021, 08:16 Shiv Garg wrote: > Hi Team, > we have clients reporting issues with tomcat 8.5.58 version onwards, > stating that CSS is not loading properly in chrome/FF browser. > Please explain more what exactly does not work. Even better create a simple application that demo

Re: Is ARM64 architecture officially supported ?

2021-02-11 Thread Martin Grigorov
Hi Chris, On Thu, Feb 11, 2021 at 12:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Martin, > > On 4/20/20 03:28, Martin Grigorov wrote: > > Hi Michael, > > > > On Sun, Apr 19, 2020 at 9:08 PM Michael Osipov > wrote: > > > >

Re: Tomcat on Amazon's Graviton2

2021-02-11 Thread Martin Grigorov
Hi Chen, On Wed, Feb 10, 2021 at 6:00 PM Chen Levy wrote: > Hello Everyone > > We've been running our Staging environment on ARM64 based servers (Amazon > EC2 T4g) for a while now, and plan to use similar machines to replace our > Production environment's x86-64 based servers in the near future.

Re: How to completely deactivate JSESSIONID cookie entry (in Chrome's Cookie list)

2021-01-29 Thread Martin Grigorov
On Fri, Jan 29, 2021 at 12:03 PM Tillmann Schulz wrote: > Hi there, > > I am using Tomcat 8.5.58 and have a problem with JSESIONID cookie. > It should be possible to completly deactivate the jsessionid cookie with > the following code: > > <%@ page session="false" %> > This says that this partic

Re: Jars in Tomcat lib directory

2021-01-18 Thread Martin Grigorov
Hi, On Mon, Jan 18, 2021 at 10:38 PM Jonnalagadda, Swathi (External) < swathi.jonnalaga...@xerox.com> wrote: > The application was an age old application and was built using ant which > means all required jars will be packaged. > > As part of testing the application after upgrading to Java 1.8 an

Re: Not able to make JSESSIONID cookie secure

2021-01-06 Thread Martin Grigorov
Hi Amit, On Wed, Jan 6, 2021 at 11:15 AM Amit Khosla wrote: > Hi, > > Thanks for the reply. > > We tried the settings on multiple machines. And found that the same > configuration machines gave different results. > We are getting multiple jsessionid cookies being created. In our > application, w

Re: Resource interpreted as Stylesheet but transferred with MIME type text/html: "".

2020-11-22 Thread Martin Grigorov
On Mon, Nov 23, 2020 at 7:26 AM Huynh Nghia wrote: > - Request Headers : Accep:text/css > "Accep" header name misses "t" at the end > - But Reponse : Content-type:text/html > [image: Screenshot_8.png] > > Vào Th 2, 23 thg 11, 2020 vào lúc 11:47 Huynh Nghia < > hhnghiai...@gmail.com> đã viết:

Re: NGINX + tomcat 8.0.35 (110: Connection timed out)

2020-11-12 Thread Martin Grigorov
run/tomcat8.pid` > after_start.txt 3) load your app 4) lsof -p `cat /var/run/tomcat8.pid` > after_load.txt you can analyze the differences in the files yourself before sending them to us :-) > > > On Thu, Nov 12, 2020 at 1:36 PM Martin Grigorov > wrote: > > > On Thu,

Re: NGINX + tomcat 8.0.35 (110: Connection timed out)

2020-11-12 Thread Martin Grigorov
use the > below command to count the open file descriptors > which type of connections increase ? the sockets ? the DB ones ? > > watch "sudo ls /proc/`cat /var/run/tomcat8.pid`/fd/ | wc -l" > you can also use lsof command > > > > On Thu, Nov 12, 2020 at 10:

Re: NGINX + tomcat 8.0.35 (110: Connection timed out)

2020-11-11 Thread Martin Grigorov
On Wed, Nov 11, 2020 at 11:17 PM Ayub Khan wrote: > Chris, > > I was load testing using the ec2 load balancer dns. I have increased the > connector timeout to 6000 and also gave 32gig to the JVM of tomcat. I am > not seeing connection timeout in nginx logs now. No errors in kernel.log I > am not

Re: Timeout waiting to read data from client

2020-11-11 Thread Martin Grigorov
On Thu, Nov 12, 2020 at 12:34 AM Jerry Malcolm wrote: > On 11/9/2020 11:05 AM, Jerry Malcolm wrote: > > > > On 11/9/2020 3:10 AM, Mark Thomas wrote: > >> On 08/11/2020 01:33, Jerry Malcolm wrote: > >>> On 11/7/2020 6:56 PM, Christopher Schultz wrote: > Jerry, > > On 11/6/20 19:49,

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED $ cat bin/setenv.sh export CLASSPATH=$CLASSPATH:$CATALINA_BASE/empty.jar $ ll empty.jar -rw-r- 1 martin martin 22 ное 11 15:48 empty.jar $ jar --list -f empty.jar There is no problem with loading this empty jar and there are no class load

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
sentry jar the web > application works well, there is no problem, but if I add sentry-1.7.29.jar > to classpath then ServletContainerInitializer won't be found by Catalina. > This class is only in $CATALINA_BASE/lib/servlet-api.jar. > > Thanks, Tamás > > On Wed, Nov 11, 2020

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
Hi, On Wed, Nov 11, 2020 at 10:36 AM Tamás Barta wrote: > Hi, > > Now it is a Spring Boot web application project without embedded tomcat. > There is no library in war with javax.servlet api classes. There error is > the same: > > 11-Nov-2020 09:34:06.719 SEVERE [localhost-startStop-1] > org.apa

Re: Can Tomcat 9 be FIPS compliant without OpenSSL?

2020-11-05 Thread Martin Grigorov
Hi, On Fri, Nov 6, 2020 at 8:57 AM Avik Ray wrote: > Dear team, > Sending this query again after subscribing to the mailing list. Sent > it originally 3 days back, but just saw an error response in the spam > folder asking to subscribe first. > > We are using Tomcat 9.0.37 x64 on Windows Server

Re: GraalVM native image for embedded Tomcat

2020-10-16 Thread Martin Grigorov
On Fri, Oct 16, 2020 at 3:43 PM Martin Grigorov wrote: > Hi, > > I am trying to create a GraalVM native image for an application that uses > tomcat-embed-core but it fails with the following error: > > [INFO] --- native-image-maven-plugin:20.2.0:native-image (default) @

GraalVM native image for embedded Tomcat

2020-10-16 Thread Martin Grigorov
Hi, I am trying to create a GraalVM native image for an application that uses tomcat-embed-core but it fails with the following error: [INFO] --- native-image-maven-plugin:20.2.0:native-image (default) @ tomcat-embedded --- [INFO] ImageClasspath Entry: org.apache.tomcat.embed:tomcat-embed-core:ja

Re: Deploying war, Negative Date exception

2020-10-12 Thread Martin Grigorov
Hi Peter, On Mon, Oct 12, 2020 at 2:20 PM Peter Henderson wrote: > Hello fellow tomcat users. > > My environment. > Tomcat: 9.0.39 > Java: openjdk 11.0.8 2020-07-14 > OS: Ubuntu 18.04.5 LTS > > Source code [0] > > When deploying this war [1], by copying it into the webapps directory, > I get thi

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-10-09 Thread Martin Grigorov
Hi Arshiya, On Fri, Oct 9, 2020 at 2:33 PM Arshiya Shariff wrote: > Hi, > > Mark , with the test runs that I performed over clean 9.0.x branch I was > not able to reproduce this. But with 9.0.38 and the jars built from 9.0.x > with hash: c8ec2d4cde3a31b0e9df9a30e7915d77ba725545 , with 700 or 1

Re: Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

2020-10-08 Thread Martin Grigorov
Forwarded Message > > Subject: Re: At least one JAR was scanned for TLDs yet contained > > no TLDs. > > Date: Thu, 8 Oct 2020 13:37:49 +0300 > > From: Raivo Rebane > > To: Martin Grigorov , > > users-get.123_...

Re: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

2020-10-08 Thread Martin Grigorov
On Thu, Oct 8, 2020, 14:00 Raivo Rebane wrote: > > > > Forwarded Message > Subject:Re: At least one JAR was scanned for TLDs yet contained no > TLDs. > Date: Thu, 8 Oct 2020 13:37:49 +0300 > From: Raivo Rebane > To: Martin

Re: At least one JAR was scanned for TLDs yet contained no TLDs.

2020-10-07 Thread Martin Grigorov
Hi, On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane wrote: > Hello > > If I start Tomcat9 I got following: > > [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR > was scanned for TLDs yet contained no TLDs. Enable debug logging for > this logger for a complete list of JARs that w

Re: Is Tomcat7 supports HTTP2

2020-10-07 Thread Martin Grigorov
Hi, On Thu, Oct 8, 2020 at 9:32 AM Tosh, Bibhuti Bhusan (Bibhuti) < bt...@avaya.com> wrote: > HI All, > I am an user of tomcat7 version. I wanted to know this version tomcat > 7.0.105 supports HTTP2 and CVE-2020-11996 is still applicable to tis > version. I did not any reference of tomcat7 suppor

Re: VersionLoggerListener

2020-10-07 Thread Martin Grigorov
> I'd recommend you to download a new .zip/.tgz, or re-install Tomcat. Martin > Regards > > Raivo > > On 07.10.20 14:01, Martin Grigorov wrote: > > Hi, > > > > On Wed, Oct 7, 2020 at 1:51 PM Raivo Rebane wrote: > > > >> Hello > &

Re: VersionLoggerListener

2020-10-07 Thread Martin Grigorov
Hi, On Wed, Oct 7, 2020 at 1:51 PM Raivo Rebane wrote: > Hello > > My tomcat9 don't starts and gives error: > > java.lang.ClassNotFoundException: > org.apache.catalina.startup.VersionLoggerListener > > How to resolve this problem ? > Download Tomcat again. Your installation must be corrupted

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Martin Grigorov
On Tue, Oct 6, 2020 at 12:47 PM Mark Thomas wrote: > On 06/10/2020 10:35, Martin Grigorov wrote: > > On Tue, Oct 6, 2020 at 12:15 PM Martin Grigorov > > wrote: > > > >> > >> > >> On Tue, Oct 6, 2020 at 12:06 PM Mark Thomas wrote: > >> &g

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Martin Grigorov
On Tue, Oct 6, 2020 at 12:15 PM Martin Grigorov wrote: > > > On Tue, Oct 6, 2020 at 12:06 PM Mark Thomas wrote: > >> On 06/10/2020 07:30, Martin Grigorov wrote: >> > Hi, >> > >> > I face an issue with the NIO2 protocol. >> > When I increase

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Martin Grigorov
On Tue, Oct 6, 2020 at 12:13 PM Rémy Maucherat wrote: > 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 > > star

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Martin Grigorov
On Tue, Oct 6, 2020 at 12:06 PM Mark Thomas wrote: > On 06/10/2020 07:30, 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: > &

Re: Unclear sentence in FailedRequestFilter's javadoc

2020-10-05 Thread Martin Grigorov
Hi Konstantin, On Mon, Oct 5, 2020 at 2:53 PM Konstantin Kolinko wrote: > пн, 5 окт. 2020 г. в 14:16, Martin Grigorov : > > > > Hi, > > > > What is the meaning of "addresses" at > > > https://github.com/apache/tomcat/blob/a0fb5f4b42c593fa566878dddfa

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-05 Thread Martin Grigorov
On Tue, Oct 6, 2020 at 9:30 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] >

A lot of EOFs when using NIO2 with HTTP2

2020-10-05 Thread Martin Grigorov
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] org.apache.coyote.http2.Http2UpgradeHandler.init Connection [1], State [NEW] 06-Oct-2020 09:18:19.9

Unclear sentence in FailedRequestFilter's javadoc

2020-10-05 Thread Martin Grigorov
Hi, What is the meaning of "addresses" at https://github.com/apache/tomcat/blob/a0fb5f4b42c593fa566878dddfa213e5f3c9c499/java/org/apache/catalina/filters/FailedRequestFilter.java#L40 ? "Parameter parsing does check content type of the request, so there should not be problems with *addresses* that

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-10-01 Thread Martin Grigorov
On Thu, Oct 1, 2020 at 12:29 PM Mark Thomas wrote: > On 30/09/2020 18:47, Martin Grigorov wrote: > > On Wed, Sep 30, 2020 at 7:47 PM Mark Thomas wrote: > >> On 30/09/2020 16:17, Mark Thomas wrote: > > > > >>> That is helpful. Looks like you hav

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-30 Thread Martin Grigorov
On Wed, Sep 30, 2020 at 7:47 PM Mark Thomas wrote: > On 30/09/2020 16:17, Mark Thomas wrote: > > On 30/09/2020 13:53, Martin Grigorov wrote: > >> On Wed, Sep 30, 2020 at 12:50 PM Martin Grigorov > > > > > > > > > >> When I load test HTTP

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-30 Thread Martin Grigorov
On Wed, Sep 30, 2020 at 12:50 PM Martin Grigorov wrote: > Hi, > > On Wed, Sep 30, 2020 at 11:35 AM Mark Thomas wrote: > >> On 30/09/2020 06:42, Arshiya Shariff wrote: >> > Hi Martin , >> > >> > Thank you for the response. >> > >> >

Re: HTTP2: POST request with a small body leads to GOAWAY + ErrCode=ENHANCE_YOUR_CALM

2020-09-30 Thread Martin Grigorov
On Wed, Sep 30, 2020 at 1:15 PM Martin Grigorov wrote: > > > On Wed, Sep 30, 2020 at 1:01 PM Martin Grigorov > wrote: > >> Hi, >> >> I've tried to test the scenario of Arshiya Shariff: >> "With a payload of 200 bytes we were able to send 20K r

Re: HTTP2: POST request with a small body leads to GOAWAY + ErrCode=ENHANCE_YOUR_CALM

2020-09-30 Thread Martin Grigorov
On Wed, Sep 30, 2020 at 1:01 PM Martin Grigorov wrote: > Hi, > > I've tried to test the scenario of Arshiya Shariff: > "With a payload of 200 bytes we were able to send 20K requests/sec with > 200 users from Jmeter without any memory issue . On increasing the payload &

HTTP2: POST request with a small body leads to GOAWAY + ErrCode=ENHANCE_YOUR_CALM

2020-09-30 Thread Martin Grigorov
Hi, I've tried to test the scenario of Arshiya Shariff: "With a payload of 200 bytes we were able to send 20K requests/sec with 200 users from Jmeter without any memory issue . On increasing the payload to 5Kb and the number of users to 1000 in Jmeter and sending 1000 requests per second , the hea

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-30 Thread Martin Grigorov
- there I get GOAWAY+ENHANCE_YOUR_CALM for very low load. Martin > > Mark > > > > > > Thanks and Regards > > Arshiya Shariff > > > > -Original Message- > > From: Martin Grigorov > > Sent: Monday, September 28, 2020 11:44 PM > >

Re: ApacheCon @ Home Tomcat Track Schedule

2020-09-29 Thread Martin Grigorov
Hi, A friendly reminder: the conference already started and the Tomcat sessions will start in less than 6 hours from now! On Fri, Aug 14, 2020 at 6:49 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I'm happy to annou

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-28 Thread Martin Grigorov
Hi Arshiya, On Mon, Sep 28, 2020 at 7:59 PM Arshiya Shariff wrote: > Hi All, > With 200 threads(users) , ramp up duration of 2 seconds , loop count 80 > and by sending 1000 http2 requests/sec from JMeter Client to an embedded > tomcat application we did not observe any memory issue , but on sen

Re: ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
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 during load testing HTTP2: > > https://pasteboard.co/Jtblqfl.png > > > > As

ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
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) org.apache.catalina.connector.Request#inputBuffer org.apache.coyote.http2.Htt

Re: HTTP2: Tomcat sends GOAWAY when trying to respond over a stream where the client has already sent RST_STREAM:NO ERROR

2020-09-25 Thread Martin Grigorov
ection . > I guess some other error happened and that led to the GOAWAY. But I cannot be sure. Any errors in the logs ? > > Thanks and Regards > Arshiya Shariff > > -----Original Message- > From: Martin Grigorov > Sent: Tuesday, September 22, 2020 7:31 PM > To: Tom

Re: Tomcat's support for path parameters can expose resources despite reverse proxy access restrictions

2020-09-24 Thread Martin Grigorov
On Thu, Sep 24, 2020 at 2:11 PM Martin Grigorov wrote: > Hi, > > On Thu, Sep 24, 2020 at 1:02 PM Nils Breunese wrote: > >> Hello, >> >> I recently learned that when a server that supports path parameters [0] — >> like Tomcat (I found Jetty also does) — is run

Re: Tomcat's support for path parameters can expose resources despite reverse proxy access restrictions

2020-09-24 Thread Martin Grigorov
Hi, On Thu, Sep 24, 2020 at 1:02 PM Nils Breunese wrote: > Hello, > > I recently learned that when a server that supports path parameters [0] — > like Tomcat (I found Jetty also does) — is run behind a reverse proxy that > does path-based access control checks and does not support path parameter

Re: Issue in unpacking files

2020-09-23 Thread Martin Grigorov
received. > > Please treat the file name deployed as ems.war and not ems.wzr. > > Thanks > > Mohan > > > -Original Message- > From: Martin Grigorov > Sent: Wednesday, September 23, 2020 6:00 PM > To: Tomcat Users List > Subject: Re: Issue in unpacki

Re: Issue in unpacking files

2020-09-23 Thread Martin Grigorov
Hi, On Wed, Sep 23, 2020 at 3:03 PM Mohan T wrote: > Dear All, > > > > We have two environments where in one the .war file is getting extracted > and on the other it is not. See the below for your reference. The file > being deployed is ems.wzr > > > > We are using apache-tomcat-8.5.35. Any poi

Re: Low throughput with HTTP2

2020-09-23 Thread Martin Grigorov
Hi, I've debugged further with Wireshark: 1) Golang: https://pasteboard.co/Jsnvx1z.png (SETTINGS, HEADERS+DATA) 2) Nodejs: https://pasteboard.co/JsnwRNV.png (SETTINGS, HEADERS+PARTIAL DATA, DATA) 3) Rust: https://pasteboard.co/JsnxvKGU.png (SETTINGS, HEADERS+PARTIAL DATA+DATA) 4) Netty: https

Re: HTTP2: Tomcat sends GOAWAY when trying to respond over a stream where the client has already sent RST_STREAM:NO ERROR

2020-09-22 Thread Martin Grigorov
-6.8). The server should close the connection only if some serious problem has happened, e.g. an IOException. Tell us more about your use case. What do you want to do when 1.5secs pass ? What do you expect to happen ? > > Thanks and Regards > Arshiya Sharif > > -Original Me

Re: Low throughput with HTTP2

2020-09-22 Thread Martin Grigorov
On Mon, Sep 21, 2020 at 4:46 PM Rémy Maucherat wrote: > 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-

Re: HTTP2: Tomcat sends GOAWAY when trying to respond over a stream where the client has already sent RST_STREAM:NO ERROR

2020-09-21 Thread Martin Grigorov
Hi, On Mon, Sep 21, 2020 at 7:56 PM Arshiya Shariff wrote: > Hi All, > > The client has configured a response timeout of 1.5 seconds. In a case > when our application tries to respond over a http2 stream asynchronously > after 2 seconds where the client has already sent RST_STREAM with NO ERROR

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
On Mon, Sep 21, 2020 at 9:31 PM Martin Grigorov wrote: > > > On Mon, Sep 21, 2020 at 5:52 PM Mark Thomas wrote: > >> On 21/09/2020 13:48, Martin Grigorov wrote: >> > Hi Remy, >> > >> > On Mon, Sep 21, 2020 at 2:56 PM Rémy Maucherat wrote: >&g

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
On Mon, Sep 21, 2020 at 5:52 PM Mark Thomas wrote: > On 21/09/2020 13:48, 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

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
On Mon, Sep 21, 2020 at 3:48 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.Http11NioProtocol :

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
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.Http11NioProtocol : Found processor [null] for > > socket [org.apache.tomcat.util.net.SecureNioChannel@2b435926 > > :java.nio.ch

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
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-21 Thread Martin Grigorov
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-21 Thread Martin Grigorov
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: > > > >> On 18/09/2020 14:07, Martin Grigorov wrote: > >> > >> > >> > >>&g

Re: Low throughput with HTTP2

2020-09-21 Thread Martin Grigorov
On Fri, Sep 18, 2020 at 6:16 PM Mark Thomas wrote: > On 18/09/2020 14:07, Martin Grigorov wrote: > > > > > What is the difference > > between org.apache.coyote.http2.StreamStateMachine.State#CLOSED_RX > > and org.apache.coyote.http2.StreamStateMachine.Sta

Re: Low throughput with HTTP2

2020-09-18 Thread Martin Grigorov
On Fri, Sep 18, 2020 at 10:48 AM Martin Grigorov wrote: > Hi, > > On Wed, Sep 16, 2020 at 10:24 AM Martin Grigorov > wrote: > >> Hi Remy, >> >> On Tue, Sep 15, 2020 at 6:16 PM Rémy Maucherat wrote: >> >>> On Tue, Sep 15, 2020 at 5:08

Re: Low throughput with HTTP2

2020-09-18 Thread Martin Grigorov
Hi, On Wed, Sep 16, 2020 at 10:24 AM Martin Grigorov wrote: > Hi Remy, > > On Tue, Sep 15, 2020 at 6:16 PM Rémy Maucherat wrote: > >> On Tue, Sep 15, 2020 at 5:08 PM Martin Grigorov >> wrote: >> >> > Hi Mark, >> > >> > On Tue, Sep 15,

Re: tomcat warnings. [EXTERNAL]

2020-09-17 Thread Martin Grigorov
On Thu, Sep 17, 2020, 16:07 Beard, Shawn wrote: > Yes its 9.0.31.0 > The last 0 makes me think that you have installed Tomcat by using your OS package manager. Try with stock Tomcat downloaded from Apache servers. > [mwuser@usilg01-tcd003 ~]$ ./version.sh > Using CATALINA_BASE: /path/to/cata

Re: Low throughput with HTTP2

2020-09-16 Thread Martin Grigorov
Hi Remy, On Tue, Sep 15, 2020 at 6:16 PM Rémy Maucherat wrote: > 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 wrot

Re: Low throughput with HTTP2

2020-09-15 Thread Martin Grigorov
Hi Chris, On Tue, Sep 15, 2020 at 5:09 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Martin, > > On 9/15/20 07:37, Martin Grigorov wrote: > > I am running some load tests on Tomcat and I

Re: Low throughput with HTTP2

2020-09-15 Thread Martin Grigorov
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 tests on Tomcat and I&

Re: Low throughput with HTTP2

2020-09-15 Thread Martin Grigorov
On Tue, Sep 15, 2020 at 2:37 PM Martin Grigorov wrote: > Hi, > > I am running some load tests on Tomcat and I've noticed that when HTTP2 is > enabled the throughput drops considerably. > > Here are the steps to reproduce: > > 1) Enable HTTP2, e.g. by commenting

Low throughput with HTTP2

2020-09-15 Thread Martin Grigorov
Hi, I am running some load tests on Tomcat and I've noticed that when HTTP2 is enabled the throughput drops considerably. Here are the steps to reproduce: 1) Enable HTTP2, e.g. by commenting out this connector: https://github.com/apache/tomcat/blob/d381d87005fa89d1f19d9091c0954f317c135d9d/conf/s

Re: Tomcat v9 - Insecure transport vulnerability reported by Qualys

2020-09-15 Thread Martin Grigorov
hi, On Tue, Sep 15, 2020 at 8:20 AM Pratik Shrestha wrote: > Hi Guys, > > Just wanted to know if anyone found an idea on fixing it or a workaround. > Did you find what is the expected behavior by Qualis ? > > Thanks > > Pratik. > > On Fri, Aug 28, 2020 at 10:46 AM Pratik Shrestha > wrote: >

Re: Tomcat Processing Timer Question

2020-09-11 Thread Martin Grigorov
Hi, On Sat, Sep 12, 2020, 02:57 Eric Robinson wrote: > I'm not sure what you mean by measuring at the load balancer level. We're > using the jasper logs and those only exist on the tomcat server itself. I > must be misunderstanding your meaning. > He meant to use the LB's logs for the same. Wha

Re: How to Set Content Security Policy headers in Tomcat 8.5.x

2020-09-09 Thread Martin Grigorov
Hi, On Wed, Sep 9, 2020 at 8:54 PM Nitin Kadam wrote: > Hi All, > > Need to set the *Content security policy* header for Tomcat Web server > (8.5..x) which hosted on Windows server 2012, As per the internal security > team same is not a complaint > can you please help me setting CSP filters for

Re: HTTP2: Connections abruptly closed by sending GOAWAY

2020-09-09 Thread Martin Grigorov
Hi, On Wed, Sep 9, 2020 at 3:31 PM Arshiya Shariff wrote: > Thank you for the response Mark . > > > > Hi All, > > > > Can you please help us understand this behavior . > > The following is the sequence of events that is happening for a few > streams . > > Initially when the stream is opened , it

Re: Release date of latest Tomcat version - 9.0.38

2020-09-02 Thread Martin Grigorov
Hi, On Wed, Sep 2, 2020, 17:46 Arshiya Shariff wrote: > Hi , > Thank you for your response . > Is there a way I can track when the version is released for Voting (or) > will I get notified in the Users list ? > You need to subscribe to the dev@ mailing list. > Thanks and Regards > Arshiya Sh

Re: Tomcat 9 : Unable to specify wildcard care name in Host

2020-08-26 Thread Martin Grigorov
On Tue, Aug 25, 2020 at 3:01 PM Tom Chiverton wrote: > I'd like to propose some changes to the docs, but can not locate their > source to submit a request. > https://github.com/apache/tomcat/blob/master/webapps/docs/config/host.xml This is for Tomcat 10.x (master branch). > > For instance, in

Re: Tomcat v9 - Insecure transport vulnerability reported by Qualys

2020-08-26 Thread Martin Grigorov
Hi, On Wed, Aug 26, 2020 at 7:53 AM Pratik Shrestha wrote: > Thanks for reply, > > Hi Peter - it complains on port 8443 which belongs to Tomcat. > > Hi Mark - Yes. making HTTP request on HTTPS is wrong. But this security > vulnerability is given to us by Qualys scan. It tries to post plain HTTP

Re: Date of EOL and EOS for Tomcat8.5

2020-08-06 Thread Martin Grigorov
Hi, On Wed, Aug 5, 2020 at 5:59 PM Rajat Gupta wrote: > Hi, > > Please let us know the date of End Of Service and End Of Life for Tomcat > *8.5* > It is not known yet. At the moment there is a date set only for 7.0.x: https://tomcat.apache.org/tomcat-70-eol.html Newer versions will live several

Re: Best practices for profiling

2020-08-04 Thread Martin Grigorov
Hi, On Sun, Aug 2, 2020 at 1:09 AM calder wrote: > On Sat, Aug 1, 2020, 15:16 Aryeh Friedman > wrote: > > > On Sat, Aug 1, 2020 at 3:28 PM calder wrote: > > > > > On Sat, Aug 1, 2020 at 12:53 PM Aryeh Friedman < > aryeh.fried...@gmail.com > > > > > > wrote: > > > > > > > > What are the best pr

Re: Error in stopping application tomcat !!

2020-07-23 Thread Martin Grigorov
o consult with the changelogs for all the versions in between. > On Thu, Jul 23, 2020 at 6:00 PM Martin Grigorov > wrote: > > > On Thu, Jul 23, 2020 at 3:10 PM Kushagra Bindal < > bindal.kusha...@gmail.com > > > > > wrote: > > > > > Hi Martin, > > &g

Re: Error in stopping application tomcat !!

2020-07-23 Thread Martin Grigorov
text or the beans with type org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer are not notified to stop for some other reason. > > On Thu, Jul 23, 2020 at 3:22 PM Martin Grigorov > wrote: > >> Hi, >> >> On Thu, Jul 23, 2020 at 6:35 AM Kushagra Bindal < >> bindal.ku

Re: Error in stopping application tomcat !!

2020-07-23 Thread Martin Grigorov
let me know if anything specific is further needed from my end which > I can provide to have a better clarity. > > I have shared the server.xml and command which we are using in stopping the > tomcat. > > > On Thu, Jul 23, 2020 at 2:49 AM Martin Grigorov > wrote: &

Re: Error in stopping application tomcat !!

2020-07-22 Thread Martin Grigorov
On Wed, Jul 22, 2020, 15:55 Kushagra Bindal wrote: > Hi Christopher, > > Did you get a chance to look into this? > > Please help us in resolving this issue. > > On Sat, Jul 18, 2020 at 11:26 AM Kushagra Bindal < > bindal.kusha...@gmail.com> > wrote: > > > Hi Chris, > > > > Additionally when tryin

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Martin Grigorov
> Hello Martin, > > Thanks for your reply > > > https://www.dropbox.com/sh/o6zra7pf2o1xpge/AAA1J7BaVdPDF7s3RjPmy0xBa?dl=0 > > Here is the link I have shared the flame graph. > Also kindly check my answers in red as well. > > Thanks &am

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Martin Grigorov
Hi Ragavendhiran, On Sat, Jul 18, 2020 at 3:55 PM Ragavendhiran Bhiman (rabhiman) wrote: > Hello All, > > > > I am seeing the memory leaks from tomcat apache in the following SSL path > using PKCS11. Attached the flame graph of memory possible memory leaks in > this area. > > Please check the at

Re: Rewrite Valve Problem

2020-07-22 Thread Martin Grigorov
Hi Jerry, On Tue, Jul 21, 2020 at 2:39 AM Jerry Malcolm wrote: > > On 7/20/2020 5:00 PM, Mark Thomas wrote: > > On 20/07/2020 22:43, Jerry Malcolm wrote: > > > > > > > >>> Do you have a ROOT web application deployed? If not, this could be > >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=645

Re: Tomcat relicts from previous installation - ubuntu

2020-07-09 Thread Martin Grigorov
On Thu, Jul 9, 2020, 19:13 Christoph Kukulies wrote: > Is it an Ubuntu peculiarity that a tomcat.service gets installed? I > assume, I’m getting this automatically when doing an > apt-get install tomcat8, right? > Yes. All distros do that. You can download the tar.gz file from https://tomcat.apa

Re: Tomcat relicts from previous installation - ubuntu

2020-07-09 Thread Martin Grigorov
Hi Christoph, On Thu, Jul 9, 2020 at 12:48 PM Christoph Kukulies wrote: > I’m resurrecting tomcat on a server (Ubuntu 18.04.4) on which I had been > running tomcat7 some time ago. > At the moment, when the system has started up, I’m seeing a process: > > root@kuku:~# ps ax | grep -i tomcat > 10

Re: [ANN] New committer: Raymond Augé

2020-07-02 Thread Martin Grigorov
Welcome Raymond! On Thu, Jul 2, 2020, 17:40 Mark Thomas wrote: > On behalf of the Tomcat committers I am pleased to announce that > Raymond Augé (rotty3000) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Kind regards, > > Mark > > --

Re: Junk characters in SOAP request after upgrade to tomcat 9.0.31

2020-06-12 Thread Martin Grigorov
Hi, On Fri, Jun 12, 2020 at 8:17 AM Naveen Kumar wrote: > Hi All, > > Can someone please help on this ? It is in production and affecting many > customers. Upgrading tomcat is a big task. > Any pointers will be really appreciated. > You say "If I upgrade tomcat to 9.0.35, the error disappears."

Re: Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Martin Grigorov
On Tue, Jun 9, 2020 at 11:26 PM Manuel Dominguez Sarmiento wrote: > I would not change this default. GZIP (or other kinds) of response > compression are better addressed as servlet filters. Having the Tomcat > feature is good, but IMHO it should only be enabled by those who need it. > > At least

  1   2   >