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 | |
parent | bffaeb73d428d6b8cf78a727d9f48b6ef3722431 (diff) | |
download | traccar-server-9073204bf7c4d9be7a6355d72def253b336a894b.tar.gz traccar-server-9073204bf7c4d9be7a6355d72def253b336a894b.tar.bz2 traccar-server-9073204bf7c4d9be7a6355d72def253b336a894b.zip |
Initialise ConnectionManager after web UI to let web application create necessary tables
Diffstat (limited to 'src')
-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(); } |