Git Product home page Git Product logo

Comments (15)

vitalidze avatar vitalidze commented on May 30, 2024

Yes, I have it. I will bring it up today once I get back home (in ~6 hours from now). URL can be found here - https://github.com/vitalidze/traccar-web/tree/dev#installation

You can try building it from command line - using maven wrapper. Instructions are here: https://github.com/vitalidze/traccar-web/tree/dev#building

Can you show error log or screen shot in netbeans?

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

to compile and run the server the following error occurs: GWT module 'traccar' may need to be (re) compiled and can not download the file from Tunnel ultrashare.ngrok.com not found

from traccar-web.

vitalidze avatar vitalidze commented on May 30, 2024

As I have said in my previous comment I will bring ultrashare.ngrok.com back once I get home.

Did 'GWT Development Mode' screen popped up when you run it from netbeans? Do you see some errors in NetBeans log window?

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

No error occurs in Netbeans. build with maven now going to test.

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

./mvnw package    master 
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Traccar Web UI 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ traccar-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ traccar-web ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-war-plugin:2.1.1:exploded (default) @ traccar-web ---
[INFO] Exploding webapp
[INFO] Assembling webapp [traccar-web] in [/Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/guilherme/Projetos/traccar-web/src/main/webapp]
[INFO] Webapp assembled in [188 msecs]
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ traccar-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guilherme/Projetos/traccar-web/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ traccar-web ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ traccar-web ---
[INFO]
[INFO] --- gwt-maven-plugin:2.6.0:compile (default) @ traccar-web ---
[INFO] org.traccar.web.Traccar is up to date. GWT compilation skipped
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ traccar-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [traccar-web] in [/Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/guilherme/Projetos/traccar-web/src/main/webapp]
[INFO] Webapp assembled in [135 msecs]
[INFO] Building war: /Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.348s
[INFO] Finished at: Wed Oct 22 12:41:44 BRST 2014
[INFO] Final Memory: 17M/309M
[INFO] ------------------------------------------------------------------------

from traccar-web.

vitalidze avatar vitalidze commented on May 30, 2024

Looks good. I guess you can find built .war file under target folder with name traccar-web-2.9-SNAPSHOT.war. Please note that if you want to see all added features you should switch to dev branch. This can be done by typing following command in terminal:

git checkout dev

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

Now I send this /Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT.war to the server?

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

rename traccar-web-2.9-SNAPSHOT.war to traccar-web.war and send for server?

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

I did checkout dev and rebuild. Now I'm doing the deploy to the server the file traccar-web-2.9-SNAPSHOT.war that or need to rename traccar-web.jar?

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

The following error occurred while executing on the server: "Remote procedure call error"

from traccar-web.

vitalidze avatar vitalidze commented on May 30, 2024

Then either you haven't cleaned up cookies or using H2 database, which has some issues in upgrading database schema (as described here #9).

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

$ git checkout dev  
Branch dev set up to track remote branch dev from origin.
Switched to a new branch 'dev'

guilherme@traccar:/Users/guilherme/Projetos/traccar-web$ ./mvnw package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Traccar Web UI 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ traccar-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ traccar-web ---
[INFO] Compiling 43 source files to /Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT/WEB-INF/classes
[INFO]
[INFO] --- maven-war-plugin:2.1.1:exploded (default) @ traccar-web ---
[INFO] Exploding webapp
[INFO] Assembling webapp [traccar-web] in [/Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/guilherme/Projetos/traccar-web/src/main/webapp]
[INFO] Webapp assembled in [188 msecs]
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ traccar-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guilherme/Projetos/traccar-web/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ traccar-web ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ traccar-web ---
[INFO]
[INFO] --- gwt-maven-plugin:2.6.0:compile (default) @ traccar-web ---
[INFO] Compiling module org.traccar.web.Traccar
[INFO] Compiling 40 permutations
[INFO] Compiling permutation 0...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 3...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 2...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 1...
[INFO] Compiling permutation 4...
[INFO] Compiling
[INFO] Compiling permutation 5...
[INFO] Compiling
[INFO] Compiling permutation 6...
[INFO] Compiling
[INFO] Compiling permutation 7...
[INFO] Compiling permutation 8...
[INFO] Compiling
[INFO] Compiling permutation 9...
[INFO] Compiling
[INFO] Compiling permutation 10...
[INFO] Compiling
[INFO] Compiling permutation 11...
[INFO] Compiling
[INFO] Compiling permutation 12...
[INFO] Compiling
[INFO] Compiling permutation 13...
[INFO] Compiling permutation 14...
[INFO] Compiling
[INFO] Compiling permutation 15...
[INFO] Compiling
[INFO] Compiling permutation 16...
[INFO] Compiling
[INFO] Compiling permutation 17...
[INFO] Compiling
[INFO] Compiling permutation 18...
[INFO] Compiling permutation 19...
[INFO] Compiling
[INFO] Compiling permutation 20...
[INFO] Compiling
[INFO] Compiling permutation 21...
[INFO] Compiling
[INFO] Compiling permutation 22...
[INFO] Compiling permutation 23...
[INFO] Compiling
[INFO] Compiling permutation 24...
[INFO] Compiling
[INFO] Compiling permutation 25...
[INFO] Compiling
[INFO] Compiling permutation 26...
[INFO] Compiling permutation 27...
[INFO] Compiling
[INFO] Compiling permutation 28...
[INFO] Compiling
[INFO] Compiling permutation 29...
[INFO] Compiling
[INFO] Compiling permutation 30...
[INFO] Compiling permutation 31...
[INFO] Compiling
[INFO] Compiling permutation 32...
[INFO] Compiling
[INFO] Compiling permutation 33...
[INFO] Compiling
[INFO] Compiling permutation 34...
[INFO] Compiling permutation 35...
[INFO] Compiling
[INFO] Compiling permutation 36...
[INFO] Compiling
[INFO] Compiling permutation 37...
[INFO] Compiling
[INFO] Compiling permutation 38...
[INFO] Compiling permutation 39...
[INFO] Compile of permutations succeeded
[INFO] Linking into /Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT/traccar
[INFO] Link succeeded
[INFO] Compilation succeeded -- 425,853s
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ traccar-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [traccar-web] in [/Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/guilherme/Projetos/traccar-web/src/main/webapp]
[INFO] Webapp assembled in [148 msecs]
[INFO] Building war: /Users/guilherme/Projetos/traccar-web/target/traccar-web-2.9-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:17.141s
[INFO] Finished at: Wed Oct 22 12:55:31 BRST 2014
[INFO] Final Memory: 22M/321M
[INFO] ------------------------------------------------------------------------

from traccar-web.

vitalidze avatar vitalidze commented on May 30, 2024

This build log looks very good. If you are using default traccar database (H2) then issue is with schema. It is a known issue, but I cannot reproduce it on my side, if you can send me your database I will try to look into that issue. All other people have just moved to MySQL.

Also it is possible that this issue is related with browser cookies. You should clean them up before accessing traccar web UI.

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

worked. the problem was the same h2. deleted files and created again and it worked.

from traccar-web.

guilhermesouza avatar guilhermesouza commented on May 30, 2024

Thank you!

from traccar-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.