Home > > Best practice: Extend client re-connect attempts when cluster down?

Best practice: Extend client re-connect attempts when cluster down?

We have a basic extend TCP client that uses a few continuous queries to display data updated in a cluster. Due to the nature of the system it is possible for a client to be started before the cluster (and extend proxies) are available. When this happens the client throws the usual connection error upon trying to establish the initial connection but then doesn't attempt to reconnect after that. Once the cluster is up a client has to be restarted. Is there any way to configure the client to re-attempt connections at specified intervals?
Maybe you can catch the exception, do a programmatical pause and then restart in a way like below:
public class ShutdownInvocable extends AbstractInvocable
public static class ShutdownTask implements Runnable
public void run()
public void run()
(new Thread(new ShutdownTask())).start();
Hope it helps.
Read the other 2 answers
Hi I looked at the documentation but this is a still unclear to me. We have a C++ application doing continuous puts/putAlls on a Coherence cluster through a set of storage disabled Proxy nodes. (I am guessing this is referred to as 'active' client?)
I ma trying to connect a 3.7.1 client (extended client, TCP Proxy) to a 3.6.1 cluster and I am getting an Array Index out of bounds exception. everything is java, and everything is POF. Ideas on where to look to solve the problem? Edited by: 901647 o
When trying to connect with Cisco AnyConnect Secure Mobility Client on Windows XP SP3 getting the following error: Function: CTransportWinHttp::SendRequest File: .\CTransportWinHttp.cpp Line: 1170 Invoked Function: HttpSendRequest Return Code: 806 (0
I tried to use a C# client to connect to server side Coherence Nodes. The problem is that, Coherence creates two new TCP connections every time I create a new cache, and it never closes the connection. In the end, Coherence keeps opening hundreds con
Hi, Extend client applications are taking much longer to start up when they are pointed to an BigIp virutal host for proxy service than if they go direct to proxies. Once a client has successfully started, the latency and throughput are fine, pretty
In a Coherence client application we have a cache configuration that holds both local scheme and remote scheme. The purpose is for this client to act as both a client node and an Extend client, depending on the cache queried. ---------------------- S
I have an airport express extending, through wireless, a network provided by an airport extreme. How can I know which clients are connected to my network through express and which are connected through extreme? Here you can see both routers: I would
Coherence I have a custom implementation of com.tangosol.net.security.IdentityAsserter for authorization of extend clients. It looks something like this:     public Subject assertIdentity(Object credentials, Service service) throws SecurityEx
How can I log the connection attempts and source IP address for connections that fail RADIUS authentication?  I'm using RD Gateway on 2012 R2 in conjunction with Azure Multi-Factor Authentication Server on another 2012 R2 server.  When a user fails m
Hi, I am trying to access Extend Proxy through Thick Java Client Followed steps as per below links and deployed a GAR on 3 Server ( 2 Storage Enabled Coherence Cluster and 1 Coherence Storage Disabled Extend Proxy Enabled). I could see ExtendProxySer
Hello, I'm quite new with Coherence and I'm wondering the best option to connect a JAVA client that will communicate with coherence cluster during few seconds. Around 30 clients may connect at the same time. Cluster stores around 4Gb of data. I consi
I've noticed an slow response by first time client->server connecting on my fresh Arch installation. [email protected] ~ % time mpc System ot a Down - Aerials [playing] #2/2 0:36/3:55 (15%) volume: 61% repeat: off random: off single: on consume: off mpc 0.00
I notice in Coherence 3.5.2 there are improved jmx stats for tcp extend clients. Right now I see a client is identified in jmx with a cryptic UUID. Is it possible for the tcp extend client to set its own UUID or alike, so one can more easily identify
I have an issue where Push Replication retries cause local extend clients to be blocked! Scenario as follows: 1) I start up my London cluster, and add around 130 push replication publishers (i.e. one per cache, per remote site) 2) I set these publish
Hi, Is there a way to configure the number of threads used by TCP* Extend client? What is the default value for the same? For some reason I am observing TCP connection being reset. Here are the logs: 2010-05-05 04:39:02.572/15821.6> (thread=Distribut
Hello, Does anyone know if there's a way to monitor the clients that connect to *Extend proxy nodes? I was under the impression that all you had to do was a) implement MemberListener and define the interface's methods b) add a new XML <member-listene
Hi! I've a problem, i want to get the ip the client is using to connect to my server (i'm behind a router). For example: A client is connecting to my server on network (ip: Server says: You're connecting to ip A client is con
Hi guys Have been trying to setup TCP Extend to make a Linux box use cache configured on a windows box and the DefaultCacheServer rejects TCP connections. The config files I'm using are attached. Can anyone help ? The DefaultCacheServer comes up nice
I noticed a series of connection attempts while reviweing pgld.log starting when I installed my system/acquired ADSL (occured at the same time). The log reads the following every 11-12 minutes: Feb 21 18:53:55 IN UDP