Re: Tomcat doesn't propogate Security Credentials during session failover

2020-02-11 Thread Jonathan S. Fisher
Apologies, I'm not seeing how this helps, I don't see where authentication information is transmitted On Tue, Feb 11, 2020 at 5:39 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jon, > > On 2/11/20 5:36 PM, Jonathan S. Fisher

Re: JVM job for Tomcat taking lots and lots of CPU

2020-02-11 Thread calder
On Tue, Feb 11, 2020, 18:40 James H. H. Lampert wrote: > Ladies and Gentlemen: > > We have a customer installation in which the JVM job for our Tomcat > server is frequently using massive amounts of CPU. > > It's Tomcat 7.0.67, running on an AS/400, in a 64-bit Java 7 JVM, with > -Xms3096m and

JVM job for Tomcat taking lots and lots of CPU

2020-02-11 Thread James H. H. Lampert
Ladies and Gentlemen: We have a customer installation in which the JVM job for our Tomcat server is frequently using massive amounts of CPU. It's Tomcat 7.0.67, running on an AS/400, in a 64-bit Java 7 JVM, with -Xms3096m and -Xmx5120m JVM arguments. GC information on the JVM job shows:

Re: Cross-session Persistent Object?

2020-02-11 Thread Jerry Malcolm
On 2/11/2020 4:32 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 2/11/20 3:11 PM, Jerry Malcolm wrote: I need some advice.  I need to maintain a set of long-running threads. When a request comes in, I need to determine if I have a thread started for

Re: Tomcat doesn't propogate Security Credentials during session failover

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 2/11/20 5:36 PM, Jonathan S. Fisher wrote: >> What do you mean by logged out If it's one from Redisson, then >> you should look at their code and not > Tomcat's code. > > So you have two tomcat nodes: A & B, clustered in any fashion >

Re: Tomcat doesn't propogate Security Credentials during session failover

2020-02-11 Thread Jonathan S. Fisher
> What do you mean by logged out > If it's one from Redisson, then you should look at their code and not Tomcat's code. So you have two tomcat nodes: A & B, clustered in any fashion (forget I mentioned redisson) of your choosing; let's say they're clustered using the built in tcp point-to-point

Re: Cross-session Persistent Object?

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 2/11/20 3:11 PM, Jerry Malcolm wrote: > I need some advice. I need to maintain a set of long-running > threads. When a request comes in, I need to determine if I have a > thread started for a particular id found in the request. So I

Re: Tomcat doesn't propogate Security Credentials during session failover

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 2/11/20 2:35 PM, exabrial wrote: > https://stackoverflow.com/questions/59833043/tomcat-logs-user-out-duri ng-session-failover-event-and-restarts > > > > We've implemented session replication using Redisson, but we noticed > that if we

Re: Cross-session Persistent Object?

2020-02-11 Thread M. Manna
If database is the answer, you could use memcache/redis to do this too. It should be able to support multiple servers if you need. Since it’s only persistent based on tomcat, I was thinking at the servlet context level only. Provided that database read overhead is acceptable, it’s a more

RE: Cross-session Persistent Object?

2020-02-11 Thread Rouse, Ed
From: Jerry Malcolm Sent: Tuesday, February 11, 2020 3:12 PM To: users@tomcat.apache.org Subject: Cross-session Persistent Object? [External email: Use caution! Do not open attachments or click on links from unknown senders or unexpected emails.] I need some advice. I need to maintain a set

Re: Cross-session Persistent Object?

2020-02-11 Thread M. Manna
Jerry, On Tue, 11 Feb 2020 at 20:12, Jerry Malcolm wrote: > I need some advice. I need to maintain a set of long-running threads. > When a request comes in, I need to determine if I have a thread started > for a particular id found in the request. So I need to have a hashmap > of threads

Cross-session Persistent Object?

2020-02-11 Thread Jerry Malcolm
I need some advice.  I need to maintain a set of long-running threads.  When a request comes in, I need to determine if I have a thread started for a particular id found in the request.  So I need to have a hashmap of threads keyed by the ids.  That part is simple enough.  But I'm struggling

Tomcat doesn't propogate Security Credentials during session failover

