diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-18 19:11:54 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-18 19:11:54 +1200 |
commit | 505cbf7678054d5bb0682ac8b3a468d951e20095 (patch) | |
tree | cd5470d5e96fc75b6b431e25c834a80d02ff549e /src/org/traccar | |
parent | e20baccccc1aff70db085dc647cb1887f071c92c (diff) | |
download | traccar-server-505cbf7678054d5bb0682ac8b3a468d951e20095.tar.gz traccar-server-505cbf7678054d5bb0682ac8b3a468d951e20095.tar.bz2 traccar-server-505cbf7678054d5bb0682ac8b3a468d951e20095.zip |
Fix DataSource initialization
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/http/WebServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java index 0fd5b952e..2745cd7b8 100644 --- a/src/org/traccar/http/WebServer.java +++ b/src/org/traccar/http/WebServer.java @@ -55,7 +55,7 @@ public class WebServer { if (clazz != null) { DataSource ds = (DataSource) clazz.newInstance(); - clazz.getMethod("setUrl", String.class).invoke(ds, properties.getProperty("database.url")); + clazz.getMethod("setURL", String.class).invoke(ds, properties.getProperty("database.url")); clazz.getMethod("setUser", String.class).invoke(ds, properties.getProperty("database.user")); clazz.getMethod("setPassword", String.class).invoke(ds, properties.getProperty("database.password")); |