Code Monkey home page Code Monkey logo

Comments (5)

WillNilges avatar WillNilges commented on June 5, 2024

Oh, there's also maven.

Trying the maven container, I get this:

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /usr/src/mymaven/application/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ThingsBoard UDP Load Balancer ...................... SUCCESS [  1.025 s]
[INFO] ThingsBoard UDP Load Balancer Application .......... FAILURE [ 48.955 s]
[INFO] ThingsBoard UDP Load Balancer Microservices ........ SKIPPED
[INFO] ThingsBoard UDP Load Balancer Server Microservice .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.219 s
[INFO] Finished at: 2021-11-11T18:18:54+00:00
[INFO] Final Memory: 19M/281M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project application: Fatal error compiling: invalid flag: --release -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :application

from thingsboard-udp-loadbalancer.

WillNilges avatar WillNilges commented on June 5, 2024

Oop, this worked:

[~/Code/thingsboard-udp-loadbalancer] [±master✔] 
$ docker run -it --rm --name tb-udp-lb -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven maven:3.8.3-jdk-11 mvn clean package

Now then, how to actually use the thing ;)

If I can get this working, I'll open a PR.

from thingsboard-udp-loadbalancer.

WillNilges avatar WillNilges commented on June 5, 2024

I made an image here: https://hub.docker.com/r/wnilges/cr-tb-udp-lb

from thingsboard-udp-loadbalancer.

ashvayka avatar ashvayka commented on June 5, 2024

Using this project inside docker image may introduce some side effects. We always use it as deb/rpm. Will add deb/rpm build instructions.

from thingsboard-udp-loadbalancer.

WillNilges avatar WillNilges commented on June 5, 2024

I see, this is not intended to be used with a Kubernetes deployment? Is there a way to do so?

Actually, hang on. If running it in Docker is a problem, then why have this file?

from thingsboard-udp-loadbalancer.

Related Issues (4)

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.