diff options
author | Vitaly Litvak <vitavaque@gmail.com> | 2015-09-07 09:23:05 +0300 |
---|---|---|
committer | Vitaly Litvak <vitavaque@gmail.com> | 2015-09-07 09:23:05 +0300 |
commit | 9073204bf7c4d9be7a6355d72def253b336a894b (patch) | |
tree | 5c3076793adf33877607d93644085e8225445181 /src/org | |
parent | bffaeb73d428d6b8cf78a727d9f48b6ef3722431 (diff) | |
download | trackermap-server-9073204bf7c4d9be7a6355d72def253b336a894b.tar.gz trackermap-server-9073204bf7c4d9be7a6355d72def253b336a894b.tar.bz2 trackermap-server-9073204bf7c4d9be7a6355d72def253b336a894b.zip |
Initialise ConnectionManager after web UI to let web application create necessary tables
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/Context.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index 80c9efb40..7b364d799 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -106,8 +106,6 @@ public class Context { } identityManager = dataManager; - connectionManager = new ConnectionManager(dataManager); - if (config.getBoolean("geocoder.enable")) { String type = config.getString("geocoder.type", "google"); String url = config.getString("geocoder.url"); @@ -131,6 +129,8 @@ public class Context { webServer = new WebServer(config, dataManager.getDataSource()); } + connectionManager = new ConnectionManager(dataManager); + serverManager = new ServerManager(); } |