Windows Remote bamboo agent terminates

Hi all,

I have deployed new (and my first) Bamboo remote agent and currently I am trying to integrate it with existing Bamboo server in the company. The agent is started as a Windows service.

According to the log file the agent startup seems fine to me. But every time after approx. 5 minutes there is some exception related to JMS, the JVM is terminated and the agent must start once again.

The exception chain contains message "Error creating bean with name 'agentRegistrationBean'" and message "Could not access JMS invoker queue queue://com.atlassian.bamboo.registrationQueue]"

There is the log containing complete 5 minutes from agent service startup until it fails:

Does anyone know what is going wrong there?

Thanks, Marek


Update: I am using Bamboo v5.9.7 (the same version as our existing Bamboo server)

2 answers

1 accepted

0 votes
Accepted answer

Already found the solution. Bamboo Broker (JMS) communication was restricted on firewall. We just needed to open the port

If you read the log carefully you will notice a reason given for the error: Connection refused: connect

You can google, what it means.

My guess its you are either hit by bamboo reconnect bug. I believe there are still a couple of open tickets in the Bamboo jira. I solved this by adding implementing a restart delay of 5 minutes (in windows service settings for the agent). You need this for all agents, any agent can lock up / DOS the server, making it unresponsive.

Another reason could be an issue with your network or firewall.
You may want to look at the server logs too. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

928 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you