Migrating from TC9 to TC10. Can the jakartaConverter log problem cases?

2023-10-13 Thread Martin Knoblauch
ork somewhere? How to enable it? Sorry if this is a stupid question. Thanks in advance Martin -- -- Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de

How to setup Apache web server for a Tomcat deployed Spring application

2023-09-15 Thread Martin Moore
Hello, I have a situation where I want to call an Tomcat deployed Spring application remotely without adding the port number (8080), I had tried to use 80 in Connector but wasn't able to connect to it when outside the LAN. So I resorted to creating a proxy server using Apache2 Web Server (along

Re: [mod_jk] Is it possible to set the value of a specific attribute via HTTP?

2023-07-03 Thread Martin Knoblauch
st proxy to the HTTPS port? Is there an equivalent to jkmanager with mod_proxy? Thanks Martin -- ------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de

CVE-2021-43980 completely fixed?

2022-12-12 Thread Martin Garbe
bug exists. * We replaced tomcat with undertow and all e2e tests run fine. >From our point of view, we have an environment/configuration which triggers >this bug very often 100%). If you need anybody to test further fixes, then we can help you. Please let us know. Best regards, Martin Garbe

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
@Rob this is the command: %CATALINA_HOME%\bin\startup.bat Le dim. 9 oct. 2022 à 21:30, Rob Sargent a écrit : > > > > On Oct 9, 2022, at 8:54 AM, Martin Moore > wrote: > > > > @thomas.hoffm...@speed4trade.com.invalid > > how to use the debugger in >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
more hidden in some other routines which might use a > MappedByteBuffer to read or write. > > > > > > Le dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) > > a écrit : > > > > > > > > > -Ursprüngliche Nachricht- > > >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) a écrit : > > > -Ursprüngliche Nachricht----- > > Von: Martin Moore > > Gesendet: Sonntag, 9. Oktober 2022 15:37 > > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > > > Betr

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
is locked, it is marked for deletion and when the file lock is > released, the file is physically deleted. > > Maybe you can check with ProcessExplorer from MS whether there is an open > file handle on this file. > > Greetings, > Thomas > > > -Ursprüngliche Nachricht--

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
022 17:36, Martin Moore wrote: > > Hello, > > > > I am facing a problem using Tomcat V8 with my J2ee app that deletes > (using > > file.delete() Java 8) a file from disk (Windows). The file is actually > > deleting only on application level meaning that the applicati

About granting permissions to Tomcat JVM

2022-10-08 Thread Martin Moore
Hello, I am facing a problem using Tomcat V8 with my J2ee app that deletes (using file.delete() Java 8) a file from disk (Windows). The file is actually deleting only on application level meaning that the application does not see the file anymore but if i open the folder i still see the file

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

RE: Tomcat 9.0.x JDBC connection pool does not always remove abandoned connections

2021-10-15 Thread Martin, Gerhardt A
t always remove > abandoned connections > > Gerhardt, > > On 10/12/21 13:27, Martin, Gerhardt A wrote: > > Running Tomcat 9.0.50 on Centos 7.9.x Linux and using Tomcat JDBC > connection pool to connect to my application's databases. My app connects to > about a dozen read

Tomcat 9.0.x JDBC connection pool does not always remove abandoned connections

2021-10-12 Thread Martin, Gerhardt A
uld not be able to clobber a running connection that was borrowed from the pool. Anyone able to help me understand what I saw in my testing? Could this be a Tomcat connection pool bug? -Regards- Gerhardt Martin | Sr. Software Architect Snap-on Business Solutions 4025 Kinross Lakes Parkway | R

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: 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: Memory vs. Heap Space

2021-04-13 Thread Martin Knoblauch
fMemoryError" to the Java options. Look at the dump to see whether you have a leak in some rarely exercised code path. Cheers Martin On Tue, Apr 13, 2021 at 1:12 AM Jerry Malcolm wrote: > I'm getting TC crashes (ver 8.5) with "out of memory" errors. I > understand heap s

Re: Tomcat 9.0

2021-04-08 Thread Martin Grigorov
changelog.html for the changes in each version. Martin > > Regards > Eliyas > This communication and its attachments contain confidential information > and is intended only for the named addressee. If you are not the named > addressee you should not disseminate, distribute or cop

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

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: > > > >

Re: Keeping a session active with ajax

2021-03-15 Thread Martin Grigorov
m the web container (Tomcat). Wicket creates a copy of the HttpSession at WebSocket connection creation time and uses it until the closing of the connection. So, yes, the real http session may expire if you use only websocket based communication. Martin P.S. Congrats for Apache OpenMeetings 6.0! > >

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

Re: Issue in CSS render with tomcat version 8.5.58 onwards

2021-03-12 Thread Martin Grigorov
s from the Manager we application >for better code maintenance and replaced the GIF logo with SVG. (isapir) > > No, this is not the problem. This changes modified the Manager application that you may use to deploy/start/stop your applications. Regards, Martin > Regards > Shiv Garg >

Re: TOMCAT 10

2021-02-12 Thread Martin Nybo Andersen
ssnCntxt = getServletConfig().getServletContext(); > > Tested by deploying on the container, gives error > > Can some body tell me What changes need to be done to > > > Thx in advance > > *N.S.KARTHIK* Hi, Which error does it give? Do you have a stack trace? Regards, M

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
n chips (Kunpeng), not Graviton2. TLDR - everything runs just fine! :-) In the beginning we had some bad performance results but they were caused by the load testing tools - https://martin-grigorov.medium.com/compare-apache-tomcat-performance-on-x86-64-and-arm64-cpu-architectures-aacfbb0b5bb6

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

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

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,

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> đã

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

