Category : jhipster

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, ..

Read more

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 ..

Read more

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 ..

Read more

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 ..

Read more