spring-boot-k8s-hpa
spring-boot-k8s-hpa copied to clipboard
Broker localhost not started
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 ?
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 thanks for your help.