2020-11-12 Thread Martin Grigorov
On Thu, Nov 12, 2020 at 2:40 PM Ayub Khan wrote: > Martin, > > Could you provide me a command which you want me to run and provide you the > results which might help you to debug this issue ? > 1) start your app and click around to load the usual FDs 2) lsof -p `cat /var/

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

2020-11-12 Thread Martin Grigorov
On Thu, Nov 12, 2020 at 10:37 AM Ayub Khan wrote: > Martin, > > These are file descriptors, some are related to the jar files which are > included in the web application and some are related to the sockets from > nginx to tomcat and some are related to database connections. I

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
same error. > > Just a very interesting test: if I add an empty JAR (no class files in it) > file to setenv.sh (no Sentry jars at all) that I got the same error. > It seems that adding an empty jar to classpath case this classloading > problem :( > I've just tested this on 10.0.0-M9

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
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 a

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] >

Re: Can Tomcat 9 be FIPS compliant without OpenSSL?

2020-11-05 Thread Martin Grigorov
compliance decision. > Please check the README of this project - https://github.com/amitlpande/tomcat-9-fips Amit Pande recently shared it here at users@. Regards, Martin > > Thanks, > Avik Ray > > - > To unsubs

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
-core:jar:9.0.39:compile (file:///home/martin/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.39/tomcat-embed-core-9.0.39.jar) [INFO] ImageClasspath Entry: org.apache.tomcat:tomcat-annotations-api:jar:9.0.39:compile (file:///home/martin/.m2/repository/org/apache/tomcat/tomcat-annotations-api

Re: Deploying war, Negative Date exception

2020-10-12 Thread Martin Grigorov
inerBase.addChildInternal(ContainerBase.java:717) > ... 24 more > Caused by: java.lang.IllegalArgumentException: Negative time > at java.base/java.io.File.setLastModified(File.java:1441) > The negative time comes from jarEntry.getTime() - https://github.com/apache/tomcat/blob/d6e5d

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

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-08 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

Re: Is Tomcat7 supports HTTP2

2020-10-08 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

Re: VersionLoggerListener

2020-10-07 Thread Martin Grigorov
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 > >> > &g

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

Re: Unclear sentence in FailedRequestFilter's javadoc

2020-10-06 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-06 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-06 Thread Martin Grigorov
], SocketStatus [ERROR] If I just change the protocol to org.apache.coyote.http11.Http11NioProtocol then everything is OK. To reproduce: 1) git clone https://github.com/martin-g/http2-server-perf-tests.git 2) cd java/tomcat 3) mvn package 4) java -Dtomcat.http2=true -Dtomcat.protocol=org.apache.coyote.http11

Unclear sentence in FailedRequestFilter's javadoc

2020-10-05 Thread Martin Grigorov
with *addresses* that use request.getInputStream() and request.getReader()" I am not English native speaker, so it might be correct, but it looks like the wrong word is used here. Martin

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 reques

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
tried increasing the maxThreads from 200 to 1000, but still GC was struggling ." My Servlet looks like this: https://github.com/martin-g/http2-server-perf-tests/blob/f5e73d73a864d4c7dbcbbbe80024764352383116/java/tomcat/src/main/java/info/mgsolutions/tomcat/PlainTextServlet.java#L37-L54 And the Vege

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

2020-09-30 Thread Martin Grigorov
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. > > > > With a payload of 200 bytes we were able to send 20K requests/sec with > 200 users

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

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

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 you c

ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
are done for each new request. I see that org.apache.tomcat.util.net.WriteBuffer does some pooling already. What do you think? Martin

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
On Fri, Sep 25, 2020 at 1:18 PM Arshiya Shariff wrote: > Thanks Martin . > > Our expectation Is that , on receiving a RST_STREAM with CANCEL or > NO_ERROR from the client after 1.5 secs for a particular stream , we don’t > want the connection to be closed with a GOAWAY:NO_ERROR

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

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

Re: Low throughput with HTTP2

2020-09-23 Thread Martin Grigorov
pec compliant but most probably is also a reason for the lower throughput. More findings: I've debugged Netty code and it never receives RST_STREAM with CANCEL error at https://github.com/martin-g/http2-server-perf-tests/blob/2f628c407e2ea29be99e756a61e555d88addaa01/java/netty-http2-test/src/main/java/

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
Hi, On Tue, Sep 22, 2020 at 1:47 PM Arshiya Shariff wrote: > Thank you so much Martin for the response. > Yes , 9.0.38 testing is on going . > > As we don’t get this clear with the RFC , please help us with the below > two cases : * If a client sends RST_STREAM with NO_ER

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 > >

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

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:

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 an

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 out t

Low throughput with HTTP2

2020-09-15 Thread Martin Grigorov
codes, just 200. Vegeta reports the error with status code = 0. I think this just means that it didn't get a proper HTTP response but just TCP error. There are no errors in catalina.out. Are there any settings I can tune to get better throughput with HTTP2 ? Tomcat 10.0.0-M8. Regards, Martin

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.

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

2020-09-10 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 ,

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

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

  1   2   3   4   5   6   7   8   9   10   >