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-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 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
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 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
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 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: 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-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-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-23 Thread Martin Grigorov
s way is spec 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

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

ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
new allocations 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: 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

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

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

2020-09-30 Thread Martin Grigorov
o we 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

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 &

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

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

A lot of EOFs when using NIO2 with HTTP2

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

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

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-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: 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: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: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: 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: 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: 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: 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: 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: 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: 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: Deploying war, Negative Date exception

2020-10-12 Thread Martin Grigorov
ContainerBase.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/d6e5d8

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

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

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: 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: 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-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: 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: 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: 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: 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: Tomcat on Amazon's Graviton2

2021-02-11 Thread Martin Grigorov
e on ARM64 architecture but on Huawei HiSilicon 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

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: Issue in CSS render with tomcat version 8.5.58 onwards

2021-03-12 Thread Martin Grigorov
e 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: 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: 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
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: 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: 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: 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: Tomcat 9.0

2021-04-08 Thread Martin Grigorov
ngelog.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: Memory vs. Heap Space

2021-04-12 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 hea

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: 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: Tomcat Service on Windows.

2006-06-15 Thread Martin Gainty
In services if you locate the Tomcat service and click on Properties/Log on..You will see which user to invoke Tomcat service HTH, Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is

Re: can't save a context.

2006-06-18 Thread Martin Gainty
Also you will need write/create permissions to the %TOMCAT_HOME%/work folder.. Martin- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error

Re: pdf documents

2006-06-20 Thread Martin Gainty
Those files are in a proprietary format..you'll need to go to adobe and get the PDF plugin/viewer for display- M- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received th

Re: pdf documents

2006-06-21 Thread Martin Gainty
WebAppName/RelativePathToFile/filename) Hope this helps, Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. I

Re: Tomcat java processes eat processor.

2006-06-21 Thread Martin Gainty
Rick-- 2 options go commercial and buy a monitor app that will display all the CPU, Thread, Memory, I/O metrics http://manageengine.adventnet.com/products/applications_manager/monitor-tomcat.html -OR- I found by hand tuning the startup.sh or startup.bat files I could fine tune the number of inv

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Martin Gainty
Garey- Unfortunately that wont work if your Browser disallows cookies If its IE Check out the IE options- Tools Internet Options Privacy Advanced look at "switched on Always allow Session Cookies" HTH, Martin -- *

Re: query

2006-06-21 Thread Martin Gainty
exhaust the orginal JVM's thread pool.. Many Thanks for the thoughtful post- Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email me

Re: file upload speed.

2006-06-21 Thread Martin Gainty
your client sees a HTTP 501 then you have a content error (maybe its expecting text/html when the actual file is text or binary or whatever) Martin -- * This email message and any files transmitted with it contain confidential

RE: Retrieving List from a request/session attribute

2006-06-22 Thread Martin Gainty
class ..message="+exp.getMessage()); } HTH, Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you hav

Re: Tomcat shutdown Problems - Process Does Not Die

2006-06-22 Thread Martin Gainty
Jørgen-- I know with 5.5 you can control Threading by implementing custom APR ThreadPooling.. http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/tomcat/util/net/AprEndpoint.html#acceptorThreadCount Tak, Martin

Re: job offering for a web application developer in switzerland

2006-06-23 Thread Martin Gainty
Leon-- Been awhile since I worked for a german company but it translates to "performance payment" Wann wilst ProjektStart? Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is

Re: Version of Tomcat installed

2006-06-24 Thread Martin Gainty
Good Morning Ed- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy

Re: Version of Tomcat installed

2006-06-24 Thread Martin Gainty
Good Morning Ed- use getServerInfo from ServletContext to obtain Server Information- javax.servlet.ServletContext.getServerInfo(); HTH, Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message

Re: query

2006-06-24 Thread Martin Gainty
Venna- It appears that you *may have* installed another webapp server- When you installed Oracle do you remember installing oc4j or any of the Oracle App Servers along with the DB? Martin -- This email message and any files transmitted with it contain confidential information intended only

Re: query

2006-06-24 Thread Martin Gainty
Please confirm the Connector port number setting from %TOMCAT_HOME%/conf/server.xml - Original Message - From: "veena v" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, June 24, 2006 9:45 AM Subject: Re: query Oracle is insalled on port 8080. I installed tomcat on port 80

Re: strange problem

2006-06-24 Thread Martin Gainty
typical Tomcat Servlet invoking thick or thin driver connection characteristics Caveat Emptor! Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email

Re: JSPs forcing session ID to be created?

2006-06-25 Thread Martin Gainty
In your jsp <%@ page session="false"> Is this what you're looking for?? Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this e

Re: Problem accessing two McKoi databases from Tomcat

2006-06-26 Thread Martin Gainty
how this data should be formatted? e.g. Resultset from DB1 followed by Resultset from DB2 -OR- one line of Data from DB1 interleaved by 1 line from DB2 Anyone else ??? Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to

Re: query

2006-06-26 Thread Martin Gainty
there is a deadlock situation occurring-- Keep us apprised, Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the

Re: sort an array

2006-06-27 Thread Martin Gainty
Bernadel- Have you looked at aggregating all of the items into either a SortedMap (sorted on the natural order of the keys) or perhaps a SortedSet (sorted according to natural ordering of its elements)?? http://java.sun.com/j2se/1.5.0/docs/api/ Saludos! M- ***

Re: Programmatic Security

2006-06-27 Thread Martin Gainty
authentication (a simple username/password) via the servlet Remember to tell .htaccces to disallow execute write and pretty much read permissions on everything except for your username/password screen Martin -- This email message and any files transmitted with it contain confidential information

Strange Tomcat Problem

2006-06-28 Thread Martin Grogan
JPEG screenshot to show what the frames look like. Individually, if I drag the frame files (top.html and left.html) into a browser window, they display just fine. I have validated the frameset page against W3C standards and it shows up fine. Any help is appreciated, Thanks, Martin M

Re: Cannot use Tomcat

2006-06-28 Thread Martin Gainty
Antonio- someone has been mucking with the file/folder permissions..In other words its not your fault.. Martin-- * This email message and any files transmitted with it contain confidential information intended only for the

exec'ing ksh from Servlet

2006-06-29 Thread Martin Gainty
Suggestions to find out what is happening??? Many Thanks, Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you

Re: exec'ing ksh from Servlet

2006-06-29 Thread Martin Gainty
clue what ksh process is actually doing .. ??? Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you h

Re: exec'ing ksh from Servlet

2006-06-30 Thread Martin Gainty
Fantastic..worked like a charm Thanks Leon! Martin-- P.S. Will you be going to Switzerland to work with Frank?? * This email message and any files transmitted with it contain confidential information intended only for the person

Re: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Martin Gainty
Good Afternoon Mr McDaniel- Here is my startup script for Windows version of Tomcat "C:\Tomcat\Tomcat 5.5\bin\tomcat5.exe" //RS//Tomcat5 Martin -- P.S. Do you have any relations named Tim that work in chelmsford??? *

Re: problem with doPost method - executed twice

2006-06-30 Thread Martin Gainty
Need to see the invoking JSP .. (in the case you might have something like..) and then later on the submit or onClick onSubmit="goToThisServlet" ???? Martin -- * This email message and any files transmitted with

RE: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Martin Gainty
Mr McDaniel check the logs specifically catalina.out OR stdout_MMDD.log HTH, Martin -- __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a

<    1   2   3   4   5   6   7   8   9   10   >