Category : jib

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 spring boot app from which I am making an https call to another application whose certificate I need to add to my cacerts in order for the connection to succeed. Otherwise, it throws the following Exception Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested ..

Read more

I am using jib to build my spring boot war file for tomcat. I am using a local tomcat docker image. I use gradle jibDockerBuild –stacktrace and i get the following error: caused by: com.google.cloud.tools.jib.image.json.BadContainerConfigurationFormatException: Invalid volume path: [ at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.volumeMapToSet(JsonToImageTranslator.java:268) at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.configureBuilderWithContainerConfiguration(JsonToImageTranslator.java:201) at com.google.cloud.tools.jib.image.json.JsonToImageTranslator.toImage(JsonToImageTranslator.java:137) at com.google.cloud.tools.jib.builder.steps.LocalBaseImageSteps.lambda$returnImageAndRegistryClientStep$2(LocalBaseImageSteps.java:171) at com.google.cloud.tools.jib.builder.steps.StepsRunner.lambda$assignLocalImageResult$4(StepsRunner.java:289) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) ..

Read more