I am using Hazelcast as the ticket registry for my CAS 4.1.9 overlay. On my local instance of CAS, in the cas.properties, I specified this:
When starting up CAS, it works fine, but I see these error messages, It fails to connect on ports 5702, 5703, etc. But, I can telnet to these ports just fine.
2016-08-12 11:20:08,512 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Sending master question to Address[localhost]:5703
2016-08-12 11:20:08,526 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Sending master question to Address[localhost]:5702
2016-08-12 11:20:08,526 DEBUG [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Starting to connect to Address[localhost]:5703
2016-08-12 11:20:08,568 DEBUG [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Starting to connect to Address[localhost]:5702
2016-08-12 11:20:08,568 INFO [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Connecting to localhost/
127.0.0.1:5703, timeout: 0, bind-any: true
2016-08-12 11:20:08,568 INFO [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Connecting to localhost/
127.0.0.1:5702, timeout: 0, bind-any: true
2016-08-12 11:20:09,526 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Will send master question to each address in: [Address[localhost]:5703, Address[localhost]:5702]
2016-08-12 11:20:09,526 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] NOT sending master question to blacklisted endpoints: {}
2016-08-12 11:20:09,526 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Sending master question to Address[localhost]:5703
2016-08-12 11:20:09,527 DEBUG [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Sending master question to Address[localhost]:5702
2016-08-12 11:20:09,569 INFO [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Could not connect to: localhost/
127.0.0.1:5703. Reason: SocketException[Connection refused: connect to address localhost/
127.0.0.1:5703]
2016-08-12 11:20:09,573 DEBUG [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Connection refused: connect to address localhost/
127.0.0.1:5703java.net.SocketException: Connection refused: connect to address localhost/
127.0.0.1:5703 at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:465)
at sun.nio.ch.Net.connect(Net.java:457)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)
at com.hazelcast.nio.tcp.SocketConnector.connectSocketChannel(SocketConnector.java:157)
at com.hazelcast.nio.tcp.SocketConnector.tryToConnect(SocketConnector.java:132)
at com.hazelcast.nio.tcp.SocketConnector.run(SocketConnector.java:68)
at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:209)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)
2016-08-12 11:20:09,573 INFO [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Address[localhost]:5703 is added to the blacklist.
2016-08-12 11:20:09,579 INFO [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Could not connect to: localhost/
127.0.0.1:5702. Reason: SocketException[Connection refused: connect to address localhost/
127.0.0.1:5702]
2016-08-12 11:20:09,579 DEBUG [com.hazelcast.nio.tcp.TcpIpConnectionMonitor] - [localhost]:5701 [dev] [3.5] An error occurred on connection to Address[localhost]:5703 Cause => java.net.SocketException {Connection refused: connect to address localhost/
127.0.0.1:5703}, Error-Count: 1
2016-08-12 11:20:09,580 DEBUG [com.hazelcast.nio.tcp.SocketConnector] - [localhost]:5701 [dev] [3.5] Connection refused: connect to address localhost/
127.0.0.1:5702java.net.SocketException: Connection refused: connect to address localhost/
127.0.0.1:5702 at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:465)
at sun.nio.ch.Net.connect(Net.java:457)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)
at com.hazelcast.nio.tcp.SocketConnector.connectSocketChannel(SocketConnector.java:157)
at com.hazelcast.nio.tcp.SocketConnector.tryToConnect(SocketConnector.java:132)
at com.hazelcast.nio.tcp.SocketConnector.run(SocketConnector.java:68)
at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:209)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)
2016-08-12 11:20:09,580 INFO [com.hazelcast.cluster.impl.TcpIpJoiner] - [localhost]:5701 [dev] [3.5] Address[localhost]:5702 is added to the blacklist.