From e84663d8b5ee8f7ca426b851c2e4f7b085ea4fc6 Mon Sep 17 00:00:00 2001 From: Matthew Goldsmith Date: Fri, 22 Jun 2018 15:47:42 -0400 Subject: [PATCH] changes to config. deleted timer test in client.java. this caused the application to fail. --- .../Exchange/src/osdi/client/Client.java | 23 +------------------ .../osdi/configEditor/config/FIXTracker.cfg | 3 ++- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/osc-project-6/Exchange/src/osdi/client/Client.java b/osc-project-6/Exchange/src/osdi/client/Client.java index eb306f0..6984fbf 100644 --- a/osc-project-6/Exchange/src/osdi/client/Client.java +++ b/osc-project-6/Exchange/src/osdi/client/Client.java @@ -128,28 +128,7 @@ public synchronized void logon() { try { initiator.start(); - try { - Timer timer = new Timer(); - timer.schedule(new TimerTask() { - public void run() { - //stop(true); - client.logout(); - } - }, 10000); - - try { - shutdownLatch.await(); - } catch (InterruptedException e) { - } - - if (failed) { - String message = "Heartbeat not sent"; - log.error(message); - throw new RuntimeError(message); - } - } finally { - initiator.stop(); - } + initiatorStarted = true; } catch (Exception e) { diff --git a/osc-project-6/Exchange/src/osdi/configEditor/config/FIXTracker.cfg b/osc-project-6/Exchange/src/osdi/configEditor/config/FIXTracker.cfg index 8280cbf..7a31a98 100755 --- a/osc-project-6/Exchange/src/osdi/configEditor/config/FIXTracker.cfg +++ b/osc-project-6/Exchange/src/osdi/configEditor/config/FIXTracker.cfg @@ -22,7 +22,8 @@ FIXTrackerCachedObjects=50 JdbcURL=jdbc:mysql://localhost:3306/quickfix JdbcUser=fiximulator JdbcPassword=fiximulator -JdbcDriver=com.mysql.jdbc.Driver +JdbcDriver=com.mysql.jdbc.Driver +UseDataDictionary=Y [SESSION] FileLogPath=logs OnBehalfOfSubID=DESK