How to start a remote Bamboo agent that will not load?
Asked by Mark McD:

I have a remote Bamboo agent attempting to connect to my Bamboo master \& it will not start. The logs show this stack trace repeated over \& over.

```
INFO   | jvm 2750 | 2012/08/13 09:07:34 | 2012-08-13 09:07:34,378 INFO [Thread-1] [PerforceManager] Could not find system variable. If you wish to use perforce please set the location as a capability.INFO   | jvm 2750 | 2012/08/13 09:08:38 | 2012-08-13 09:08:38,428 WARN [Thread-1] [JmsClientInterceptor] Remote access error: ReflectiveMethodInvocation: public abstract com.atlassian.bamboo.buildqueue.PipelineDefinition com.atlassian.bamboo.buildqueue.manager.RemoteAgentManager.registerAgent(com.atlassian.bamboo.buildqueue.PipelineDefinition) throws com.atlassian.bamboo.license.BambooLicenseException; target is nullINFO   | jvm 2750 | 2012/08/13 09:08:38 | javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1334)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1314)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1758)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:231)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:74)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.doSend(OneWayRequestor.java:196)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.doSend(MultiplexingRequestor.java:189)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:101)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:97)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.request(BambooMultiplexingRequestor.java:66)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at $Proxy45.registerAgent(Unknown Source)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.AgentRegistrationBean.registerAgent(AgentRegistrationBean.java:41)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1237)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:88)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.Thread.run(Thread.java:662)INFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:54)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1321)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 39 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Exiting due to fatal exception.INFO   | jvm 2750 | 2012/08/13 09:08:38 | java.lang.reflect.InvocationTargetExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.Thread.run(Thread.java:662)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 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: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:88)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 6 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at [null]; nested exception is javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:151)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at $Proxy45.registerAgent(Unknown Source)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.AgentRegistrationBean.registerAgent(AgentRegistrationBean.java:41)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1237)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 17 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1334)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1314)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1758)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:231)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:74)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.doSend(OneWayRequestor.java:196)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.doSend(MultiplexingRequestor.java:189)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:101)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:97)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.request(BambooMultiplexingRequestor.java:66)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 28 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:54)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1321)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 39 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | 2012-08-13 09:08:38,584 FATAL [Thread-1] [AgentBootstrap] Exiting due to fatal exception.INFO   | jvm 2750 | 2012/08/13 09:08:38 | java.lang.reflect.InvocationTargetExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.Thread.run(Thread.java:662)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 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: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:88)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:176)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:53)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 6 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at [null]; nested exception is javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:151)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at $Proxy45.registerAgent(Unknown Source)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.v2.build.agent.remote.AgentRegistrationBean.registerAgent(AgentRegistrationBean.java:41)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at java.lang.reflect.Method.invoke(Method.java:597)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1237)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 17 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1334)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1314)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1758)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:231)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:74)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.doSend(OneWayRequestor.java:196)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.doSend(MultiplexingRequestor.java:189)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:101)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:97)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:122)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.request(BambooMultiplexingRequestor.java:66)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 28 moreINFO   | jvm 2750 | 2012/08/13 09:08:38 | Caused by: org.apache.activemq.transport.RequestTimedOutIOExceptionINFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:54)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1321)INFO   | jvm 2750 | 2012/08/13 09:08:38 | 	... 39 moreERROR  | wrapper  | 2012/08/13 09:08:39 | JVM exited unexpectedly.STATUS | wrapper  | 2012/08/13 09:08:43 | Launching a JVM...INFO   | jvm 2751 | 2012/08/13 09:08:44 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.orgINFO   | jvm 2751 | 2012/08/13 09:08:44 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 2751 | 2012/08/13 09:08:44 |
```

...

Any idea what might be wrong? Or how I can fix it?


Answers:
author: Ravi Nair
body: Oddly enough, for me it was because the home directory of the Bamboo server had filled up to 100%. The Bamboo server's logs has no errors related to diskspace issues, so I didn't even bother looking. Clearing up the home directory (old artifacts etc.) brought things back to life.


author: Przemek Bruski
body: Please [contact support](http://support.atlassian.com) and supply the full agent and server log.


author: Colin Goudie
body: Not sure how you installed bamboo but maybe you don't have the jms broker uri set on the bamboo server?

<https://confluence.atlassian.com/display/BAMBOO/Bamboo+EAR-WAR+installation+guide#BambooEAR-WARinstallationguide-3.Setjms.broker.uri>

comments: author: Mark McD
body: I've had this particular remote agent working fine until a day or two ago. The remote logs say it's connecting to "tcp://bamboo.dev.mynetwork:54663", which is reachable from the remote agent.


author: Michal Fuchs
body: I had the same problem.  
Downgrade from JRE from 1.8.0_20-b26 to 1.7.0_67 solve it.

<http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html>


Tags: crash

remote-agent