The agent has failed to startup, yet has not exited to allow the wrapper to retry
[root@bamboo-agent-65 log]# service bamboo-agent status Bamboo Agent is running (26591).
INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,462 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,462 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] Retrying request INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,463 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,463 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] Retrying request INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,463 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,463 INFO [ActiveMQ Transport: tcp:///172.16.3.18:54669] [HttpMethodDirector] Retrying request INFO | jvm 1 | 2010/02/23 11:04:14 | 2010-02-23 11:04:14,464 FATAL [ActiveMQ Transport: tcp:///172.16.3.18:54669] [AgentContext] Agent encountered fatal error. Exiting. INFO | jvm 1 | 2010/02/23 11:04:14 | java.net.ConnectException: Connection refused INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.PlainSocketImpl.socketConnect(Native Method) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.Socket.connect(Socket.java:525) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.Socket.connect(Socket.java:475) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.Socket.<init>(Socket.java:372) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.net.Socket.<init>(Socket.java:246) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) INFO | jvm 1 | 2010/02/23 11:04:14 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:132) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.lang.ClassLoader.loadClass(ClassLoader.java:307) INFO | jvm 1 | 2010/02/23 11:04:14 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.tcp.TcpTransport.doStop(TcpTransport.java:469) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:499) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:113) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:87) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:201) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.failover.FailoverTransport$3.onException(FailoverTransport.java:173) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:152) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:244) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:96) INFO | jvm 1 | 2010/02/23 11:04:14 | at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:189) INFO | jvm 1 | 2010/02/23 11:04:14 | at java.lang.Thread.run(Thread.java:619) ERROR | wrapper | 2010/02/23 11:04:14 | JVM exited unexpectedly. STATUS | wrapper | 2010/02/23 11:04:19 | Launching a JVM... INFO | jvm 2 | 2010/02/23 11:04:19 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 2 | 2010/02/23 11:04:19 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 2 | 2010/02/23 11:04:19 | INFO | jvm 2 | 2010/02/23 11:04:19 | Agent bootstrap using baseUrl: http://172.16.3.139:8080/agentServer/ INFO | jvm 2 | 2010/02/23 11:04:19 | Requesting fingerprintRequestUrl: http://172.16.3.139:8080/agentServer/GetFingerprint.action?hostName=bamboo-agent-65.private.atlassian.com INFO | jvm 2 | 2010/02/23 11:04:19 | 0 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 2 | 2010/02/23 11:04:19 | 1 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request INFO | jvm 2 | 2010/02/23 11:04:19 | 1 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 2 | 2010/02/23 11:04:19 | 1 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request INFO | jvm 2 | 2010/02/23 11:04:19 | 2 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused INFO | jvm 2 | 2010/02/23 11:04:19 | 2 [WrapperSimpleAppMain] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request INFO | jvm 2 | 2010/02/23 11:04:19 | Exiting due to fatal exception. INFO | jvm 2 | 2010/02/23 11:04:19 | java.net.ConnectException: Connection refused INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.socketConnect(Native Method) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.Socket.connect(Socket.java:525) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.Socket.connect(Socket.java:475) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.Socket.<init>(Socket.java:372) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.Socket.<init>(Socket.java:246) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) INFO | jvm 2 | 2010/02/23 11:04:19 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.<init>(AgentContext.java:64) INFO | jvm 2 | 2010/02/23 11:04:19 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:81) INFO | jvm 2 | 2010/02/23 11:04:19 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:34) INFO | jvm 2 | 2010/02/23 11:04:19 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 2 | 2010/02/23 11:04:19 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO | jvm 2 | 2010/02/23 11:04:19 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 2 | 2010/02/23 11:04:19 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.lang.Thread.run(Thread.java:619) INFO | jvm 2 | 2010/02/23 11:04:19 | 4 [WrapperSimpleAppMain] FATAL com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Exiting due to fatal exception. INFO | jvm 2 | 2010/02/23 11:04:19 | java.net.ConnectException: Connection refused INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.socketConnect(Native Method) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) INFO | jvm 2 | 2010/02/23 11:04:19 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
- relates to
-
BAM-5382 Remote agents failed to shutdown after bamboo server restart
- Closed