how to configure window's bamboo agent with bamboo server installed on Linux server
Asked by Manjunatha NS:

Hi Team,

i have installed bamboo server on Linux machine and i wanted to configure window's server as a agent, can you please explain how to do this


Answers:
author: Shankar Asam {Appfire}
body: Hi,

The following links will help you setting up Remote agents on your operating system.

<https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html>

<https://confluence.atlassian.com/bamkb/how-to-run-install-start-and-stop-remote-agents-958455495.html>

-Shankar

comments: author: Manjunatha NS
body: Hi Shankar,

Thanks for the details , window's agent is failed to start with below error, please check and advise

Error log:

2020-01-17 07:44:49,390 INFO \[AgentRunnerThread\] \[RemoteAgent\] Starting Bamboo Remote Agent...

2020-01-17 07:44:49,390 INFO \[AgentRunnerThread\] \[RemoteAgent\] Starting application context...

2020-01-17 07:44:49,437 INFO \[AgentRunnerThread\] \[RemoteAgent$1\] Refreshing com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent$1@6f1116c0: startup date \[Fri Jan 17 07:44:49 PST 2020\]; root of context hierarchy

2020-01-17 07:44:50,796 INFO \[AgentRunnerThread\] \[RemoteAgentHomeLocatorForBootstrap\] Using agent home located at \[C:\\Users\\Administrator\\bamboo-agent-home\]

2020-01-17 07:44:50,796 INFO \[AgentRunnerThread\] \[RemoteAgentHomeDirectoryLayout\] Plugin directory: C:\\Users\\Administrator\\bamboo-agent-home\\plugins

2020-01-17 07:44:50,812 INFO \[AgentRunnerThread\] \[RemoteAgentHomeDirectoryLayout\] Plugin cache directory: C:\\Users\\Administrator\\bamboo-agent-home\\caches\\plugins

2020-01-17 07:44:50,843 INFO \[AgentRunnerThread\] \[RemoteAgentHomeLocatorForBootstrap\] Using agent home located at \[C:\\Users\\Administrator\\bamboo-agent-home\]

2020-01-17 07:44:51,093 WARN \[AgentRunnerThread\] \[AgentConfiguration\] Configuration file does not exist. Creating File: bamboo-agent.cfg.xml

2020-01-17 07:44:51,202 INFO \[AgentRunnerThread\] \[AgentUuidInitializer\] Found agent UUID 'b7ad9942-a8ee-4629-8e82-7aec7704c85b' in temporary UUID file 'C:\\Users\\Administrator\\bamboo-agent-home\\uuid-temp.properties'

2020-01-17 07:44:51,202 INFO \[AgentRunnerThread\] \[AgentConfiguration\] Setting UUID in main config file to 'b7ad9942-a8ee-4629-8e82-7aec7704c85b'

2020-01-17 07:44:51,218 INFO \[AgentRunnerThread\] \[BambooActiveMQConnectionFactory\] Setting broker URL to 'failover:(tcp://10.32.115.108:54663?wireFormat.maxInactivityDuration=500000)?initialReconnectDelay=15000\&maxReconnectAttempts=10'

2020-01-17 07:44:51,452 INFO \[AgentRunnerThread\] \[BambooActiveMQConnectionFactory\] Broker URI: tcp://10.32.115.108:54663?wireFormat.maxInactivityDuration=500000 is valid.

2020-01-17 07:44:51,999 WARN \[AgentRunnerThread\] \[ConfigurationFactory\] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Users/Administrator/bamboo-agent-home/classpath/ehcache-2.7.5.jar!/ehcache-failsafe.xml

2020-01-17 07:44:52,155 WARN \[AgentRunnerThread\] \[ResourceResolver\] Unable to find resource bamboo-capabilities.properties

2020-01-17 07:44:52,155 INFO \[AgentRunnerThread\] \[DefaultAgentCapabilityManagerImpl\] Failed to load bamboo-capabilities.properties

2020-01-17 07:44:53,093 WARN \[Felix:Startup\] \[DefaultComponentRegistrar\] Host component buildDefinitionConverter of instance com.atlassian.bamboo.fieldvalue.BuildDefinitionConverter@508648f7 has no interfaces

2020-01-17 07:44:53,374 INFO \[FelixStartLevel\] \[ChainActivator\] Blueprint API detected; enabling Blueprint Container functionality

2020-01-17 07:44:53,390 INFO \[FelixStartLevel\] \[LoggingActivator\] Starting \[org.eclipse.gemini.blueprint.extender\] bundle v.\[2.0.0.BUILD-atlassian-m002\]

2020-01-17 07:44:53,468 INFO \[FelixStartLevel\] \[ExtenderConfiguration\] Detected extender custom configurations at {bundle://2.0:0/META-INF/spring/extender/spring-event-bridge.xml}

2020-01-17 07:44:53,483 INFO \[FelixStartLevel\] \[OsgiBundleXmlApplicationContext\] Refreshing OsgiBundleXmlApplicationContext(bundle=org.eclipse.gemini.blueprint.extender, config=bundle://2.0:0/META-INF/spring/extender/spring-event-bridge.xml): startup date \[Fri Jan 17 07:44:53 PST 2020\]; root of context hierarchy

2020-01-17 07:44:53,499 ERROR \[FelixDispatchQueue\] \[FelixOsgiContainerManager\] Framework error in bundle org.eclipse.gemini.blueprint.extender

org.osgi.framework.BundleException: Activator start error in bundle org.eclipse.gemini.blueprint.extender \[4\].

at org.apache.felix.framework.Felix.activateBundle(Felix.java:2196)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)