Dear ALL,
first of all, many thanks for the great work you're providing to the community, nice job reaaaly.
The issue I'm facing can summarized as following:
Everything run properly when I install the SW from ( https://www.traccar.org/download/ ) on both Linux and Windows. But if I rebuild the SW , it compiles, it installs properly ...but when it runs - even locally on http://localhost:8082/ - it does not show the Web pages at all !! as if the Web-package is missing or something alike.
Is that due to the fact that the current version of the source code is not stable ? or am I missing an import step in the build process ??
Here are the detailed description of what I have done, and what went wrong
I have successfully done those steps:
1) installed the latest source code from the repository ( https://github.com/tananaev/traccar.git )
2) compiled the code ( mvn package)
3) generated the installers(./package.sh in traccat/setup directory )and following the instructions from step 8) of the guide in ( https://www.traccar.org/build/ )
4) unziped the one I'm interested in ( traccar-linux-64-3.1.zip) ,
5) followed the instructions to install the Software (sudo ./traccar.run) , as defined in https://www.traccar.org/linux/
6) started the traccar deamon ( sudo /opt/traccar/bin/traccar start ) , the java process run properly and the log files are not showing any issue ...
here is their content :
A/ Traccar-server.log :
2015-08-25 13:24:43 INFO: Operating System name: Linux version: 3.13.0-62-generic architecture: amd64
2015-08-25 13:24:43 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.79-b02
2015-08-25 13:24:43 INFO: Memory Limit heap: 1755mb non-heap: 214mb
2015-08-25 13:24:43 INFO: Version: 3.1-SNAPSHOT
2015-08-25 13:24:44 INFO: Starting server...
B/ wrapper.log
STATUS | wrapper | 2015/08/25 13:24:42 | --> Wrapper Started as Daemon
STATUS | wrapper | 2015/08/25 13:24:42 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/08/25 13:24:42 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/08/25 13:24:42 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/08/25 13:24:42 |
STATUS | wrapper | 2015/08/25 13:24:43 | Launching a JVM...
INFO | jvm 1 | 2015/08/25 13:24:43 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/08/25 13:24:43 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> z8kfsx9brww99q2hci1i|781ba187, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> z8kfsx9brww99q2hci1i|781ba187, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:/opt/traccar/data/database, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=, password=}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @696ms
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - jetty-9.2.13.v20150730
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1dd25868{/api,null,AVAILABLE}
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@2f4f33b4{HTTP/1.1}{0.0.0.0:8082}
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - Started @888ms
- connect on the local daemon ( http://localhost:8082/ ). The connection seams to occur, i.e , the browser loads or try to load the page (release.html ??)
.. and seams to try to connect to the URL defined in release.html ... BUT THEN NOTHING HAPPEN , no dialogue box is showing up , no backroung images and showing , nothing at all ! . All I can see is a gray background ... it look like the "traccar-web" package or module is missing ...or something wrong is going one.
Note as I implicitly stated it earlier, I have not downloaded the code on ( https://github.com/tananaev/traccar-web.git ) as I understood that this not needed anymore ( that package is somehow depricated or get integrated with in the new official repository https://github.com/tananaev/traccar.git
AM I wrong ??
Do I need to still need to compile and deploy the https://github.com/tananaev/traccar-web.git code ??
MANY THANKS
First of all, why do you want to build the whole setup package. If you just want to build custom back-end or make some changes in the web interface, you don't need all that.
Secondly, please look carefully at the "package.sh" script output. I suspect that you are missing ExtJS and Sencha CMD to compile (minimize) web interface.
No, you don't need "traccar-web".
Well, I need to build the entire setup package as this is the spirit of an opensource project , and also to start mastering and understanding the architecture of the system in a first stage.
Indeed I'm missing the ExtjS ( which I believe can be obtained for free from https://www.sencha.com/legal/GPL/ ) and missing the Sencha CMD ( which does not seem to be opensource ..) and is likely to be problematic to move forward with this package. isn't it ?
Thanks
Yes, you can get ExtJS using that link. As for Sencha CMD, it's just a compiler, so I think it doesn't have to be open source. Also, it's possible to use web interface without it (try to open "debug.html").
hi Mr. Anton i too would like to start understanding the architecture of the system, just have one question... every time i Rebuild/compile the project, do ¿i always have to use the Java Service Wrapper? or how can i test the server running it directly from Netbeans?
thanks in advance and congrats, you are a genious!!
Dear ALL,
first of all, many thanks for the great work you're providing to the community, nice job reaaaly.
The issue I'm facing can summarized as following:
Everything run properly when I install the SW from ( https://www.traccar.org/download/ ) on both Linux and Windows. But if I rebuild the SW , it compiles, it installs properly ...but when it runs - even locally on http://localhost:8082/ - it does not show the Web pages at all !! as if the Web-package is missing or something alike.
Is that due to the fact that the current version of the source code is not stable ? or am I missing an import step in the build process ??
Here are the detailed description of what I have done, and what went wrong
I have successfully done those steps:
1) installed the latest source code from the repository ( https://github.com/tananaev/traccar.git )
2) compiled the code ( mvn package)
3) generated the installers(./package.sh in traccat/setup directory )and following the instructions from step 8) of the guide in ( https://www.traccar.org/build/ )
4) unziped the one I'm interested in ( traccar-linux-64-3.1.zip) ,
5) followed the instructions to install the Software (sudo ./traccar.run) , as defined in https://www.traccar.org/linux/
6) started the traccar deamon ( sudo /opt/traccar/bin/traccar start ) , the java process run properly and the log files are not showing any issue ...
here is their content :
A/ Traccar-server.log :
2015-08-25 13:24:43 INFO: Operating System name: Linux version: 3.13.0-62-generic architecture: amd64
2015-08-25 13:24:43 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.79-b02
2015-08-25 13:24:43 INFO: Memory Limit heap: 1755mb non-heap: 214mb
2015-08-25 13:24:43 INFO: Version: 3.1-SNAPSHOT
2015-08-25 13:24:44 INFO: Starting server...
B/ wrapper.log
STATUS | wrapper | 2015/08/25 13:24:42 | --> Wrapper Started as Daemon
STATUS | wrapper | 2015/08/25 13:24:42 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/08/25 13:24:42 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/08/25 13:24:42 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/08/25 13:24:42 |
STATUS | wrapper | 2015/08/25 13:24:43 | Launching a JVM...
INFO | jvm 1 | 2015/08/25 13:24:43 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/08/25 13:24:43 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> z8kfsx9brww99q2hci1i|781ba187, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> z8kfsx9brww99q2hci1i|781ba187, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:/opt/traccar/data/database, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=, password=}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
INFO | jvm 1 | 2015/08/25 13:24:43 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @696ms
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - jetty-9.2.13.v20150730
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1dd25868{/api,null,AVAILABLE}
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@2f4f33b4{HTTP/1.1}{0.0.0.0:8082}
INFO | jvm 1 | 2015/08/25 13:24:44 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - Started @888ms
.. and seams to try to connect to the URL defined in release.html ... BUT THEN NOTHING HAPPEN , no dialogue box is showing up , no backroung images and showing , nothing at all ! . All I can see is a gray background ... it look like the "traccar-web" package or module is missing ...or something wrong is going one.
Note as I implicitly stated it earlier, I have not downloaded the code on ( https://github.com/tananaev/traccar-web.git ) as I understood that this not needed anymore ( that package is somehow depricated or get integrated with in the new official repository https://github.com/tananaev/traccar.git
AM I wrong ??
Do I need to still need to compile and deploy the https://github.com/tananaev/traccar-web.git code ??
MANY THANKS