Can you please provide HEX message sample from tracker-server.log
file.
2015-06-19 00:59:08 DEBUG: [25D85E88: 5063 <- xx.xxx.xxx.xxx] - HEX: 24475052533031323439373030373039373136392c543130303030312c3135303631382c3233303033312c353430323236373430303333323436342c303030342c323031342c3030303030312c2c2c312c303023563034302a
2015-06-19 00:59:08 INFO: device: 1, time: Fri Jun 19 01:00:31 CEST 2015, lat: -40.416775, lon: 3.70379
2015-06-19 00:59:19 INFO: Closing connection by disconnect
Thanks for reporting this bug. I have fixed the problem. Let me know if you want a new build to test it.
Yes please
Here is a fixed version:
https://www.dropbox.com/s/myt68q5u7fiz49r/tracker-server-jar-with-dependencies.jar?dl=0
You need to do some modifications in the config file:
http.
parameters to web.
database.selectDevice
to database.selectDevicesAll
database.selectDevicesAll
return column name from imei
to uniqueId
which in case of default config mean just removing as imei
Thank you so much Anton but I am a newbie at this moment and I need that you guide me in the process. I've already downloaded the tracker-server-jar-with-dependencies.jar file but not really to do with it. Again, thank you so much.
You need to replace old tracker-server.jar
with the file I provided. Then, modify the config file and restart Traccar service.
I have made the changes and now the service does not start. These are the changes I made:
In traccar.cfg
<entry key='database.selectDevicesAll'>
SELECT id, uniqueId
FROM devices;
</entry>
<!-- Web interface -->
<entry key='web.enable'>true</entry>
<!--<entry key='web.address'></entry>-->
<entry key='web.port'>8082</entry>
<entry key='web.application'>C:\Program Files (x86)\Traccar\traccar-web.war</entry>
And finally replace old tracker-server.jar with the file you provided me.
I have used traccar-windows-64-2.12.zip for Windows 64 bit
is it ok?
Check wrapper.log
and tracker-server.log
file for error messages.
STATUS | wrapper | 2015/06/19 14:01:49 | --> Wrapper Started as Service
STATUS | wrapper | 2015/06/19 14:01:49 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/06/19 14:01:49 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/06/19 14:01:49 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/06/19 14:01:49 |
STATUS | wrapper | 2015/06/19 14:01:50 | Launching a JVM...
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: The file is located on the path at the following location but
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: could not be loaded:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: C:\Program Files (x86)\Traccar\bin\..\lib\wrapper.dll
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: Please verify that the file is both readable and executable by the
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: current user and that the file has not been corrupted in any way.
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: One common cause of this problem is running a 32-bit version
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: of the Wrapper with a 64-bit version of Java, or vica versa.
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: This is a 32-bit JVM.
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: Reported cause:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: C:\Program Files (x86)\Traccar\lib\wrapper.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager: System signals will not be handled correctly.
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperManager:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: java.lang.NullPointerException
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.database.QueryBuilder.parse(QueryBuilder.java:60)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.database.QueryBuilder.<init>(QueryBuilder.java:49)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.database.QueryBuilder.create(QueryBuilder.java:119)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.database.DataManager.getLatestPositions(DataManager.java:318)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.database.DataCache.<init>(DataCache.java:38)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.Context.init(Context.java:93)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.traccar.Main.main(Main.java:26)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO | jvm 1 | 2015/06/19 14:01:50 | WrapperSimpleApp Error: at java.lang.Thread.run(Unknown Source)
STATUS | wrapper | 2015/06/19 14:01:52 | <-- Wrapper Stopped
Hello, I have configured my server correctly for a Haicom Hi-604x client , but the latitude & longitude are displayed with the opposite sign.
The aicom csv log shows for example:
388,T,2015/06/18,15:00:20,40.416775,N,-3.70379,W,642.8m,243.63,0.1km/h
and the traccar server shows latitude -40.416775 and 3.70379 when the correct coordinate is 40.416775 and -3.70379
Please, Can anybody help me?