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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,501,480
Community Members
 
Community Events
180
Community Groups

Unable to find agent with id -1

Greetings!

I am trying to set up a bamboo remote agent by following this guide, but when I run the command in point 3, The function fails after 10 attempts to build the agent. After searching the logs I find that for each build attempt, the message "java.lang.IllegalStateException: Unable to find agent with id -1" is printed. I have looked into different sources, including an old working bamboo setup on the build server (no-one remember how it was set up multiple years ago so it is no-one to ask) and seen that in the file "bamboo-agent.cfg.xml" it is specified various parameters such as ID, name and description in the agentdefinition element as shown in the upper part of the picture. However in the .xml file for the new agent setup the entire agentDefinition block is missing including an ID. Since the -1 value in the message might mean that it can't find the ID, I wondered how to create an ID for the remote agent? I have googled a lot, but can't find anything about how this ID is created. Does anyone know how to find this, or have an idea of what could be the problem? Is it supposed to generate the ID as a part of the command in part 3 of the guide, or does it has to be manually specified?

  

 

Best regards

Markus

filecontent.png

1 answer

1 accepted

1 vote
Answer accepted

It turned out I had downloaded the wrong version of Java, I had JRE, but you must have JDK. Memo to myself, read user guides carefully: https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events