You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Noel <RN...@westwoodone.com.INVALID> on 2024/03/21 19:50:14 UTC

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

Thank you Chuck

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



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

-----Original Message-----
From: Chuck Caldarale <n8...@gmail.com>
Sent: Thursday, March 21, 2024 3:37 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

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

> On Mar 21, 2024, at 14:23, Rick Noel <RN...@westwoodone.com.INVALID> 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...........
>
>          <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
>                                                              channelSendOptions="6">
>
>                                                       <Manager 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by Rick Noel <RN...@westwoodone.com.INVALID>.
Thanks Chuck  great link to lots of good stuff

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

-----Original Message-----
From: Chuck Caldarale <n8...@gmail.com>
Sent: Thursday, March 21, 2024 4:00 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

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

> On Mar 21, 2024, at 14:50, Rick Noel <RN...@westwoodone.com.INVALID> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by Chuck Caldarale <n8...@gmail.com>.
> On Mar 21, 2024, at 14:50, Rick Noel <RN...@westwoodone.com.INVALID> 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