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

Exception on Windows Remote Agent

Jason Liu December 18, 2011

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
Answer accepted
Renan Battaglin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 18, 2011

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
TAGS
AUG Leaders

Atlassian Community Events