RE: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-22 Thread Rick Noel
Thanks Chuck  great link to lots of good stuff

Rick Noel
Systems Programmer | Westwood One
rn...@westwoodone.com

-Original Message-
From: Chuck Caldarale 
Sent: Thursday, March 21, 2024 4:00 PM
To: Tomcat Users List 
Subject: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is 
not set

[You don't often get email from n82...@gmail.com. Learn why this is important 
at https://aka.ms/LearnAboutSenderIdentification ]

> On Mar 21, 2024, at 14:50, Rick Noel  wrote:
>
> Do you have a  feel if DeltaManager is better than BackupManager?


Depends on what your needs are. There are some presentations on the subject 
that you might want to look at:
https://tomcat.apache.org/presentations.html

ApacheCon 2018 NA: Deep dive into Tomcat Clustering, Keiichi Fujino

TomcatCon London 2017: Reverse Proxies, Load-Balancing & Clustering, Mark Thomas

  - Chuck

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you know the sender and you are sure the 
content is safe. Please report the message using the Report Message feature in 
your email client if you believe the email is suspicious.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Chuck Caldarale

> On Mar 21, 2024, at 14:50, Rick Noel  wrote:
> 
> Do you have a  feel if DeltaManager is better than BackupManager?


Depends on what your needs are. There are some presentations on the subject 
that you might want to look at:
https://tomcat.apache.org/presentations.html

ApacheCon 2018 NA: Deep dive into Tomcat Clustering, Keiichi Fujino

TomcatCon London 2017: Reverse Proxies, Load-Balancing & Clustering, Mark Thomas

  - Chuck



RE: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
Thank you Chuck

Do you have a  feel if DeltaManager is better than BackupManager?



Rick Noel
Systems Programmer | Westwood One
rn...@westwoodone.com

-Original Message-
From: Chuck Caldarale 
Sent: Thursday, March 21, 2024 3:37 PM
To: Tomcat Users List 
Subject: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

[You don't often get email from n82...@gmail.com. Learn why this is important 
at https://aka.ms/LearnAboutSenderIdentification ]

> On Mar 21, 2024, at 14:23, Rick Noel  wrote:
>
> Could someone tell me why I would get the below waning about 
> expireSessionsOnShutdown not being set
>
> WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
> [Server/Service/Engine/Host/Cluster/Manager] failed to set property 
> [expireSessionsOnShutdown] to [false]
>
> I am using Tomcat 10.1.19 and trying to get clusting set up so session data 
> is not lost because of web app being deployed on two servers and service by a 
> load balancer
>
> Here is my server.xml  snippet...
>
>
> channelSendOptions="6">
>
>className="org.apache.catalina.ha.session.BackupManager"
>
> expireSessionsOnShutdown="false"
>
> notifyListenersOnReplication="true"
>
> mapSendOptions="6"/>


The expireSessionsOnShutdown attribute is only available for the DeltaManager, 
not the BackupManager. See:
https://tomcat.apache.org/tomcat-10.1-doc/config/cluster-manager.html

  - Chuck

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you know the sender and you are sure the 
content is safe. Please report the message using the Report Message feature in 
your email client if you believe the email is suspicious.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org