Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Pierre Besson
    please use stackoverflow much better than gitter
    it also help the question/answers to be correctly formulated and searchable through google in the future
    I have an Integer PK field in JDL, it gets changed to bigint in postgres, I want it to remain Integer
    Alejandro Matos
    I think you will have to change it by hand
    Caleb Powell
    Has anyone managed to get the jhipster e2e tests running on bitbucket pipelines (or some other dockerized build system)?
    Antoine Luckenson
    Antoine Luckenson
    please help me
    Alejandro Matos
    @aluckens is this when running jhipster-console?
    Antoine Luckenson
    hi , how can i access headers in a request in production prof
    Alejandro Matos
    @aluckens wrong channel
    @aluckens hi, there is a Optional Configuration for add frontend-maven should you follow that https://github.com/eirslett/frontend-maven-plugin
    Eduardo Cintra
    Hi everyone, I'm with a problem... When I try to generate a entity by the comand "jhipster entity phone" only is generated the client code, it's like if I passed "--skype-server". Has anyone else had this problem?
    Bobby King
    When running my jhipster app in dev mode AND with logstash forwarding turned on AND the jhipster-console dockers spun up I get this error Caused by: com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/EugWgt89SFmIpJj0IVFuUg] already exists","index_uuid":"EugWgt89SFmIpJj0IVFuUg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/EugWgt89SFmIpJj0IVFuUg] already exists","index_uuid":"EugWgt89SFmIpJj0IVFuUg","index":"user"} , message : null
    Hello guys,
    I created a project with jhipster by choosing elastic search as a search engine. it's been days since I got this bug, yet i started elastic search with the docker-compose command,
    someone to help me please !!!
    Peter E Olsen III
    @aboubakrndong I think this is because your User.java file does not contain the @org.springframework.data.elasticsearch.annotations.Document(indexName = "user") annotation.
    Alejandro Matos
    I’m trying to run the console by following this https://www.jhipster.tech/monitoring/#jhipster-console
    when running the yml file, I get the following error:
    ERROR: for jhipster-alerter  Cannot start service jhipster-alerter: b'OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/Users/alejandro/IdeaProjects/jhipster-alerter/config.yaml\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/88d45f6803afafd0f0f1b13e1d922a0b915c6b1c07b40b5cab4c57b76806cfa2/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/88d45f6803afafd0f0f1b13e1d922a0b915c6b1c07b40b5cab4c57b76806cfa2/merged/opt/elastalert/config.yaml\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type’
    Alejandro Matos
    Although I can access the kibana website
    Hi, I am new working with Jhipster and working with micro-service. I have done some test with Elk and sipkin and i could registered all the trace and with kibana I can wathched everything, but everything locally, now i am working with a server with basic Auth in ELK. My question is. How could I config the basic Auth with username and password on the application-dev.yml?
    how could i configure Jhipster-console for a external elk server?
    vincenzo cerbone
    Hello everyone, running https://github.com/jhipster/jhipster-console/blob/master/bootstrap/docker-compose.yml I could successfully access jhipster-console. Although I can see instances running on dashboard and metrics- are present with data, the "jvm-dashboard" does not show data about jvm memory, threads...
    As far as I could understand jhipster.metrics.jmx.enabled properties is used only for third-party monitoring systems (such as Prometheus). In fact, setting that property causes microservice springboot fail because no other third party monitoring system in in the classpath.
    I'm running with jhipster-framework.version 3.0.5.
    Did anybody got the same problem?
    Justin VH

    Hello Guys, I am trying to create the microservice with spring web flux using Jhispter generate with version 6.10.1.
    generation works fine, however, when I start service and try to call it from the registry swagger UI, I get "Forbidden /services/reactivemicroservice/reactivemicroservice:75f727caed86aac2799c3322a21b0261/v2/api-docs". I tried with plain microservice(without spring web flux) it works absolutely fine. Can anyone guide me on this ti slove it?.


    Hi guys. After two years of using this stack, is not time to upgrade components from 6.4.1 to newer version?
    Or is this project deprecated?
    Hello! we have a field in mysql that is a JSON type. What would I use on the JDL?
    hello my friends
    [INFO] ESLint: 6.8.0.
    [INFO] ESLint couldn't find the config "jhipster" to extend from. Please check that the name of the config is correct.
    [INFO] The config "jhipster" was referenced from the config file in "C:.eslintrc.json".
    [INFO] If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.
    [INFO] npm ERR! code ELIFECYCLE
    [INFO] npm ERR! errno 2
    [INFO] npm ERR! sandboxreg@0.0.1-SNAPSHOT lint: eslint . --ext .js,.ts
    [INFO] npm ERR! Exit status 2
    [INFO] npm ERR!
    [INFO] npm ERR! Failed at the sandboxreg@0.0.1-SNAPSHOT lint script.
    [INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    I try execute with comand jhipster aws

    [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] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    throw new Error(${msg});

    Error: Error: Command failed: mvnw -ntp verify -B -Pwar -Pprod

    at module.exports.error (C:\WORKSPACE\sandboxreg\node_modules\generator-jhipster\generators\generator-base.js:1590:15)
    at C:\WORKSPACE\sandboxreg\node_modules\generator-jhipster\generators\aws\index.js:119:30
    at ChildProcess.exithandler (child_process.js:310:5)
    at ChildProcess.emit (events.js:311:20)
    at ChildProcess.EventEmitter.emit (domain.js:482:12)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

    C:\WORKSPACE\sandboxreg>eslint . --ext .ts --quiet --fix
    'eslint' não é reconhecido como um comando interno
    ou externo, um programa operável ou um arquivo em lotes.

    Rowan Barney Barnard
    I have a bit of a strange issue
    Rowan Barney Barnard

    I have used docker and kubernetes for a solid 2 years now. I noticed that jhipster-console only looks for microservice containers on localhost. How or where do I change the IP address so it doesn't use localhost?

    I can trick it by modifying the containers hosts file and replace the localhost IP with the cluster IP. It picks up the service, but then it freaks out and say the service is down, even though it's running.

    I kinda want to change our microservice log level at realtime.

    Rowan Barney Barnard

    For testing purposes I used the latest Jhipster-console docker image and also this sample project on GitHub:


    I containerized the jar with this docker base: openjdk:8-jre-alpine

    I also made use of Docker swarm to simulate a cluster, created a simple network overlay called "my_net".

    docker swarm init

    docker network create -d overlay –-attachable my_net

    docker service create --replicas=1 --name jregistry --network my_net -p 8761:8761 jhipster/jhipster-registry

    docker service create --replicas=1 --name sample --network my_net -p 8081:8081 sample:test

    Jhipster-registry don't seem to pick up the microservice, but if I run the jar on my local machine on localhost then the registry picks up the service.

    If you use this command:

    docker network inspect my_net

    You should notice a Peer IP at the bottom of the json file, that's the simulated "cluster" IP. If I go into either containers modify the /etc/hosts file and make localhost point to that IP, then the Jhipster-registry suddenly picks up the service.

    I modified the hosts file just to see what the reaction would be. Unfortunately like I said, jhipster-registry thinks the service is down as soon as you click on it and when you refresh it's magically up again.

    So I just need to know where I can change the IP address to point to that "cluster"/Peer IP?