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 am trying to connect to a Docker PostgreSQL database from IntelliJ. application.properties spring.datasource.url=jdbc:postgresql://localhost:5432/student_application spring.datasource.username=*** spring.datasource.password=*** spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.properties.hibernate.format_sql=true I am able to connect to docker psql via: docker run -it –rm –network=db postgres:alpine psql -h db -U postgres I have already created the database and can see it with the l command. So ..
I have the following docker-compose.yaml file: version: ‘3.8’ services: db: image: mysql:5.7 container_name: flutter-academy-mysql environment: MYSQL_ROOT_PASSWORD: HeiL0ier MYSQL_DATABASE: course volumes: – ~/dockerdata/flutter-academy:/var/lib/mysql ports: – 3306:3306 When I run the command docker-compose up I get the following output: Creating network "advanced_default" with the default driver Creating flutter-academy-mysql … done Attaching to flutter-academy-mysql flutter-academy-mysql | 2021-03-28 21:33:07+00:00 ..
my Problem is the follows: I’m trying to achive, that the Console ion IntelliJ for Docker-Container uses the Right Encoding. Right now it looks as follows: While in Docker itself it looks like this: If i run a simple main in IntelliJ the Output is follows: i changed every Option i found in IntelliJ to ..
I’m trying to debug my remote application in Docker using Intellij and spring dev tools, but I have this exception: Exception in thread "File Watcher" java.lang.IllegalStateException: Unexpected 500 INTERNAL_SERVER_ERROR response uploading class files at org.springframework.util.Assert.state(Assert.java:94) at org.springframework.boot.devtools.remote.client.ClassPathChangeUploader.performUpload(ClassPathChangeUploader.java:111) at org.springframework.boot.devtools.remote.client.ClassPathChangeUploader.onApplicationEvent(ClassPathChangeUploader.java:93) at org.springframework.boot.devtools.remote.client.ClassPathChangeUploader.onApplicationEvent(ClassPathChangeUploader.java:58) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) at org.springframework.boot.devtools.classpath.ClassPathFileChangeListener.publishEvent(ClassPathFileChangeListener.java:67) at org.springframework.boot.devtools.classpath.ClassPathFileChangeListener.onChange(ClassPathFileChangeListener.java:63) ..
My Problem is the following: If i type this in the command console, it works: docker build -f src/main/docker/Dockerfile.jvm -t hello . & docker run –name hello –rm -p 8080:8080 hello But if i try to use it with the "Run-Option" in IntelliJ, it doesnt work. My command above has 9 Steps like the IntelliJ ..
I’ve had this problem for about a year and a half, but i haven’t done anything about it up until now. My work colleague doesn’t have this problem on his PC, when he looks at his compose files. So it seems that i have done something at some point to have my IDEA behave this ..
I would like to say that this is my first container and actually my first JAVA app so maybe I will have basic questions so be lenient, please. I wrote spring boot app and my colleague has written the frontend part for it in angular. What I would like to achieve is to have "one ..
I am quite new to the Wiremock environment. How do we set up Wiremock using dockerfile in the Intellij project which I use to run Gatling scripts? Thanks for the help. Source: Dockerfile..
I am working on a application where I am running multiple containers using docker-compose.yml. All the containers are successfully up. One of the container is having a cron file with the following contents: * * * * * sshpass -p root ssh -o StrictHostKeyChecking=no [email protected]"./script.sh" > /proc/1/fd/1 2> /proc/1/fd/2 whenever this cron job is trying ..