Testsuite: org.apache.catalina.tribes.group.interceptors.TestTcpFailureDetector Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.968 sec ------------- Standard Output --------------- testTcpMcastFail() Channel-2:member added[Channel-1] Channel-1:member added[Channel-2] testTcpFailureMemberAdd() Channel-2:member added[Channel-1] testTcpSendFailureMemberDrop() Channel-2:member added[Channel-1] Channel-1:member added[Channel-2] Channel-1:member disappeared[Channel-2] ------------- ---------------- --------------- ------------- Standard Error ----------------- Dec 12, 2024 8:17:10 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:10 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4012] Dec 12, 2024 8:17:10 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:10 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=1079, securePort=-1, UDP Port=-1, id={-122 -107 70 107 26 -76 78 -87 -73 97 14 34 -86 -93 -17 8 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4002,{127, 0, 0, 1},4002, alive=1044, securePort=-1, UDP Port=-1, id={0 114 -100 98 -116 -113 71 -58 -125 98 -29 43 94 -54 97 -7 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4006,{127, 0, 0, 1},4006, alive=1027, securePort=-1, UDP Port=-1, id={28 -29 -87 22 -11 -104 78 124 -126 21 6 46 83 47 -42 81 }, payload={}, command={}, domain={47 45 -27 -9 -4 84 76 -34 -119 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4004,{127, 0, 0, 1},4004, alive=1020, securePort=-1, UDP Port=-1, id={26 58 -21 45 -111 -76 74 18 -86 19 117 121 118 22 -99 107 }, payload={}, command={}, domain={47 45 -27 -9 -4 84 76 -34 -119 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4003,{127, 0, 0, 1},4003, alive=1055, securePort=-1, UDP Port=-1, id={-55 107 123 -112 -11 116 76 -52 -99 98 -4 105 -97 89 -46 -125 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4007,{127, 0, 0, 1},4007, alive=1004, securePort=-1, UDP Port=-1, id={-13 44 58 72 -70 91 71 50 -101 68 12 27 -69 -31 -113 22 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4005,{127, 0, 0, 1},4005, alive=1005, securePort=-1, UDP Port=-1, id={38 -82 -80 -50 121 64 65 -62 -92 -19 29 120 50 -28 -12 59 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4008,{127, 0, 0, 1},4008, alive=1009, securePort=-1, UDP Port=-1, id={121 32 73 -75 53 43 65 -96 -67 -7 21 -49 -55 38 -79 -19 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4001,{127, 0, 0, 1},4001, alive=1095, securePort=-1, UDP Port=-1, id={-37 -95 47 -12 -119 102 74 -60 -117 -51 -95 17 -33 81 -64 98 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4009,{127, 0, 0, 1},4009, alive=1009, securePort=-1, UDP Port=-1, id={57 125 -11 44 34 65 75 83 -100 50 -34 -95 -35 -4 -70 -128 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4011,{127, 0, 0, 1},4011, alive=1028, securePort=-1, UDP Port=-1, id={-115 -74 87 -19 64 3 71 97 -87 29 111 120 73 -90 -4 104 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4010,{127, 0, 0, 1},4010, alive=1037, securePort=-1, UDP Port=-1, id={-74 123 -26 -123 79 -99 78 10 -92 -90 -48 -93 110 111 32 -28 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:11 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:12 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:12 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:12 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4013] Dec 12, 2024 8:17:12 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:12 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=2581, securePort=-1, UDP Port=-1, id={-122 -107 70 107 26 -76 78 -87 -73 97 14 34 -86 -93 -17 8 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4006,{127, 0, 0, 1},4006, alive=2530, securePort=-1, UDP Port=-1, id={28 -29 -87 22 -11 -104 78 124 -126 21 6 46 83 47 -42 81 }, payload={}, command={}, domain={47 45 -27 -9 -4 84 76 -34 -119 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4004,{127, 0, 0, 1},4004, alive=2522, securePort=-1, UDP Port=-1, id={26 58 -21 45 -111 -76 74 18 -86 19 117 121 118 22 -99 107 }, payload={}, command={}, domain={47 45 -27 -9 -4 84 76 -34 -119 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4008,{127, 0, 0, 1},4008, alive=2537, securePort=-1, UDP Port=-1, id={121 32 73 -75 53 43 65 -96 -67 -7 21 -49 -55 38 -79 -19 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4002,{127, 0, 0, 1},4002, alive=2610, securePort=-1, UDP Port=-1, id={0 114 -100 98 -116 -113 71 -58 -125 98 -29 43 94 -54 97 -7 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4001,{127, 0, 0, 1},4001, alive=2630, securePort=-1, UDP Port=-1, id={-37 -95 47 -12 -119 102 74 -60 -117 -51 -95 17 -33 81 -64 98 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4005,{127, 0, 0, 1},4005, alive=2548, securePort=-1, UDP Port=-1, id={38 -82 -80 -50 121 64 65 -62 -92 -19 29 120 50 -28 -12 59 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4011,{127, 0, 0, 1},4011, alive=2558, securePort=-1, UDP Port=-1, id={-115 -74 87 -19 64 3 71 97 -87 29 111 120 73 -90 -4 104 }, payload={}, command={}, domain={9 19 -34 -28 93 117 72 -32 -82 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.io.BufferPool getBufferPool INFO: Created a buffer pool with max size:[104857600] bytes of type: [org.apache.catalina.tribes.io.BufferPool] Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:13 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:14 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread run WARNING: Error receiving mcast package. Sleeping 500ms java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@6803f59f[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@87c80e8[Wrapped task = org.apache.catalina.tribes.membership.McastServiceImpl$$Lambda$68/0x00007f4f400c4d40@4d7e0f83]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@7c7943e2[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 20] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:705) at org.apache.catalina.tribes.membership.McastServiceImpl.memberDataReceived(McastServiceImpl.java:412) at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:360) at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:565) Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=1001, securePort=-1, UDP Port=-1, id={-88 -113 -127 -47 93 -89 67 118 -95 104 81 49 -124 -1 -48 -58 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4001,{127, 0, 0, 1},4001, alive=1002, securePort=-1, UDP Port=-1, id={1 5 -66 -127 -113 -46 68 -87 -106 -39 -122 0 19 88 77 -63 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4003,{127, 0, 0, 1},4003, alive=1002, securePort=-1, UDP Port=-1, id={-68 -35 5 -65 50 -47 72 -60 -101 -45 25 90 -43 75 -65 124 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4008,{127, 0, 0, 1},4008, alive=1002, securePort=-1, UDP Port=-1, id={-94 -44 100 84 59 -10 66 -90 -85 -58 -67 -65 -81 44 -112 -105 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4009,{127, 0, 0, 1},4009, alive=1002, securePort=-1, UDP Port=-1, id={48 77 108 103 -21 125 71 -110 -118 35 -83 -113 -123 -128 101 -28 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4005,{127, 0, 0, 1},4005, alive=1019, securePort=-1, UDP Port=-1, id={105 -57 -48 89 14 88 73 79 -75 -108 69 25 -4 65 114 -99 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4002,{127, 0, 0, 1},4002, alive=1027, securePort=-1, UDP Port=-1, id={-96 -19 115 81 -96 3 68 111 -99 102 19 125 -40 -2 -73 -17 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4010,{127, 0, 0, 1},4010, alive=1012, securePort=-1, UDP Port=-1, id={45 19 -119 -53 -28 -54 77 -105 -122 43 -126 -80 -49 -24 -87 20 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4011,{127, 0, 0, 1},4011, alive=1009, securePort=-1, UDP Port=-1, id={-25 -58 -55 -80 -87 -63 76 -22 -96 -92 -56 57 81 57 -100 -24 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:15 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4007,{127, 0, 0, 1},4007, alive=1009, securePort=-1, UDP Port=-1, id={82 -119 42 122 107 -8 66 -52 -116 -87 17 -34 55 -62 -89 72 }, payload={}, command={}, domain={66 32 -98 6 -104 42 75 -55 -78 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:17 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared INFO: Received memberDisappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4013,{127, 0, 0, 1},4013, alive=1525, securePort=-1, UDP Port=-1, id={43 68 -24 -87 -89 -103 70 -37 -105 -126 28 86 -106 5 123 -56 }, payload={67 104 97 110 110 101 108 45 50 ...(9)}, command={}, domain={113 12 49 -6 -75 74 72 -44 -66 ...(16)}]] message. Will verify. Dec 12, 2024 8:17:17 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared INFO: Verification complete. Member still alive[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4013,{127, 0, 0, 1},4013, alive=1525, securePort=-1, UDP Port=-1, id={43 68 -24 -87 -89 -103 70 -37 -105 -126 28 86 -106 5 123 -56 }, payload={67 104 97 110 110 101 108 45 50 ...(9)}, command={}, domain={113 12 49 -6 -75 74 72 -44 -66 ...(16)}]] Dec 12, 2024 8:17:18 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=1003, securePort=-1, UDP Port=-1, id={-72 -4 54 -69 26 -47 66 -72 -79 -38 17 67 -46 -93 124 -77 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:18 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4004,{127, 0, 0, 1},4004, alive=1006, securePort=-1, UDP Port=-1, id={65 47 -20 90 -74 8 77 -79 -128 28 10 64 6 23 -101 -15 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:19 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread run INFO: Tribes membership running recovery thread. Multicasting is not functional. Dec 12, 2024 8:17:19 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread stopService WARNING: Recovery thread failed to stop membership service. java.net.SocketException: Socket closed at java.base/sun.nio.ch.DatagramSocketAdaptor.send(DatagramSocketAdaptor.java:222) at java.base/java.net.DatagramSocket.send(DatagramSocket.java:664) at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:518) at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:495) at org.apache.catalina.tribes.membership.McastServiceImpl.stop(McastServiceImpl.java:327) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.stopService(McastServiceImpl.java:672) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.run(McastServiceImpl.java:700) Caused by: java.nio.channels.ClosedChannelException at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267) at java.base/sun.nio.ch.DatagramChannelImpl.blockingSend(DatagramChannelImpl.java:850) at java.base/sun.nio.ch.DatagramSocketAdaptor.send(DatagramSocketAdaptor.java:218) ... 6 more Dec 12, 2024 8:17:19 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:19 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread startService WARNING: Recovery thread failed to start membership service. java.lang.NullPointerException: Cannot invoke "org.apache.catalina.tribes.Channel.getName()" because "this$0.channel" is null at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.(McastServiceImpl.java:555) at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.startService(McastServiceImpl.java:683) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.run(McastServiceImpl.java:700) Dec 12, 2024 8:17:19 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread run INFO: Recovery attempt number [1] failed. Trying again in [5000] seconds. Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4001] Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=3010, securePort=-1, UDP Port=-1, id={-72 -4 54 -69 26 -47 66 -72 -79 -38 17 67 -46 -93 124 -77 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:20 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4004,{127, 0, 0, 1},4004, alive=3009, securePort=-1, UDP Port=-1, id={65 47 -20 90 -74 8 77 -79 -128 28 10 64 6 23 -101 -15 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:21 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:21 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4002] Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=5011, securePort=-1, UDP Port=-1, id={-72 -4 54 -69 26 -47 66 -72 -79 -38 17 67 -46 -93 124 -77 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:22 PM org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor memberAdded INFO: Member [org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4004,{127, 0, 0, 1},4004, alive=5010, securePort=-1, UDP Port=-1, id={65 47 -20 90 -74 8 77 -79 -128 28 10 64 6 23 -101 -15 }, payload={}, command={}, domain={-16 14 -57 -104 -57 -1 68 57 -80 ...(16)}]] was refused to join cluster Dec 12, 2024 8:17:23 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:23 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:23 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread run WARNING: Error receiving mcast package. Sleeping 500ms java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@11628ea4[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@1b9ae5d4[Wrapped task = org.apache.catalina.tribes.membership.McastServiceImpl$$Lambda$70/0x00007f4f400c5a90@155d08d7]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@546002ec[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 6] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:705) at org.apache.catalina.tribes.membership.McastServiceImpl.memberDataReceived(McastServiceImpl.java:412) at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:360) at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:565) Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4001] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread run INFO: Tribes membership running recovery thread. Multicasting is not functional. Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread startService WARNING: Recovery thread failed to start membership service. java.lang.NullPointerException: Cannot invoke "org.apache.catalina.tribes.Channel.getName()" because "this$0.channel" is null at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.(McastServiceImpl.java:555) at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.startService(McastServiceImpl.java:683) at org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread.run(McastServiceImpl.java:700) Dec 12, 2024 8:17:24 PM org.apache.catalina.tribes.membership.McastServiceImpl$RecoveryThread run INFO: Recovery attempt number [2] failed. Trying again in [5000] seconds. Dec 12, 2024 8:17:25 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:25 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:26 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:26 PM org.apache.catalina.tribes.group.GroupChannel start WARNING: No utility executor was set, creating one Dec 12, 2024 8:17:26 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:[localhost/127.0.0.1:4000] Dec 12, 2024 8:17:26 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to [500] Dec 12, 2024 8:17:26 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[4] Dec 12, 2024 8:17:27 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[4] Dec 12, 2024 8:17:27 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for [1000] milliseconds to establish cluster membership, start level:[8] Dec 12, 2024 8:17:28 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:[8] Dec 12, 2024 8:17:28 PM org.apache.catalina.tribes.transport.nio.ParallelNioSender doLoop WARNING: Member send is failing for:[tcp://{127, 0, 0, 1}:4000] ; Setting to suspect and retrying. Dec 12, 2024 8:17:28 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared INFO: Received memberDisappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=2017, securePort=-1, UDP Port=-1, id={39 -20 -97 22 62 108 70 -95 -81 -106 123 -119 101 30 -87 37 }, payload={67 104 97 110 110 101 108 45 50 ...(9)}, command={}, domain={53 43 -97 -11 -109 -75 67 -88 -119 ...(16)}]] message. Will verify. Dec 12, 2024 8:17:28 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared INFO: Verification complete. Member disappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 0, 0, 1}:4000,{127, 0, 0, 1},4000, alive=2017, securePort=-1, UDP Port=-1, id={39 -20 -97 22 62 108 70 -95 -81 -106 123 -119 101 30 -87 37 }, payload={67 104 97 110 110 101 108 45 50 ...(9)}, command={}, domain={53 43 -97 -11 -109 -75 67 -88 -119 ...(16)}]] Dec 12, 2024 8:17:28 PM org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread run WARNING: Error receiving mcast package. Sleeping 500ms java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@387ae92a[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@7947e311[Wrapped task = org.apache.catalina.tribes.membership.McastServiceImpl$$Lambda$70/0x00007f4f400c5a90@7d7878e1]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@4f11792f[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:705) at org.apache.catalina.tribes.membership.McastServiceImpl.memberDataReceived(McastServiceImpl.java:412) at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:360) at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:565) ------------- ---------------- --------------- Testcase: testTcpMcastFail took 9.429 sec Testcase: testTcpFailureMemberAdd took 4.233 sec Testcase: testTcpSendFailureMemberDrop took 4.29 sec