aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-30 22:48:37 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-30 22:48:37 +1200
commit1ac0692d07898889156a18848a23d6af889fa6c5 (patch)
treec9a2d83ac7e1970dc7ca90d213861dc5052f6809 /src/org/traccar/Context.java
parent09ab10ae55444bbd5e09a82fbb41d2f4903a9029 (diff)
downloadtrackermap-server-1ac0692d07898889156a18848a23d6af889fa6c5.tar.gz
trackermap-server-1ac0692d07898889156a18848a23d6af889fa6c5.tar.bz2
trackermap-server-1ac0692d07898889156a18848a23d6af889fa6c5.zip
Fix database init sequence
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 64fb296e8..0a4da1172 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -90,6 +90,7 @@ public class Context {
}
dataManager = new DataManager(properties);
+
connectionManager = new ConnectionManager();
if (!Boolean.valueOf(properties.getProperty("web.old"))) {
permissionsManager = new PermissionsManager();
@@ -112,7 +113,6 @@ public class Context {
serverManager = new ServerManager();
- dataManager.initDatabaseSchema();
connectionManager.init(dataManager);
serverManager.init();
}