I’m using "generator-jhipster": "7.0.1", I’ve achieved debug my current monolithic app generated by Jhipster with docker. I added this line on appp.yml and run the docker-compose (of course I’d created the docker image following the documentation https://www.jhipster.tech/docker-compose/) environment: JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 After that, I created a Remote JVM Debug on IntelliJ (https://medium.com/@maheshmnair/java-remote-debugging-f1730664ab89) So far, all works well, ..
I have a jhipster application with 2 Microservices (moniesta-production and orders) and one gateway. I dockerized all of them together with jhipster docker-compose. So far they all work inside docker. But when I try to make a request with my frontend application (angular)to login for example I get this following error: from origin ‘http://localhost:4200’ has ..
I have two jhipster projects one being a Microservice with two entities and one being my Gateway. So far I am finished with the backend part of the development and wanted to concentrate on my frontend project. For that in order to have a easier part to bring up my backend I wanted to generate ..
I am using the monolithic application (generated by jhipster) which contains elasticsearch. When I add a new row data search is working fine!! But when I try to search an old row (inserted by the application during the test) and after a lot of runs/Stop application search query not working!! It looks like it’s an ..
I wrote a separating front-end project using jhipster 6.10.5 and it works fine in dev mode. Now I want to deploy it with nginx. So I wrote a dockerfile in the root of the project then I executed the docker build -t my-image . command to build the image then the docker run -p 9000:80 ..
I am creating a java project with JHipster, spring boot data, and Postgres. When I try to run the application in the Docker container, I get the following exception: org.postgresql.util.PSQLException: The connection attempt failed. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:195) at org.postgresql.Driver.makeConnection(Driver.java:454) at org.postgresql.Driver.connect(Driver.java:256) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123) at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365) at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194) at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460) at ..
I was trying to build the docker image for a project I’m working onto. It’s based on jhipster, after configuring the project it tells me to run the following maven command: ./mvnw -ntp -Pprod verify jib:dockerBuild Unfortunately it doesn’t seem to work, it returns me this errors: [WARNING] The credential helper (docker-credential-pass) has nothing for ..
Why image base in containers of spring boot microservices changed from alpine to ubuntu In Jhipster 5.3.4: openjdk:8-jre-alpine In Jhipster 6.10.1: ubuntu… It seems, the image ubuntu have more MB of older image base… Thanks Source: Docker..
I’m using JHipster and when I start the app using docker-compose the app can’t connect to database. Is it necessary create a database user when start? gestao-app_1 | org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" app.yml version: ‘2’ services: gestao-app: image: gestao environment: – _JAVA_OPTIONS=-Xmx512m -Xms256m – SPRING_PROFILES_ACTIVE=prod,swagger – MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true – SPRING_DATASOURCE_URL=jdbc:postgresql://gestao-postgresql:5432/mydb – JHIPSTER_SLEEP=30 ..
I have an app where I want to push to repository A or B depending on the profile that is being run. For instance: If I run this in Jenkins sh "./mvnw package -Pint verify -DskipTests jib:dockerBuild" it should push to our integration registry. If I run this in Jenkins sh "./mvnw package -Pprod verify ..