Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer 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 Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

673 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you