Exception on Windows Remote Agent

I am using Bamboo 3.3 on Ubuntu Lucid with a single remote agent on Windows 7 and sometimes the remote agent throws the following exception repeatedly:

STATUS | wrapper | 2011/12/16 00:17:48 | Launching a JVM...
INFO | jvm 442 | 2011/12/16 00:17:48 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org<br< a=""> />INFO | jvm 442 | 2011/12/16 00:17:48 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 442 | 2011/12/16 00:17:48 |
INFO | jvm 442 | 2011/12/16 00:17:48 | 0 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Starting Agent Bootstrap using Java 1.6.0_29 from Sun Microsystems Inc.
INFO | jvm 442 | 2011/12/16 00:17:48 | Agent bootstrap using baseUrl:
http://build-linux.nearmap.com:8085/agentServer<br< a=""> />INFO | jvm 442 | 2011/12/16 00:17:48 | Requesting fingerprint, url: http://build-linux.nearmap.com:8085/agentServer/GetFingerprint.action?hostName=10.240.20.52&version=3<br< a=""> />INFO | jvm 442 | 2011/12/16 00:18:07 | 19093 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.BootstrapUpdater - Checking if bootstrap C:\Users\nearmap\bamboo-agent-home\lib\bamboo-agent-bootstrap.jar is up to date, using url: http://build-linux.nearmap.com:8085/agentServer/GetJar.action?name=bootstrap-with-deps&checksum=1563644836&fingerprint=7572605889030874364<br< a=""> />INFO | jvm 442 | 2011/12/16 00:18:07 | 19109 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.BootstrapUpdater - Existing bootstrap is up to date.
INFO | jvm 442 | 2011/12/16 00:18:07 | 19109 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.RemoteAgentHomeLocatorForBootstrap - Agent home located at 'C:\Users\...
http://build-linux.nearmap.com:8085/agentServer/classpath.zip?fingerprint=7572605889030874364<br< a=""> />INFO | jvm 442 | 2011/12/16 00:18:08 | 19531 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder - Finished downloading resource 'http://build-linux.nearmap.com:8085/agentServer/classpath.zip?fingerprint=7572605889030874364'
INFO | jvm 442 | 2011/12/16 00:18:08 | 19531 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder - Cla...
















































































































































































































































































































http://build-linux.nearmap.com:8085/agentServer/bundled-plugins.zip?fingerprint=7572605889030874364<br< a=""> />INFO | jvm 442 | 2011/12/16 00:18:13 | 2011-12-16 00:18:13,672 INFO [Thread-1] [ClasspathBuilder] Finished downloading resource 'http://build-linux.nearmap.com:8085/agentServer/bundled-plugins.zip?fingerprint=7572605889030874364'
INFO | jvm 442 | 2011/12/16 00:18:13 | 2011-12-16 00:18:13,704 INFO [Thread-1] [XmlDescriptorParser] The module 'builder2TaskConverter' in plugin 'Atlass...










http://build-linux.nearmap.com:8085/agentServer/plugins.zip?fingerprint=7572605889030874364<br< a=""> />INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:14,985 INFO [Thread-1] [ClasspathBuilder] Finished downloading resource 'http://build-linux.nearmap.com:8085/agentServer/plugins.zip?fingerprint=7572605889030874364'
INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:14,985 INFO [Thread-1] [ScanningPluginLoader] No plugins found to be deployed
INFO | jvm 442 | 2011/12/16 00:18...













































































































































































Please help.

1 answer

1 accepted

1 vote

Hi Jason,

The log messages are reporting two issues.

1. Problems to initialize the Agent:

INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:15,172 WARN [Thread-1] [PropertyPlaceholderConfigurer] Could not load properties from class path resource [bamboo-init.properties]: class path resource [bamboo-init.properties] cannot be opened because it does not exist
INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:15,204 INFO [Thread-1] [AgentRegistrationBean] Current agent remote definition: com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl@106bde8[3964929,10.240.20.160]
INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:15,219 INFO [Thread-1] [PerforceManager] Attempting to extract Perforce Executable
INFO | jvm 442 | 2011/12/16 00:18:15 | 2011-12-16 00:18:15,219 INFO [Thread-1] [PerforceManager] Could not find system variable. If you wish to use perforce please set the location as a capability.

This problem is usually fixed if you (1) Restart the Server (2) Remove the Agent Home Directory and (3) try to install the Agent again.

2. The Agent is having problems to contact the Server:

It seems that the server is not answering the requests made by the Agent. First, please take the steps suggested at item 1. If it is still failing with RequestTimedOutIOException would be good if you create a Support ticket at http://support.atlassian.com so that we can obtain more details from your instance (the data may be confidential, so the Support site would be the best place to continue investigating the issue). Once we find the problem solution, we can provide it here so that it can be public.

Cheers,

Renan

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,791 views 0 6
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