[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: clustering logging erors Tomcat10 with Java 17
From: Rick Noel <RNoel () westwoodone ! com ! INVALID>
Date: 2024-04-18 14:02:30
Message-ID: LV2PR12MB596838691F520FE7F02479A5AD0E2 () LV2PR12MB5968 ! namprd12 ! prod ! outlook ! com
[Download RAW message or body]
Hello,
Can someone try to explain what this Catalina.log snippet is saying in regards to \
clustering status?
It looks like to me, this machine successfully sent a session data state msg to the \
other machine in the cluster, but 60 sec later the other machine did not respond with \
with its session data state
*********************
INFO: Starting clustering manager at [##0001]
Apr 18, 2024 9:42:21 AM org.apache.catalina.ha.session.DeltaManager \
getAllClusterSessions
INFO: Manager [##0001], requesting session state from \
[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4001,{127, 0, \
0, 1},4001, alive=2087779, securePort=-1, UDP Port=-1, id={-96 81 2 46 1 32 64 76 -97 \
-53 -48 3 -22 122 -8 28 }, payload={}, command={}, domain={}]]. This operation will \
timeout if no session state has been received within [60] seconds. 18-Apr-2024 \
09:42:21.062 INFO [MessageDispatchInterceptor.MessageDispatchThread[station-Channel]1] \
org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor.report \
ThroughputInterceptor Report[ Tx Msg:1 messages
Sent:0.00 MiB (total)
Sent:0.00 MiB (application)
Time:0.00 seconds
Tx Speed:0.15 MiB/s (total)
Tx Speed:0.15 MiB/s (application)
Error Msg:0
Rx Msg:3 messages
Rx Speed:0.00 MiB/s (since 1st msg)
Received:0.00 MiB]
Apr 18, 2024 9:43:21 AM org.apache.catalina.ha.session.DeltaManager \
waitForSendAllSessions
SEVERE: Manager [##0001]: No session state sent at [4/18/24, 9:42 AM] received, \
timing out after [60,076] ms. Apr 18, 2024 9:43:21 AM \
org.apache.catalina.ha.session.DeltaManager getAllClusterSessions
WARNING: Manager [##0001]: Drop message [SESSION-GET-ALL] inside GET_ALL_SESSIONS \
sync phase start date [4/18/24, 9:42 AM] message date [4/18/24, 9:42 AM]
*************
Any ideas why clustering is not working?
Here is how I have clustering defined in server.xml
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
\
channelSendOptions="6">
\
<Manager className="org.apache.catalina.ha.session.DeltaManager"
\
expireSessionsOnShutdown="false"
\
notifyListenersOnReplication="true"
\
maxActiveSessions="4096" \
sessionAttributeNameFilter="uploader_redirect|phone_tree|soundhound.campaigndata|forma \
t|employee_id|customer|customer_id|nonidentifier_call_letters|call_letters|caller_id_e \
nabled|ivr_system|ivr_system_id|zip_code|time_zone|is_trial_customer|delete_confirmati \
on|download_settings|clustered_admin|wall_token|employee_first_name|logged_in_user|logged_in"
\
/>
\
<Channel className="org.apache.catalina.tribes.group.GroupChannel">
\
<Membership \
className="org.apache.catalina.tribes.membership.McastService"
\
address="228.0.0.4"
\
port="45565"
\
frequency="500"
\
dropTime="3000"/>
\
<Receiver \
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
\
address="auto"
\
port="4001"
\
selectorTimeout="100"
\
maxThreads="6"/>
\
<Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"> \
<Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
\
</Sender> <Interceptor \
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/> \
<Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor"/>
<Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
\
</Channel>
\
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve" \
filter=".*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt|.*\.jsp"/>
\
<ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/> \
</Cluster>
Rick Noel
Systems Programmer | Westwood One
RNoel@westwoodone.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic