Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broker localhost not started #1

Open
JuanDavidGonzalez opened this issue Aug 18, 2018 · 2 comments
Open

Broker localhost not started #1

JuanDavidGonzalez opened this issue Aug 18, 2018 · 2 comments

Comments

@JuanDavidGonzalez
Copy link

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 ?

@danielepolencic
Copy link
Contributor

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.

@JuanDavidGonzalez
Copy link
Author

@danielepolencic thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants