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

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:

java.net.ConnectException: 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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot