Skip to main content

All Questions

Tagged with
0 votes
0 answers
23 views

How to properly create a volume for maven repository in Docker Compose? [duplicate]

I use the maven:3.8.3-openjdk-17 base image for my Docker containers publisher and consumer. In docker-compose.yaml I created a volume m2_volume:/root/.m2 to reuse the maven dependencies after each ...
Arkadi's user avatar
  • 29
-1 votes
1 answer
31 views

RabbitMQ Connection Error: java.net.ConnectException: Connection refused

I have two very simple java applications (publisher-consumer) which connect to RabbitMQ server using connectionFactory.newConnection(...). My docker-compose.yml looks like this: services: publisher: ...
Arkadi's user avatar
  • 29
0 votes
0 answers
139 views

Opensearch 2.17 error: NotSslRecordException: not an SSL/TLS record

We're migrating one of our projects from Elasticsearch 7.1.1 to Opensearch 2.17.0. I'm running into below error while executing the integration tests on my local machine as the test cases try to run ...
Richa sharma's user avatar
0 votes
0 answers
41 views

JWT Token io.jsonwebtoken.ExpiredJwtException: JWT expired

I have a Spring Boot (with Angular) application. My application works fine locally, but when I Dockerize my application an error throws when I have to register new user:token expired. The question ...
Ramzi Hadjsalem's user avatar
0 votes
0 answers
30 views

How to give Selenium Grid a specific firefox profile

I have a Selenium test application which should test a application with a microsoft authentification what I did was use a firefox profile which is on the base level folder structure of my application ...
Hasan Toraman's user avatar
1 vote
1 answer
47 views

Trying to dockerize a Maven project

I'm trying to dockerize the Apache Commons Daemons project. The directory is this: project directory I have followed this guide: https://www.educative.io/answers/how-do-you-dockerize-a-maven-project ...
Game Wame's user avatar
0 votes
0 answers
86 views

Kafka authentication with scram 512 and KRAFT mode doesn't work

Kafka authentication with scram 512 and KRAFT mode doesn't work. My docker compose looks like this. services: kafka-1: image: confluentinc/cp-kafka:7.7.1 ports: - '9092:9092' ...
Casper T's user avatar
0 votes
0 answers
20 views

Debug 'MongoSocketOpenException: Exception opening socket' with localhost reference

I have a spring boot app with mongodb. It works fine with docker compose, but for the life of me I keep getting the below exception using kubernetes. Each time I edit the app, I'll rerun compose to ...
chocalaca's user avatar
  • 396
2 votes
1 answer
48 views

How to properly access environment variables in application.yml from projects root directory in a Spring Boot application?

I'm trying to setup Postgres for a service in Spring Boot 3 but I can't get the environment variables to work. Hardcoding the DB properties work just fine as shown below. spring: datasource: url:...
mehedikhan's user avatar
0 votes
0 answers
137 views

Apache Kafka Kraft - Cancelled in-flight API_VERSIONS request

acks = -1 auto.include.jmx.reporter = true batch.size = 16384 bootstrap.servers = [localhost:9092, localhost:9094, localhost:9096] buffer.memory = 33554432 client.dns.lookup = ...
elenwen's user avatar
  • 35
0 votes
0 answers
41 views

Access a java keystore file stored in docker container, inside a dependent jar

I have 1 main and 1 secondary java springboot based app. The secondary app is acting like a library project. The main app is dependent on secondary app which is clearly mentioned in pom.xml of main ...
Sash_KP's user avatar
  • 5,591
-1 votes
1 answer
72 views

Docker compose successfully executed and no warning but table doesn't exist in the database

During the development process, I am struggling to create a working Docker Compose file that can successfully connect the MySQL container and the Spring Boot container. docker-compose.yml services: ...
juanl4zy's user avatar
0 votes
0 answers
34 views

Spring app not picking up application profiles in Docker Swarm

I have the following setup (simplified) - an Eureka discovery service and an auth service. Assume Eureka is configured correctly and works (because it does, it's healthy, it's registering services, it ...
Emil Avramov's user avatar
0 votes
1 answer
21 views

Dockerfile and compose.yml with volume but ENTRYPOINT fails

I have a small Spring Boot 3.3.3 rest project that serves up images found in a specified folder. It runs fine with java -jar app.jar, it sees the folders and images within /opt/rest.galleries/...
CraigFoote's user avatar
2 votes
0 answers
85 views

Zipkin doesn't accept request(400 Bad Request)

I am trying to connect my application to zipkin. I have them both set up in a containers in docker. They are in the same network and they have connection to each other(I used docker compose to set ...
svg's user avatar
  • 246

15 30 50 per page
1
2 3 4 5
47