2020-02-11 Thread exabrial
https://stackoverflow.com/questions/59833043/tomcat-logs-user-out-during-session-failover-event-and-restarts We've implemented session replication using Redisson, but we noticed that if we intentionally fail a node, the user's sessions do get replicated, but they're logged out when they're

RE: Tomcat 8.5.51/52 release time

2020-02-11 Thread jonmcalexander
-Original Message- From: Christopher Schultz Sent: Tuesday, February 11, 2020 11:24 AM To: users@tomcat.apache.org Subject: Re: Tomcat 8.5.51/52 release time -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 2/11/20 12:18 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: >

Re: Tomcat 8.5.51/52 release time

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 2/11/20 12:18 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: > -Original Message- From: Christopher Schultz > Sent: Tuesday, February 11, 2020 > 10:29 AM To: users@tomcat.apache.org Subject: Re: Tomcat 8.5.51/52 > release time >

RE: Tomcat 8.5.51/52 release time

2020-02-11 Thread jonmcalexander
-Original Message- From: Christopher Schultz Sent: Tuesday, February 11, 2020 10:29 AM To: users@tomcat.apache.org Subject: Re: Tomcat 8.5.51/52 release time -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M, > On 2/11/20 10:44 AM, M. Manna wrote: > Do we have any tentative timeline

Re: Tomcat 8.5.51/52 release time

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M, On 2/11/20 10:44 AM, M. Manna wrote: > Do we have any tentative timeline for next 8.5.x release ? We try to stick to a roughly monthly release schedule for Tomcat 8.5.x and Tomcat 9.0.x. That's likely to continue until 8.5.x goes into

Re: Tomcat 8.5.51/52 release time

2020-02-11 Thread M. Manna
Brilliant!.. Thanks Mark, helps a lot :) On Tue, 11 Feb 2020 at 15:51, Mark Thomas wrote: > On 11/02/2020 15:44, M. Manna wrote: > > Hello, > > > > Do we have any tentative timeline for next 8.5.x release ? > > The release vote for 8.5.51 passed earlier today. The formal > announcement is

Re: Tomcat 8.5.51/52 release time

2020-02-11 Thread Mark Thomas
On 11/02/2020 15:44, M. Manna wrote: > Hello, > > Do we have any tentative timeline for next 8.5.x release ? The release vote for 8.5.51 passed earlier today. The formal announcement is expected tomorrow once the release has made it to most of the mirrors. Mark

Tomcat 8.5.51/52 release time

2020-02-11 Thread M. Manna
Hello, Do we have any tentative timeline for next 8.5.x release ? Regards,

Re: Question on Apache Tomcat Patches

2020-02-11 Thread Mark Thomas
On 11/02/2020 14:39, Walker, Mike (GE Aviation, US) wrote: > Hi Mark > > Thanks for responding. See answers below... > - what version of Apache Tomcat are you currently using? 7.0 on windows > 2012 server 7.0.what? Not that it really matters but the older it is, the more likely there will be

Re: Question on Apache Tomcat Patches

2020-02-11 Thread Olaf Kock
On 11.02.20 15:39, Walker, Mike (GE Aviation, US) wrote: > So apache only releases full versions not upgrades? Does that mean if you > run the version 7.99 it will create a new folder under Apache Software > Foundation folder for 7.99 files? Since this would imply a change to the path > for

Question on Apache Tomcat Patches

2020-02-11 Thread Walker, Mike (GE Aviation, US)
Hi Mark Thanks for responding. See answers below... - what version of Apache Tomcat are you currently using? 7.0 on windows 2012 server - where did you download this version from and was it a .zip, .exe or something else? From apache web site, .exe - what version of Apache Tomcat do you

Re: Expression Language ${initParam.whatever} not working

2020-02-11 Thread Felix Schumacher
Am 10.02.2020 22:43, schrieb Richard Monson-Haefel: Thanks, Mark. Your explanation was good but the code didn't do it. Then try ${pageContext.servletConfig.getInitParameter("greeting_color")} Felix On Mon, Feb 10, 2020 at 12:10 PM Mark Thomas wrote: On 10/02/2020 18:03, Richard