mmircea202 / google-secure-data-connector

Automatically exported from code.google.com/p/google-secure-data-connector
0 stars 0 forks source link

1.3-rc0 does not attempt to start the connection healthchecker #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. bin/start.sh

What is the expected output? What do you see instead?

Should at least observe "healthcheck thread is started" in the agent.log
when set at info logging level.

What version of the product are you using? On what operating system?

1.3-rc0

Please provide any additional information below.

In SdcConnection.java a RUN_HEALTH_CHECK flag was added to the code:

// Setup Healthcheck
if (RUN_HEALTH_CHECK) {
    healthCheckHandler.setFrameSender(frameSender);
    healthCheckHandler.setFailCallback(this);
    frameReceiver.registerDispatcher(FrameInfo.Type.HEALTH_CHECK,
healthCheckHandler);
    healthCheckHandler.start();
}

Howeever, RUN_HEALTH_CHECK is defined as:

private final static boolean RUN_HEALTH_CHECK = false;

And therefore the health checker will never run... unless you change the
code and recompile. :)

Original issue reported on code.google.com by pete...@gmail.com on 27 May 2010 at 2:47

GoogleCodeExporter commented 9 years ago
Fix submitted and included in 1.3-rc1.

Original comment by dch...@google.com on 24 Jun 2010 at 9:28