Traccar ver 4.3 on mac osx High Sierra 10.13.1

Trac5 years ago

I unziped Traccar-other ver 4.3 on my mac osx High Sierra 10.13.1 Intel processor but can not working.
When I used this command java -jar tracker-server

My Terminal out is :

Apples-MacBook-Pro:traccar-other-4.3 apple$ java -jar tracker-server.jar 
Exception in thread "main" java.lang.RuntimeException: Configuration file is not provided
    at org.traccar.Main.main(Main.java:79)
Apples-MacBook-Pro:traccar-other-4.3 apple$ 

But when used another command java -jar tracker-server.jar
Terminal output is :

Apples-MacBook-Pro:traccar-other-4.3 apple$ 
Apples-MacBook-Pro:traccar-other-4.3 apple$  java -jar tracker-server.jar conf/traccar.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/Users/apple/Downloads/GPS-SERVER/traccar-other-4.3/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Can i get a help to solve this problem.

Anton Tananaev5 years ago

Please don't create multiple topics for the same issue.

Trac5 years ago

Oky but here output java is clear

Anton Tananaev5 years ago

Output looks fine to me.

Trac5 years ago

Do i will got solve to problem?

Trac5 years ago

When I used this command

 java -jar tracker-server.jar conf

The traccar server create log file
Log file contain this :

2019-04-11 22:49:48  INFO: HikariPool-1 - Starting...
2019-04-11 22:49:49  INFO: HikariPool-1 - Start completed.
...
2019-04-11 22:50:49  INFO: [5c9eff2b] connected
2019-04-11 22:50:49  INFO: [5c9eff2b: 5001 < 0:0:0:0:0:0:0:1] HEX: 504f5354202f6170692f76302f737761726d2f70656572733f73747265616d2d6368616e6e656c733d7472756520485454502f312e310d0a486f73743a206c6f63616c686f73743a353030310d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a436f6e74656e742d4c656e6774683a20300d0a4f726967696e3a206368726f6d652d657874656e73696f6e3a2f2f6b636b68676f6967696b6b61646f676664696f6a63626c65676668646e6a65690d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031305f31335f3129204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f37322e302e333632362e31303920596142726f777365722f31392e332e302e3234383920596f777365722f322e35205361666172692f3533372e33360d0a4163636570743a202a2f2a0d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174652c2062720d0a4163636570742d4c616e67756167653a20656e2d55532c656e3b713d302e392c61723b713d302e382c7a683b713d302e370d0a436f6f6b69653a205f787372663d327c38643436646233647c65353239313864393439353961323839353231323831663339333733316163357c313535333230303030393b20757365726e616d652d6c6f63616c686f73742d383838383d22327c313a307c31303a313535333230303034337c32333a757365726e616d652d6c6f63616c686f73742d383838387c34343a597a63354d7a45784d544d334f445a6d4e4463324d546b33597a517a595751334e575178595456694f57453d7c38663236663661663337663538663138363363616230376435616662396332393032653836313336373536323765663939376562643235333730343733303830220d0a0d0a
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 19 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 7 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  WARN: [5c9eff2b] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-11 22:50:49  INFO: [5c9eff2b] disconnected
Anton Tananaev5 years ago

What's your question? Your server is running.

Trac5 years ago

My server not runing

Anton Tananaev5 years ago

If you get logs, it obviously proves that it is running.

Trac5 years ago

Do not care about Log file because not past complete here.

Trac5 years ago

My Traccar server not working because nothing loaded in http://localhost:8082
I see the web page as load but nothing appear in it.

Ernesto Vallejo5 years ago

If you dont share any console logs or server logs at this point, you make yourself almost impossible to get any kind of help. Your message looks more a complaint rather that a help request.

Trac5 years ago

The Log file

2019-04-19 20:32:23  INFO: HikariPool-1 - Starting...
2019-04-19 20:32:24  INFO: HikariPool-1 - Start completed.
2019-04-19 20:32:25  INFO: Clearing database change log checksums
2019-04-19 20:32:25  INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK
...
2019-04-19 20:32:37  INFO: Version: 4.3-SNAPSHOT
2019-04-19 20:32:37  INFO: Starting server...
2019-04-19 20:32:37  WARN: Failed to find a usable hardware address from the network interfaces; using random bytes: 73:bd:08:5e:db:aa:90:05
2019-04-19 20:32:37  INFO: jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 12+33
2019-04-19 20:32:38  INFO: Started o.t.w.@76563ae7{/,null,AVAILABLE}
2019-04-19 20:32:38  INFO: DefaultSessionIdManager workerName=node0
2019-04-19 20:32:38  INFO: No SessionScavenger set, using defaults
2019-04-19 20:32:38  INFO: node0 Scavenging every 600000ms
2019-04-19 20:32:39  INFO: [2432b25a] connected
2019-04-19 20:32:39  INFO: [2432b25a: 5001 < 0:0:0:0:0:0:0:1] HEX: 504f5354202f6170692f76302f737761726d2f70656572733f73747265616d2d6368616e6e656c733d7472756520485454502f312e310d0a486f73743a206c6f63616c686f73743a353030310d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a436f6e74656e742d4c656e6774683a20300d0a4f726967696e3a206368726f6d652d657874656e73696f6e3a2f2f6b636b68676f6967696b6b61646f676664696f6a63626c65676668646e6a65690d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031305f31335f3129204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f37322e302e333632362e31303920596142726f777365722f31392e332e302e3234383920596f777365722f322e35205361666172692f3533372e33360d0a4163636570743a202a2f2a0d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174652c2062720d0a4163636570742d4c616e67756167653a20656e2d55532c656e3b713d302e392c61723b713d302e382c7a683b713d302e370d0a436f6f6b69653a205f787372663d327c38643436646233647c65353239313864393439353961323839353231323831663339333733316163357c313535333230303030393b20757365726e616d652d6c6f63616c686f73742d383838383d22327c313a307c31303a313535333230303034337c32333a757365726e616d652d6c6f63616c686f73742d383838387c34343a597a63354d7a45784d544d334f445a6d4e4463324d546b33597a517a595751334e575178595456694f57453d7c38663236663661663337663538663138363363616230376435616662396332393032653836313336373536323765663939376562643235333730343733303830220d0a0d0a
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 19 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 7 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:39  WARN: [2432b25a] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
...
2019-04-19 20:32:49  WARN: [f04d1e99] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2019-04-19 20:32:49  INFO: [f04d1e99] disconnected
Ernesto Vallejo5 years ago

If you can see the web page load, but see "nothing", do you mean you could log in? Is your devices screen empty even when you have already add devices? What devices have you added?

Trac5 years ago

Traccar server running now

The Server take a time to connect to cloudflare then like download something then start . It is take a long time.
The server must connected to internet. If the server not connected to internet first time will not working but after that working without connecting to internet,