Re: tomcat9 classpath

2020-10-06 Thread Konstantin Kolinko
вт, 6 окт. 2020 г. в 23:11, Christopher Schultz : > > Nothing you add or remove from catlaina.properties will change what is > shown when you run "ps" and look at the command-line used to launch the JVM. > > Fortunately, it doesn't matter. Tomcat will configure the "common" and > "shared" ClassLoad

Re: completely automated (for real) Let's Encrypt on embedded Tomcat

2020-10-06 Thread James H. H. Lampert
On 10/6/20 2:48 PM, Christopher Schultz wrote: Thanks for mentioning LEGO. Any time I've been mentioning certbot, you can replace that with $your-favorite-acme-client. You're welcome. LEGO definitely cut my Gordian Knot on that particular project, wherein Certbot absolutely, positively, refus

Re: completely automated (for real) Let's Encrypt on embedded Tomcat

2020-10-06 Thread Christopher Schultz
James, On 10/5/20 19:59, James H. H. Lampert wrote: > I'm coming into this conversation late, so what I say could be > completely irrelevant, but when I recently set up an independent (i.e., > not behind httpd) Tomcat server on one of our AWS EC2 instances, and > could not get certbot to function

Re: completely automated (for real) Let's Encrypt on embedded Tomcat

2020-10-06 Thread Christopher Schultz
Garret, On 10/5/20 19:45, Garret Wilson wrote: > On 10/5/2020 2:42 PM, Christopher Schultz wrote: >> … >> Sure, it can contain S3 credentials and you can pick-up your key and >> certificate (or, better yet, the whole keystore) there, but at that >> point you have "moved" the problem outside of Tom

Re: tomcat9 classpath

2020-10-06 Thread Christopher Schultz
Raivo, Please don't email directly. Use the mailing list instead. (Apologies if I emailed both you AND the list.) On 10/6/20 14:59, Raivo Rebane wrote: > How I undrestand is that these files is added to tomcat common classpath > or does there are several classpaths ? In Java there can be many Cl

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Christopher Schultz
Larvi, On 10/6/20 14:36, Larvi wrote: > Chris, > > I know this issue is strange and I too dont know what exactly is going on, > for now I am only able to replicate this issue and find a workaround for > this, so let me explain how I am able to replicate this issue. > > Case 1: > When I login to

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Larvi
Chris, I know this issue is strange and I too dont know what exactly is going on, for now I am only able to replicate this issue and find a workaround for this, so let me explain how I am able to replicate this issue. Case 1: When I login to the application using the dns for the first time it wor

Re: tomcat9 classpath

2020-10-06 Thread Christopher Schultz
Raivo, On 10/6/20 12:27, Raivo Rebane wrote: > Hello > > I have following line in catalina.properties file where I want to add > /opt/tomcat/latest/lib/*.jar to classpath > > But If I start Tomcat9 no jars appear in classpath. Which classpath? > and line in catalina.properties is following: >

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Christopher Schultz
Larvi, On 10/6/20 03:28, Larvi wrote: > Can you please help me with this. Can you give some examples? It's not easy to understand what you are doing and what is happening to you. -chris > On Tue, Sep 29, 2020 at 11:51 AM Larvi Boy wrote: > >> Hi Chris, >> >> Yes, When I did $ host [hostname],

Re: Adding regular expression support to CORS filter

2020-10-06 Thread Carsten Klein
Chris, On 9/28/20 02:40, Christopher Schultz wrote: Carsten, On 9/27/20 05:53, Carsten Klein wrote: Any comments on that? Is it worth preparing a PR? Regular expressions are fairly expensive. Yes, but my measurements of the HashSet-lookups were wrong, since hashValue() of a String gets ca

tomcat9 classpath

2020-10-06 Thread Raivo Rebane
Hello I have following line in catalina.properties file where I want to add /opt/tomcat/latest/lib/*.jar to classpath But If I start Tomcat9 no jars appear in classpath. and line in catalina.properties is following: common.loader="/opt/tomcat/latest/lib/*.jar","/opt/tomcat/latest/bin/*.jar"

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: > >> > >>> On 06/10/2020 07:30, Martin Grigorov wrote: > Hi,

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Mark Thomas
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: >> >>> 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: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 the request rate to more than 500 requests per second i

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 > > starts failing with: > > > > 06-Oct-2020 09:1

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: > > I'm unable to reproduce this with a 10

Re: A lot of EOFs when using NIO2 with HTTP2

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

Re: A lot of EOFs when using NIO2 with HTTP2

2020-10-06 Thread Mark Thomas
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: I'm unable to reproduce this with a 10.0.x build requesting a simple text file from the ROOT web app usin

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Larvi
Hi Chris, All, Can you please help me with this. On Tue, Sep 29, 2020 at 11:51 AM Larvi Boy wrote: > Hi Chris, > > Yes, When I did $ host [hostname], I get the IP address that I am trying > to use. > > Below are the Engine and Host configurations from server.xml. > > > > > > >