I added the Laipac code to the project, but now we are going to install Traccar on a production server. This is preferable done with an .exe
file (Windows server 2012).
I followed the steps carefully in the Traccar build documentation.
- I installed an Ubuntu VM
- I installed all the dependencies
- I tried to minify the web project but I get the following error when I execture tools/minify.sh
[ERR] Failed to resolve dependency Ext.app.Application for file Traccar.Application
[ERR] Unknown defenition for dependency : Ext.app.Application
- I created an empty app.min.js to test the rest.
- The normal build works now.
- I did an install on the testserver we use.
- When I run the Traccar service I get the following error:
INFO|1980/0|Service traccar|18-03-27 14:58:58|java.io.FileNotFoundException: tracker-server.jar (The system cannot find the file specified)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.util.zip.ZipFile.open(Native Method)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.util.zip.ZipFile.<init>(Unknown Source)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.util.zip.ZipFile.<init>(Unknown Source)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.util.jar.JarFile.<init>(Unknown Source)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.util.jar.JarFile.<init>(Unknown Source)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.WrapperManagerImpl.loadJar(WrapperManagerImpl.java:842)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.WrapperManagerImpl.init(WrapperManagerImpl.java:328)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.WrapperManagerProxy.getWrapperManager(WrapperManagerProxy.java:53)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.AbstractWrapperJVMMain$1.run(AbstractWrapperJVMMain.java:64)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at java.security.AccessController.doPrivileged(Native Method)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.AbstractWrapperJVMMain.preExecute(AbstractWrapperJVMMain.java:56)
INFO|1980/0|Service traccar|18-03-27 14:58:58| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:41)
Can somebody help me to build this, or is there a next release comming soon?
Sounds like you haven't compiled the main part - back-end. Documentation that you are referencing clearly explains how to do it.
Sorry I forgot a step, I also runned the "setup/package.sh", and it got true no problem.
@Anton Tananaev I still have the same error
(I also discovered that when I run the setup/package.sh
, I also get the same error but at the end it says build succeeded)
The error:
Secha Cmd v6.5.3.6
[INF] Loading compiler context
[ERR] Failed to resolve dependency Ext.app.Application for file Traccer.Application
[ERR] Unknown definition for dependency: Ext.app.Application
Extracting "Inno Setup" - setup data version 5.5.7
This is maybe an unusual question, but can you maybe provide me with a exe where the traccar works? It just that I need to get this working as fast as possible, and you have an environment setup for building.
Send an email to support address if you need help with it.
I added the Laipac code to the project, but now we are going to install Traccar on a production server. This is preferable done with an
.exe
file (Windows server 2012).I followed the steps carefully in the Traccar build documentation.
Can somebody help me to build this, or is there a next release comming soon?