Re: Tomcat 9.0.37 Clustered DeltaManager Duplicates Session And Loses Session Attributes

2020-10-08 Thread Tim N
> The second seems to the result of a cluster message received which seems odd on the machine where the session is being created I think this was the issue. I've changed: StaticMembershipInterceptor interceptor = new StaticMembershipInterceptor(); int clusterMemberCount = Integer.parseInt(serverP

Re: Tomcat 9.0.37 Clustered DeltaManager Duplicates Session And Loses Session Attributes

2020-10-08 Thread Tim N
Here's the two stack traces, in order of occurrence, for the DeltaSession creation. The second seems to the result of a cluster message received which seems odd on the machine where the session is being created: :109, DeltaSession (org.apache.catalina.ha.session) createEmptySession:471, DeltaManag

Re: Tomcat 9.0.37 Clustered DeltaManager Duplicates Session And Loses Session Attributes

2020-10-08 Thread Tim N
> Can you show us how you configured this cluster please? Sure. Tomcat tomcat = new Tomcat(); tomcat.setBaseDir(baseDir); tomcat.getServer().setAddress("127.0.0.1"); tomcat.getServer().setPort(shutDownPort); tomcat.getServer().setShutdown("SHUTDOWN"); tomcat.getServer().addLifecycleListener(new

Re: Tomcat 8.5 RequestDumperFilter

2020-10-08 Thread Wolfeman
Ok I was able to get it to work for one of the example apps. I must have a conflicting filter in the we app i'm trying to diagnose. On Thu, Oct 8, 2020 at 3:03 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Wolfeman, > > On 10/8/20 10:33, Wolfeman wrote: > > Hi, > > I am trying t

Re: Tomcat 8.5 RequestDumperFilter

2020-10-08 Thread Christopher Schultz
Wolfeman, On 10/8/20 10:33, Wolfeman wrote: > Hi, > I am trying to debug some requests coming into an application we have > running on tomcat. I was hoping to be able to print all of the request data > specifically post data to a debug file and this seemed like a good > solution. However I have fo

Tomcat 8.5 RequestDumperFilter

2020-10-08 Thread Wolfeman
Hi, I am trying to debug some requests coming into an application we have running on tomcat. I was hoping to be able to print all of the request data specifically post data to a debug file and this seemed like a good solution. However I have followed the tomcat documentation for tomcat 7 and tomcat

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

2020-10-08 Thread Christopher Schultz
Raivo, On 10/8/20 07:22, Raivo Rebane wrote: > Hello > > if I start standalone tomcat program looks like: > > 17868 ?    Sl 0:02 /usr/lib/jvm/default-java/bin/java > -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties > -Djava.util.logging.manager=org.apache.juli.C

Re: Static context from server.xml no longer working after upgrade to tomcat 9.0.37

2020-10-08 Thread Christopher Schultz
Linda, On 10/7/20 10:36, Haddix, Linda wrote: > We are in the process of upgrading from Tomcat 8.0.36 to Tomcat 9.0.37 > for the samesite cookie issue.  We found very few differences in the > version except for > > a context (static)  in server.xml for static content now gives a 404 in > tomcat. 

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

2020-10-08 Thread Garret Wilson
On 10/7/2020 10:12 AM, Garret Wilson wrote: … But anyway, let me tell you the idea I had this morning. In a way, you hinted at it in your reply. Why do I need to use S3 as a store if my application is running on AWS, and AWS already has the AWS Certificate Manager which already manages an SSL

Re: Is Tomcat7 supports HTTP2

2020-10-08 Thread Christopher Schultz
Martin, On 10/8/20 02:35, Martin Grigorov wrote: > 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 applica

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

2020-10-08 Thread Christopher Schultz
Garret, On 10/7/20 13:12, Garret Wilson wrote: > As always thanks for the discussion, Chris. More replies and a new idea > below: > > On 10/6/2020 2:45 PM, Christopher Schultz wrote: >> … >> What if your Docker container would just run certbot on launch? > > But then I'm back to being a sysadmin

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

2020-10-08 Thread Martin Grigorov
On Thu, Oct 8, 2020 at 3:31 PM Raivo Rebane wrote: > Hello > > if I start standalone tomcat program looks like: > > 17868 ?Sl 0:02 /usr/lib/jvm/default-java/bin/java > -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties > -Djava.util.logging.manager=org.apache.j

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 Grigorov , > users-get.123_...@tomcat.a

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

2020-10-08 Thread Raivo Rebane
Hello if I Istart tomcat program looks like:  17868 ?    Sl 0:02 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.security.egd=file:///dev/urandom -Dja

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

2020-10-08 Thread Raivo Rebane
Hello if I start standalone tomcat program looks like: 17868 ?    Sl 0:02 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.security.egd=file:///dev/ura

Re: Tomcat 9.0.37 Clustered DeltaManager Duplicates Session And Loses Session Attributes

2020-10-08 Thread Mark Thomas
On 08/10/2020 10:04, Tim N wrote: > Hi, > > I'm in the early stages of analysing this problem: > >- Tomcat Embedded 9.0.37 with clustering enabled >- SpringBoot application, 2.1.16 >- Login with no existing JSESSIONID fails > > I can see the following code is executed twice within on

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

2020-10-08 Thread Raivo Rebane
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_...@tomcat.apache.org Hello I debaged the jars list and got following: 08

Tomcat 9.0.37 Clustered DeltaManager Duplicates Session And Loses Session Attributes

2020-10-08 Thread Tim N
Hi, I'm in the early stages of analysing this problem: - Tomcat Embedded 9.0.37 with clustering enabled - SpringBoot application, 2.1.16 - Login with no existing JSESSIONID fails I can see the following code is executed twice within one request, the login attempt: *~/.m2/repository/org

Re: new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-08 Thread Mark Thomas
On 07/10/2020 18:51, Mark Thomas wrote: > > > On 07/10/2020 18:29, marc.davenp...@oracle.com wrote: >> I'm doing a simple upgrade from 9.0.35 to 9.0.38 embed. I notice some >> significant changes that I don't see listed in the changelog. > > There are covered by the entry for bug 64540. > >> Un

Re: new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-08 Thread Mark Thomas
On 08/10/2020 09:20, Mark Thomas wrote: > On 07/10/2020 20:55, marc.davenp...@oracle.com wrote: >> On 10/7/20 2:50 PM, Mark Thomas wrote: >>> On 07/10/2020 19:47, marc.davenp...@oracle.com wrote: On 10/7/20 1:51 PM, Mark Thomas wrote: > On 07/10/2020 18:29, marc.davenp...@oracle.com wrote:

Re: new module-info.class & tomcat-embed-programmatic.jar in 9.0.38 embed distribution.

2020-10-08 Thread Mark Thomas
On 07/10/2020 20:55, marc.davenp...@oracle.com wrote: > On 10/7/20 2:50 PM, Mark Thomas wrote: >> On 07/10/2020 19:47, marc.davenp...@oracle.com wrote: >>> On 10/7/20 1:51 PM, Mark Thomas wrote: On 07/10/2020 18:29, marc.davenp...@oracle.com wrote: > I'm doing a simple upgrade from 9.0.35