Comments (22)
I'm afraid I don't understand how to enable UDP. I use a TK103, which performs both TCP or UDP. I'd like to use UDP (less data use), but I don't see how to enable tk103 in UDP mode.
I guess I must replace
serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) {
by
serverList.add(new TrackerServer(this, new ConnectionlessBootstrap(), protocol) {
in ServerManager.java for tk103 initializer ?
from traccar.
UDP is supported only for some trackers. It might work if you change ServerBootstrap to ConnectionlessBootstrap, but no guarantees :)
Why do you want to use UDP over TCP?
from traccar.
I'll make a try.
Why UDP ? Here some advantages, at least for my use case :
- less data used (less money spent whith my GSM carrier), no ACK and so on. Ideal when internet quality is a bit crappy.
- don't care if 'some' packet are lost. With more than 10 000 km done with UDP reporting (opengts), lost rate is < 0,01%
- I tried TCP and it ended losting more packet than UDP. Basicly because software on gps device is probably very simple and it doesn't retry on TCP connection failure.
On such devices, I thing UDP is conceptually the more convenient way to send data to a collecting server.
from traccar.
OK, let me know if it works.
from traccar.
Just done a quick-hack to work like Skypatrol (UDP based ; vsurrel@7d44091), but I just realized that even Skypatrol does not actually listen in UDP...
I haven't any UDP socket listening (netstat -aunp) when launching it ; even Skypatrol port is listening in TCP.
I'll try to investigate a bit later
from traccar.
Holy cow, you are right :) I'll investigate the issue
from traccar.
I fixed the problem.
from traccar.
Thanks. Just in case, I've just sent you #193 which works like a charm on my server.
from traccar.
AX07 has same UDP problem. Why Traccar doesn't support UDP for Atrack protocal?
from traccar.
Added UDP support for Atrack protocol. Here is a new version to test:
https://www.dropbox.com/s/cgmlansv32j3ii0/tracker-server.jar?dl=0
from traccar.
Hi Tananaev,
Thanks, But It's not works for me.
tracker-server.log is following
2014-12-07 06:12:49 INFO: Shutting down server...
2014-12-07 06:12:56 INFO: Starting server...
2014-12-07 06:12:56 INFO: Operating System name: Linux version: 2.6.32-042stab092.2 architecture: amd64
2014-12-07 06:12:56 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.65-b04
2014-12-07 06:12:56 INFO: Memory Limit heap: 494mb non-heap: 214mb
2014-12-07 06:13:35 WARN: Not enough readable bytes - Need 8, maximum is 4 - java.lang.IndexOutOfBoundsException (AbstractChannelBuffer.java:668)
2014-12-07 06:13:35 INFO: Closing connection by exception
I look forward your help.
Best Regards.
from traccar.
Please provide logs with logger.level
set to all
.
from traccar.
2014-12-07 07:50:04 INFO: Starting server...
2014-12-07 07:50:04 INFO: Operating System name: Linux version: 2.6.32-042stab092.2 architecture: amd64
2014-12-07 07:50:04 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.65-b04
2014-12-07 07:50:04 INFO: Memory Limit heap: 494mb non-heap: 214mb
2014-12-07 07:50:12 WARN: ksiksiksi : start2
2014-12-07 07:50:12 WARN: ksiksiksi : start3
from traccar.
Well.. you need to wait till device is connected. I don't see any messages from it.
from traccar.
I think this is right debug information.
2014-12-07 07:52:26 DEBUG: [5044 <- 27.253.251.111] - HEX: fe020001466b2988e03b00e5
2014-12-07 07:52:26 WARN: Not enough readable bytes - Need 8, maximum is 4 - java.lang.IndexOutOfBoundsException (AbstractChannelBuffer.java:668)
2014-12-07 07:52:26 INFO: Closing connection by exception
from traccar.
My tracker is now trying to connect to server, but it seems like to fail to connect.
from traccar.
I want to know what is the reason of following error.
2014-12-07 07:52:26 DEBUG: [5044 <- 27.253.251.111] - HEX: fe020001466b2988e03b00e5
2014-12-07 07:52:26 WARN: Not enough readable bytes - Need 8, maximum is 4 - java.lang.IndexOutOfBoundsException (AbstractChannelBuffer.java:668)
2014-12-07 07:52:26 INFO: Closing connection by exception
from traccar.
Please see following log
2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0xa8aaba18, /0:0:0:0:0:0:0:0:5001] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0x24a43736, /0:0:0:0:0:0:0:0:5002] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0xab2da193, /0:0:0:0:0:0:0:0:5021] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksiksiksi : start2 2014-12-07 08:41:57 WARN: ksiksiksi : start3 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0x7d43f051, /0:0:0:0:0:0:0:0:5044] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0xd43c70f7, /0:0:0:0:0:0:0:0:5052] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0xdcce1884, /0:0:0:0:0:0:0:0:5053] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : start connectionless bind 2014-12-07 08:41:57 WARN: ksilog : ok bind :[id: 0x1f2c1004, /0:0:0:0:0:0:0:0:5057] 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null : 2014-12-07 08:41:57 WARN: ksilog : channel is null :
from traccar.
public void start() { InetSocketAddress endpoint; if (address == null) { endpoint = new InetSocketAddress(port); } else { endpoint = new InetSocketAddress(address, port); } Channel channel = null; if (bootstrap instanceof ServerBootstrap) { channel = ((ServerBootstrap) bootstrap).bind(endpoint); } else if (bootstrap instanceof ConnectionlessBootstrap) { Log.warning("ksilog : start connectionless bind"); channel = ((ConnectionlessBootstrap) bootstrap).bind(endpoint); Log.warning("ksilog : ok bind :"+channel.toString()); } if (channel != null) { Log.warning("ksilog : channel is null :"); getChannelGroup().add(channel); } }
from traccar.
That is a start function of TrackerServer.Java file. I insert detail Log in that.
As we can see in log, first time server and device both are connected on UDP, but soon disconnected.
What is the problem??
from traccar.
Following is wrapper log.
--> Wrapper Started as Daemon
STATUS | wrapper | 2014/12/07 17:41:44 | Java Service Wrapper Community Edition 64-bit 3.5.25 STATUS | wrapper | 2014/12/07 17:41:44 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2014/12/07 17:41:44 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2014/12/07 17:41:44 | DEBUG | wrapper | 2014/12/07 17:41:44 | Release time: 2014/06/12 00:00:00 DEBUG | wrapper | 2014/12/07 17:41:44 | Build time: 2014/06/13 16:02:00 DEBUG | wrapper | 2014/12/07 17:41:44 | Timezone: JST (JST) Offset: -32400, hasDaylight: 0 DEBUG | wrapper | 2014/12/07 17:41:44 | Using tick timer. DEBUG | wrapper | 2014/12/07 17:41:44 | Use tick timer mutex=FALSE DEBUG | wrapper | 2014/12/07 17:41:44 | active log file changed: ../logs/wrapper.log.20141207 DEBUG | wrapper | 2014/12/07 17:41:44 | Preparing to restart with mode 1. DEBUG | wrapperp | 2014/12/07 17:41:44 | server listening on port 32000. DEBUG | wrapper | 2014/12/07 17:41:44 | Unable to resolve the real path of wrapper.java.command as a relative reference: java DEBUG | wrapper | 2014/12/07 17:41:44 | Attempt to locate wrapper.java.command on system PATH: java DEBUG | wrapper | 2014/12/07 17:41:44 | Resolved the real path of wrapper.java.command from system PATH: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre/bin/java DEBUG | wrapper | 2014/12/07 17:41:44 | Magic number for file /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre/bin/java: 0x7f454c46 DEBUG | wrapper | 2014/12/07 17:41:44 | Startup Timeouts: wrapper.startup.timeout=30, wrapper.startup.delay.console=0, wrapper.startup.delay.service=0, wrapper.restart.delay=5 DEBUG | wrapper | 2014/12/07 17:41:44 | Ping settings: wrapper.ping.interval=5, wrapper.ping.interval.logged=1, wrapper.ping.timeout=30, wrapper.ping.alert.threshold=7 DEBUG | wrapper | 2014/12/07 17:41:44 | Shutdown Timeouts: wrapper.startup.timeout=30, wrapper.shutdown.timeout=15, wrapper.jvm_exit.timeout=10, wrapper.jvm_cleanup.timeout=10, wrapper.jvm_terminate.timeout=6593248 STATUS | wrapper | 2014/12/07 17:41:45 | Launching a JVM... DEBUG | wrapper | 2014/12/07 17:41:45 | Java Command Line: DEBUG | wrapper | 2014/12/07 17:41:45 | Command[0] : /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre/bin/java DEBUG | wrapper | 2014/12/07 17:41:45 | Command[1] : -Djava.library.path=../lib DEBUG | wrapper | 2014/12/07 17:41:45 | Command[2] : -classpath DEBUG | wrapper | 2014/12/07 17:41:45 | Command[3] : ../lib/wrapper.jar:../tracker-server.jar DEBUG | wrapper | 2014/12/07 17:41:45 | Command[4] : -Dwrapper.key=nth9OR4mhqZSMa9H DEBUG | wrapper | 2014/12/07 17:41:45 | Command[5] : -Dwrapper.port=32000 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[6] : -Dwrapper.jvm.port.min=31000 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[7] : -Dwrapper.jvm.port.max=31999 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[8] : -Dwrapper.debug=TRUE DEBUG | wrapper | 2014/12/07 17:41:45 | Command[9] : -Dwrapper.disable_console_input=TRUE DEBUG | wrapper | 2014/12/07 17:41:45 | Command[10] : -Dwrapper.pid=2133 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[11] : -Dwrapper.version=3.5.25 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[12] : -Dwrapper.native_library=wrapper DEBUG | wrapper | 2014/12/07 17:41:45 | Command[13] : -Dwrapper.arch=x86 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[14] : -Dwrapper.service=TRUE DEBUG | wrapper | 2014/12/07 17:41:45 | Command[15] : -Dwrapper.cpu.timeout=10 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[16] : -Dwrapper.jvmid=1 DEBUG | wrapper | 2014/12/07 17:41:45 | Command[17] : org.tanukisoftware.wrapper.WrapperSimpleApp DEBUG | wrapper | 2014/12/07 17:41:45 | Command[18] : org.traccar.Main DEBUG | wrapper | 2014/12/07 17:41:45 | Command[19] : /opt/traccar/conf/traccar.cfg INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@21c8dfe6 INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager: Initializing... INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: JVM #1 INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Running a 64-bit JVM. INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: org.tanukisoftware.wrapper.WrapperManager package information: INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Implementation Title: org.tanukisoftware.wrapper INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Implementation Vendor: Tanuki Software, Ltd. INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Implementation Version: 3.5.25 INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Is Sealed?: False INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: org.tanukisoftware.wrapper.WrapperManager protection domain: INFO | jvm 1 | 2014/12/07 17:41:45 | WrapperManager Debug: Location: file:/opt/traccar/lib/wrapper.jar INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Size: 121,449 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: MD5: c2730df4dcbe5a4167baf53b6e939c13 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Registering shutdown hook INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Using wrapper INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Registered MBean with Platform MBean Server: org.tanukisoftware.wrapper:type=WrapperManager INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Load native library. There are multiple possible file names and the first to be found will be used. Errors loading non-existing files is normal and is only a problem if they all fail. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Attempt to load native library with name: libwrapper-linux-x86-64.so Result: no wrapper-linux-x86-64 in java.library.path INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Attempt to load native library with name: libwrapper.so Result: Success! INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Successfully loaded native library. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Loaded localized resources. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Calling native initialization method. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperJNI Debug: Inside native WrapperManager initialization method INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Java Version : 1.7.0_71-mockbuild_2014_10_17_22_23-b00 OpenJDK 64-Bit Server VM INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Java VM Vendor : Oracle Corporation INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: OS Name : Linux INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: OS Arch : amd64 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Control event monitor thread started. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: WrapperManager.start(a org.tanukisoftware.wrapper.WrapperSimpleApp, args["/opt/traccar/conf/traccar.cfg"]) called by thread: main INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Initial thread: main Priority: 5 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Startup runner thread started. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Communications runner thread started. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Open socket to wrapper...Wrapper-Connection INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Unable to open socket to Wrapper from port 31,000, already in use. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Opened Socket from 31,001 to 32,000 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Send a packet KEY : nth9OR4mhqZSMa9H INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: handleBackend() DEBUG | wrapperp | 2014/12/07 17:41:46 | accepted a socket from 127.0.0.1 on port 31001 DEBUG | wrapperp | 2014/12/07 17:41:46 | closing backend server. DEBUG | wrapperp | 2014/12/07 17:41:46 | read a packet KEY : nth9OR4mhqZSMa9H DEBUG | wrapper | 2014/12/07 17:41:46 | Got key from JVM: nth9OR4mhqZSMa9H DEBUG | wrapperp | 2014/12/07 17:41:46 | send a packet LOW_LOG_LEVEL : 0 DEBUG | wrapperp | 2014/12/07 17:41:46 | send a packet LOGFILE : ../logs/wrapper.log.20141207 DEBUG | wrapperp | 2014/12/07 17:41:46 | send a packet PROPERTIES : (Property Values) DEBUG | wrapper | 2014/12/07 17:41:46 | Start Application. DEBUG | wrapperp | 2014/12/07 17:41:46 | send a packet START : start INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Received a packet LOW_LOG_LEVEL : 0 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: LowLogLevel from Wrapper is 0 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Received a packet LOGFILE : ../logs/wrapper.log.20141207 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Received a packet PROPERTIES : (Property Values) INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Received a packet START : start INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Java temporary directory: /tmp INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: calling WrapperListener.start() INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: WrapperListener.start runner thread started. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperManager Debug: Application start main thread: WrapperListener_start_runner Priority: 5 INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperSimpleApp Debug: start(args) Will wait up to 2 seconds for the main method to complete. INFO | jvm 1 | 2014/12/07 17:41:46 | WrapperSimpleApp Debug: invoking main method INFO | jvm 1 | 2014/12/07 17:41:47 | WrapperManager Debug: Send a packet START_PENDING : 5000 DEBUG | wrapperp | 2014/12/07 17:41:47 | read a packet START_PENDING : 5000 DEBUG | wrapper | 2014/12/07 17:41:47 | JVM signaled a start pending with waitHint of 5000 millis. INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: Send a packet START_PENDING : 5000 INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperSimpleApp Debug: start(args) end. Main Completed=false, exitCode=null INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: returned from WrapperListener.start() INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: Send a packet STARTED : INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: WrapperListener.start runner thread stopped. INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: Startup runner thread stopped. DEBUG | wrapperp | 2014/12/07 17:41:48 | read a packet START_PENDING : 5000 DEBUG | wrapper | 2014/12/07 17:41:48 | JVM signaled a start pending with waitHint of 5000 millis. DEBUG | wrapperp | 2014/12/07 17:41:48 | read a packet STARTED : DEBUG | wrapper | 2014/12/07 17:41:48 | JVM signaled that it was started. DEBUG | wrapperp | 2014/12/07 17:41:48 | send a packet PING : ping fffffe29 INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: Received a packet PING : ping fffffe29 INFO | jvm 1 | 2014/12/07 17:41:48 | WrapperManager Debug: Send a packet PING : ping fffffe29 DEBUG | wrapperp | 2014/12/07 17:41:48 | read a packet PING : ping fffffe29 INFO | jvm 1 | 2014/12/07 17:41:50 | 2014-12-07 08:41:50.018:INFO:oejs.Server:jetty-8.1.16.v20140903 INFO | jvm 1 | 2014/12/07 17:41:50 | 2014-12-07 08:41:50.512:INFO:oejw.WebInfConfiguration:Extract jar:file:/opt/traccar/traccar-web.war!/ to /tmp/jetty-0.0.0.0-8082-traccar-web.war-_-any-/webapp DEBUG | wrapperp | 2014/12/07 17:41:53 | send a packet PING : ping fffffe52 INFO | jvm 1 | 2014/12/07 17:41:53 | WrapperManager Debug: Received a packet PING : ping fffffe52 INFO | jvm 1 | 2014/12/07 17:41:53 | WrapperManager Debug: Send a packet PING : ping fffffe52 DEBUG | wrapperp | 2014/12/07 17:41:53 | read a packet PING : ping fffffe52 INFO | jvm 1 | 2014/12/07 17:41:56 | 2014-12-07 08:41:56.814:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet DEBUG | wrapperp | 2014/12/07 17:41:57 | send a packet PING : ping fffffe7b INFO | jvm 1 | 2014/12/07 17:41:57 | WrapperManager Debug: Received a packet PING : ping fffffe7b INFO | jvm 1 | 2014/12/07 17:41:57 | WrapperManager Debug: Send a packet PING : ping fffffe7b INFO | jvm 1 | 2014/12/07 17:41:57 | 2014-12-07 08:41:57.300:INFO:oejs.AbstractConnector:Started [email protected]:8082 DEBUG | wrapperp | 2014/12/07 17:41:57 | read a packet PING : ping fffffe7b INFO | jvm 1 | 2014/12/07 17:41:57 | WrapperSimpleApp Debug: main method completed DEBUG | wrapperp | 2014/12/07 17:42:01 | send a packet PING : ping fffffea4 INFO | jvm 1 | 2014/12/07 17:42:01 | WrapperManager Debug: Received a packet PING : ping fffffea4 INFO | jvm 1 | 2014/12/07 17:42:01 | WrapperManager Debug: Send a packet PING : ping fffffea4 DEBUG | wrapperp | 2014/12/07 17:42:01 | read a packet PING : ping fffffea4 DEBUG | wrapperp | 2014/12/07 17:42:05 | send a packet PING : ping fffffecd INFO | jvm 1 | 2014/12/07 17:42:05 | WrapperManager Debug: Received a packet PING : ping fffffecd INFO | jvm 1 | 2014/12/07 17:42:05 | WrapperManager Debug: Send a packet PING : ping fffffecd DEBUG | wrapperp | 2014/12/07 17:42:05 | read a packet PING : ping fffffecd INFO | jvm 1 | 2014/12/07 17:42:08 | 2014-12-07 08:42:08.494:WARN:/:Exception while dispatching incoming RPC call INFO | jvm 1 | 2014/12/07 17:42:08 | com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.traccar.web.client.model.DataService.getLatestPositions()' threw an unexpected exception: java.lang.IllegalStateException INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) INFO | jvm 1 | 2014/12/07 17:42:08 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) INFO | jvm 1 | 2014/12/07 17:42:08 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.Server.handle(Server.java:370) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) INFO | jvm 1 | 2014/12/07 17:42:08 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 1 | 2014/12/07 17:42:08 | Caused by: INFO | jvm 1 | 2014/12/07 17:42:08 | java.lang.IllegalStateException INFO | jvm 1 | 2014/12/07 17:42:08 | at org.traccar.web.server.model.DataServiceImpl.getSessionUser(DataServiceImpl.java:113) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.traccar.web.server.model.DataServiceImpl.getLatestPositions(DataServiceImpl.java:403) INFO | jvm 1 | 2014/12/07 17:42:08 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2014/12/07 17:42:08 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2014/12/07 17:42:08 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2014/12/07 17:42:08 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305) INFO | jvm 1 | 2014/12/07 17:42:08 | at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) INFO | jvm 1 | 2014/12/07 17:42:08 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) INFO | jvm 1 | 2014/12/07 17:42:08 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.Server.handle(Server.java:370) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) INFO | jvm 1 | 2014/12/07 17:42:08 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) INFO | jvm 1 | 2014/12/07 17:42:08 | at java.lang.Thread.run(Thread.java:745) DEBUG | wrapperp | 2014/12/07 17:42:09 | send a packet PING : ping fffffef6 INFO | jvm 1 | 2014/12/07 17:42:09 | WrapperManager Debug: Received a packet PING : ping fffffef6 INFO | jvm 1 | 2014/12/07 17:42:09 | WrapperManager Debug: Send a packet PING : ping fffffef6 DEBUG | wrapperp | 2014/12/07 17:42:09 | read a packet PING : ping fffffef6 DEBUG | wrapperp | 2014/12/07 17:42:13 | send a packet PING : ping ffffff1f INFO | jvm 1 | 2014/12/07 17:42:13 | WrapperManager Debug: Received a packet PING : ping ffffff1f INFO | jvm 1 | 2014/12/07 17:42:13 | WrapperManager Debug: Send a packet PING : ping ffffff1f DEBUG | wrapperp | 2014/12/07 17:42:13 | read a packet PING : ping ffffff1f DEBUG | wrapperp | 2014/12/07 17:42:17 | send a packet PING : ping ffffff48 INFO | jvm 1 | 2014/12/07 17:42:17 | WrapperManager Debug: Received a packet PING : ping ffffff48 INFO | jvm 1 | 2014/12/07 17:42:17 | WrapperManager Debug: Send a packet PING : ping ffffff48 DEBUG | wrapperp | 2014/12/07 17:42:17 | read a packet PING : ping ffffff48 DEBUG | wrapperp | 2014/12/07 17:42:22 | send a packet PING : ping ffffff71 INFO | jvm 1 | 2014/12/07 17:42:22 | WrapperManager Debug: Received a packet PING : ping ffffff71 INFO | jvm 1 | 2014/12/07 17:42:22 | WrapperManager Debug: Send a packet PING : ping ffffff71 DEBUG | wrapperp | 2014/12/07 17:42:22 | read a packet PING : ping ffffff71
from traccar.
Fixed version:
https://www.dropbox.com/s/cgmlansv32j3ii0/tracker-server.jar?dl=0
from traccar.
Related Issues (20)
- Traccar v6 ARM does not start on Raspberry Pi OS HOT 13
- Assets for v6.0 have been silently replaced HOT 7
- Command queue not working when device is offline. HOT 1
- web-url notification api HOT 1
- WebUI 404 not Found HOT 6
- Traccar Data gone after upgrade HOT 1
- Geocode.Farm Update HOT 2
- Data not displaying in Traccar despite correct logs (?!) HOT 15
- Import Resources HOT 10
- Feature request: Idling time, moving time, Stopped time calculator implementation
- In app info
- Add UDP support for tlt2h protocol (e.g. Mictrack MT710) HOT 2
- Add option for queuing all commands (rather than sending immediately when a device is online) and sending within X seconds of an incoming connection HOT 4
- openid.allowGroup is of no effect for oidc login HOT 4
- Teltonika FCM130 Driver ID HOT 6
- Notification "Device Moving" not reporting HOT 1
- Feature request: Micodus devices voltage and alarm messages decoding
- Traccar as MQTT consumer HOT 4
- [5.10] Can't set Total Distance, IllegalArgumentException (DeviceResource:155 < ... < OverrideFilter:49 < ...) HOT 1
- Feature request: pls add support for KMZ or GPX HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traccar.