Problem starting remote agent
Asked by pawan sharma:

Hi All,

we are facing problem while installing remote agent for our sever bamboo 2.7.4 server

error message says

2013-02-12 10:25:53,896 FATAL Thread-1 AgentBootstrap Exiting due to fatal exception.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventManager' defined in class path resource applicationContextRemoteAgentStartupCore.xml : Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.remote.event.KillAgentOnFingerprintMismatchListener#1a9cf52' of type com.atlassian.bamboo.v2.build.agent.remote.event.KillAgentOnFingerprintMismatchListener while setting bean property 'defaultListeners' with key TypedStringValue: value verifySameServerOnServerStartedEventListener , target type null ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.remote.event.KillAgentOnFingerprintMismatchListener#1a9cf52' defined in class path resource applicationContextRemoteAgentStartupCore.xml : Cannot resolve reference to bean 'executableBuildAgent' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean' defined in class path resource applicationContextRemoteAgentStartup.xml : Invocation of init method failed; nested exception is org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at null ; nested exception is javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.remote.event.KillAgentOnFingerprintMismatchListener#1a9cf52' defined in class path resource applicationContextRemoteAgentStartupCore.xml : Cannot resolve reference to bean 'executableBuildAgent' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean' defined in class path resource applicationContextRemoteAgentStartup.xml : Invocation of init method failed; nested exception is org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at null ; nested exception is javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean' defined in class path resource applicationContextRemoteAgentStartup.xml : Invocation of init method failed; nested exception is org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at null ; nested exception is javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException

Caused by: org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at null ; nested exception is javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException

Caused by: javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException

at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.createJMSException(MultiplexingRequestor.java:205)

at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:133)

see the attached log file of remote agent

Thanks,

Pawan


Answers:
author: Sultan Maiyaki
body: This issue was due to incompatible JDK on the Bamboo server and/or the remote server. This was handled in support.