Re: Tomcat not syncing existing sessions on restart

2024-03-11 Thread Mark Thomas
On 10/03/2024 16:59, Manak Bisht wrote: On Fri, Feb 9, 2024 at 4:45 PM Mark Thomas wrote: Using 0.0.0.0 as the address for the receiver is going to cause problems. I see similar issues with 11.0.x as 8.5.x. I haven't dug too deeply into things as a) I am short of time and b) I'm not convinced

Re: Tomcat not syncing existing sessions on restart

2024-03-10 Thread Manak Bisht
On Fri, Feb 9, 2024 at 4:45 PM Mark Thomas wrote: > Using 0.0.0.0 as the address for the receiver is going to cause > problems. I see similar issues with 11.0.x as 8.5.x. I haven't dug too > deeply into things as a) I am short of time and b) I'm not convinced > this should/could work anyway. > >

Re: Tomcat not syncing existing sessions on restart

2024-02-09 Thread Mark Thomas
On 09/02/2024 07:51, Manak Bisht wrote: On Fri, Feb 9, 2024 at 3:25 AM Mark Thomas wrote: Same JRE? Yes, 8.0.402 Generally, I wouldn't use 0.0.0.0, I'd use a specific IP address. I'm not sure how the clustering would behave with 0.0.0.0 Using 0.0.0.0 as the address for the receiver is

Re: Tomcat not syncing existing sessions on restart

2024-02-08 Thread Manak Bisht
On Fri, Feb 9, 2024 at 3:25 AM Mark Thomas wrote: > Same JRE? > Yes, 8.0.402 Generally, I wouldn't use 0.0.0.0, I'd use a specific IP address. I'm > not sure how the clustering would behave with 0.0.0.0 > That's the problem really. Using the DNS name or IP address causes the following error -

Re: Tomcat not syncing existing sessions on restart

2024-02-08 Thread Mark Thomas
On 07/02/2024 11:43, Manak Bisht wrote: I think I have narrowed down the problem. For Tomcat 9 (v9.0.85), using 0.0.0.0 for the local member and receiver works fine. However, the same does not work in Tomcat 8.5 (v8.5.98). Same JRE? Generally, I wouldn't use 0.0.0.0, I'd use a specific IP addr

Re: Tomcat not syncing existing sessions on restart

2024-02-07 Thread Manak Bisht
I think I have narrowed down the problem. For Tomcat 9 (v9.0.85), using 0.0.0.0 for the local member and receiver works fine. However, the same does not work in Tomcat 8.5 (v8.5.98). Sincerely, Manak Bisht On Fri, Feb 2, 2024 at 9:41 PM Mark Thomas wrote: > On 31/01/2024 13:33, Manak Bisht wro

Re: Tomcat not syncing existing sessions on restart

2024-02-02 Thread Mark Thomas
On 31/01/2024 13:33, Manak Bisht wrote: I tried tweaking all the settings that I could think of but I am unable to sync sessions on restart even on a stock Tomcat 8.5.98 installation using your provided war. I am unable to identify whether this is actually a bug or something wrong with my configu

Re: Tomcat not syncing existing sessions on restart

2024-01-31 Thread Manak Bisht
I tried tweaking all the settings that I could think of but I am unable to sync sessions on restart even on a stock Tomcat 8.5.98 installation using your provided war. I am unable to identify whether this is actually a bug or something wrong with my configuration (this is far more likely). Could yo

Re: Tomcat not syncing existing sessions on restart

2024-01-26 Thread Manak Bisht
Hi Mark, I tried running your *cluster-test* war example on a stock 8.5.98 installation, however, I am facing the same issue. Session sync does not trigger on restarting a node. Could you please share your configuration? Sincerely, Manak Bisht

Re: Tomcat not syncing existing sessions on restart

2024-01-23 Thread Manak Bisht
Thanks for going the extra mile to help me out on this. I really appreciate it. As far as I am aware, the auto detection of local member is only available post v9.0.17 and the tag was added in v8.5.1. Unfortunately, I happen to be working in an environment where 8.5.0 is the highest non-EOL versio

Re: Tomcat not syncing existing sessions on restart

2024-01-23 Thread Mark Thomas
I have configured my standard cluster test environment for a 2-node cluster, using DeltaManager and static membership. httpd is configured for non-sticky load-balancing. Each node has the Manager web application and my simple cluster-test deployed. https://people.apache.org/~markt/dev/cluster

Re: Tomcat not syncing existing sessions on restart

2024-01-22 Thread Manak Bisht
I thought that this https://marc.info/?l=tomcat-user&m=119376798217922&w=2 might be the problem. *"The uniqueId is used to be able to differentiate between the same node joining a cluster, then crashing and then rejoining again. if the uniqueId didn't change in between this, there is no way to tel