spring-boot-k8s-hpa icon indicating copy to clipboard operation
spring-boot-k8s-hpa copied to clipboard

Broker localhost not started

Open JuanDavidGonzalez opened this issue 6 years ago • 2 comments

Hello I'm trying to implement this example, but when I try to create the image using docker build -t spring-boot-hpa . I get this WARN:

WARN 168 --- [ main] o.apache.activemq.broker.BrokerRegistry : Broker localhost not started so using embedded-broker instead

and then:

WARN 168 --- [ActiveMQ Task-1] o.a.a.t.failover.FailoverTransport : Failed to connect to [vm://embedded-broker?create=false] after: 10 attempt(s) continuing to retry.

so the image never is created, so before to try to create image I install ActiveMQ and the service is running, but the problem persist

can you help me please ?

JuanDavidGonzalez avatar Aug 18 '18 20:08 JuanDavidGonzalez

For some reason, the tests can't connect to the embedded ActiveMQ. I had a quick look and I'm not sure how to fix it (the tests run fine in ItelliJ) I disabled the tests when building the Docker container. That should unblock you while a look for a more permanent solution.

danielepolencic avatar Aug 19 '18 09:08 danielepolencic

@danielepolencic thanks for your help.

JuanDavidGonzalez avatar Aug 20 '18 01:08 JuanDavidGonzalez