Elastic agent doesn't start
Asked by Jaraxa Software S.L.:

We have a Bamboo cloud with one of our customers and more or less every weekend its instance is terminated and has to be manually restarted.

The thing went worse this week as the elastic agent does not fully start and is frozen in Pending state.

I've seen in similar questions bamboo-elastic-agent.out file content is requested, so here it is:

```
2015-09-01 10:53:17,687 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-w1/5.10-OD-04-006/c3629147c22b1685613d1b89eb8a2a482effbf75/ to /opt/bamboo-elastic-agent2015-09-01 10:53:18,751 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-w1/5.10-OD-04-006/c3629147c22b1685613d1b89eb8a2a482effbf75/ to /opt/bamboo-elastic-agent2015-09-01 10:53:18,755 INFO [main] [S3Utils] Fetching the list of remote objects...2015-09-01 10:53:22,606 INFO [main] [S3Utils] Found 662 files in s3://bamboo-agent-release-eu-w1/5.10-OD-04-006/c3629147c22b1685613d1b89eb8a2a482effbf75/2015-09-01 10:53:22,795 INFO [main] [S3Utils] Found 410 files in /opt/bamboo-elastic-agent2015-09-01 10:53:22,795 INFO [main] [S3Utils] Generating the list of files to fetch from S3...2015-09-01 10:53:22,814 INFO [main] [S3Utils] Generating the list of files to remove...2015-09-01 10:53:22,817 INFO [main] [S3Utils] Removing 136 files from /opt/bamboo-elastic-agent2015-09-01 10:53:22,855 INFO [main] [S3Utils] Fetching 425 files to /opt/bamboo-elastic-agent2015-09-01 10:53:52,508 INFO [main] [S3Utils] Fetched 340 MB from S32015-09-01 10:53:52,513 INFO [main] [ElasticAgentInstaller] Starting [java, -server, -Xms32m, -Xmx256m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -Dimagefiles.version=3.3, -Dbamboo.agent.installDir=/opt/bamboo-elastic-agent, -cp, /opt/bamboo-elastic-agent/boot/bcpkix-jdk15on-1.51.jar:/opt/bamboo-elastic-agent/boot/slf4j-api-1.7.7.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-bootstrap-5.10-OD-04-006.jar:/opt/bamboo-elastic-agent/boot/aws-java-sdk-ec2-1.9.40.jar:/opt/bamboo-elastic-agent/boot/bcprov-jdk15on-1.51.jar:/opt/bamboo-elastic-agent/boot/jackson-annotations-2.3.0.jar:/opt/bamboo-elastic-agent/boot/gson-2.2.2-atlassian-1.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-api-agent-bootstrap-5.10-OD-04-006.jar:/opt/bamboo-elastic-agent/boot/guava-bridge-11.0.2-atlassian-01.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-elastic-shared-5.10-OD-04-006.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-elastic-5.10-OD-04-006.jar:/opt/bamboo-elastic-agent/boot/guava-11.0.2-atlassian-01.jar:/opt/bamboo-elastic-agent/boot/httpcore-4.3.3.jar:/opt/bamboo-elastic-agent/boot/aws-java-sdk-s3-1.9.40.jar:/opt/bamboo-elastic-agent/boot/commons-codec-1.8.jar:/opt/bamboo-elastic-agent/boot/jackson-core-2.3.2.jar:/opt/bamboo-elastic-agent/boot/atlassian-aws-1.0.108.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-core-agent-bootstrap-5.10-OD-04-006.jar:/opt/bamboo-elastic-agent/boot/aws-java-sdk-kms-1.9.40.jar:/opt/bamboo-elastic-agent/boot/aws-java-sdk-core-1.9.40.jar:/opt/bamboo-elastic-agent/boot/slf4j-log4j12-1.7.7.jar:/opt/bamboo-elastic-agent/boot/log4j-1.2.17.jar:/opt/bamboo-elastic-agent/boot/jsr305-1.3.9.jar:/opt/bamboo-elastic-agent/boot/fugue-2.1.0.jar:/opt/bamboo-elastic-agent/boot/joda-time-2.3.jar:/opt/bamboo-elastic-agent/boot/jcl-over-slf4j-1.7.7.jar:/opt/bamboo-elastic-agent/boot/annotations-13.0.jar:/opt/bamboo-elastic-agent/boot/atlassian-tunnel-1.8.4.jar:/opt/bamboo-elastic-agent/boot/atlassian-annotations-0.9.jar:/opt/bamboo-elastic-agent/boot/commons-lang-2.6.jar:/opt/bamboo-elastic-agent/boot/httpclient-4.3.6.jar:/opt/bamboo-elastic-agent/boot/jackson-databind-2.3.2.jar:, com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap]2015-09-01 10:53:54,191 INFO [main] [ElasticAgentBootstrap] Starting Agent Bootstrap using Java 1.6.0_45 from Sun Microsystems Inc.2015-09-01 10:53:54,457 INFO [main] [ElasticAgentBootstrap] HTTP(S) tunnel: enabled2015-09-01 10:53:54,457 INFO [main] [ElasticAgentBootstrap] JMS tunnel: enabled2015-09-01 10:53:54,470 INFO [main] [ElasticAgentBootstrap] Starting tunnel server, waiting for 2 connections. 2015-09-01 10:54:08,937 INFO [main] [AgentBootstrap] Agent bootstrap using baseUrl: httpt://127.0.0.1:46593/builds/agentServer/2015-09-01 10:54:08,940 INFO [main] [ElasticAgentBootstrap] Using tunnelling. Setting virtual host name to localhost:69902015-09-01 10:54:13,398 INFO [main] [ElasticAgentBootstrap] Using tunnelling for HTTP(S). Registering 'httpt' and 'httpst' protocols.2015-09-01 10:54:16,049 INFO [main] [RemoteAgentHomeLocatorForBootstrap] Creating agent home located at [/home/bamboo/bamboo-agent-home]2015-09-01 10:54:16,049 INFO [main] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [/home/bamboo/bamboo-agent-home]2015-09-01 10:54:16,050 INFO [main] [AgentUuidInitializer] Generating new UUID for this agent: a04836fe-0419-4412-9522-233a2026d0c32015-09-01 10:54:16,059 INFO [main] [AgentContext] Requesting fingerprint, url: httpt://127.0.0.1:46593/builds/agentServer/GetFingerprint.action?hostName=ip-10-0-0-120.eu-west-1.compute.internal&amp;agentType=elastic&amp;instanceId=i-421a68e3&amp;version=3&amp;agentUuid=a04836fe-0419-4412-9522-233a2026d0c32015-09-01 10:54:18,280 INFO [tunnelserver:26224-1-thread-3] [LocalAcceptor] Accepted a local connection on port 46593, tunnel age: 9s2015-09-01 10:54:21,139 INFO [main] [AgentContext] Successfully authenticated with Bamboo server at httpt://127.0.0.1:46593/builds/agentServer/2015-09-01 10:54:23,023 INFO [main] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [/home/bamboo/bamboo-agent-home]2015-09-01 10:54:23,026 INFO [main] [ClasspathBuilder] Syncing [/home/bamboo/bamboo-agent-home/classpath, /opt/bamboo-elastic-agent/lib] with httpt://127.0.0.1:46593/builds/agentServer/classpath.zip?fingerprint=64183751100105048412015-09-01 10:56:19,090 INFO [main] [ClasspathBuilder] 554 file(s) currently in [/home/bamboo/bamboo-agent-home/classpath, /opt/bamboo-elastic-agent/lib]2015-09-01 10:56:19,224 INFO [tunnelserver:26224-1-thread-4] [LocalAcceptor] Accepted a local connection on port 46593, tunnel age: 120s2015-09-01 10:56:22,625 INFO [main] [BootstrapUtils] spool_classpath.zip: 2 MBs transferred2015-09-01 10:56:22,889 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/ondemand-bamboo-webapp-components-5.10-OD-04-006.jar'2015-09-01 10:56:22,891 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/stringtemplate-3.2.1.jar'2015-09-01 10:56:22,897 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/atlassian-bamboo-deployments-5.10-OD-04-006.jar'2015-09-01 10:56:22,927 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/ondemand-api-3.0.2.jar'2015-09-01 10:56:22,928 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/studio-common-host-components-3.0.2.jar'2015-09-01 10:56:22,930 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/jna-platform-3.2.7.jar'2015-09-01 10:56:22,949 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/servlet-api.jar'2015-09-01 10:56:22,953 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/mail-1.4.jar'2015-09-01 10:56:22,969 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/atlassian-startup-0.1.jar'2015-09-01 10:56:22,969 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/bamboo-log4j-config.jar'2015-09-01 10:56:22,970 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/sawmill-client-0.1.4.jar'2015-09-01 10:56:22,971 INFO [main] [ClasspathBuilder] Creating '/home/bamboo/bamboo-agent-home/classpath/jaxb-impl-2.1.12.jar'2015-09-01 10:56:23,029 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-spring-2.0.7.jar2015-09-01 10:56:23,030 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-webresource-common-3.2.17.jar2015-09-01 10:56:23,030 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-model-3.0.4.jar2015-09-01 10:56:23,030 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aspectjweaver-1.7.4.jar2015-09-01 10:56:23,031 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/bcpkix-jdk15on-1.51.jar2015-09-01 10:56:23,031 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-mail-2.5.12.jar2015-09-01 10:56:23,031 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-decoder-api-3.2.jar2015-09-01 10:56:23,032 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xwork-core-2.3.16.3-atlassian-6.jar2015-09-01 10:56:23,032 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sitemesh-2.5-atlassian-6.jar2015-09-01 10:56:23,033 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-classworlds-2.4.jar2015-09-01 10:56:23,033 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activation-1.1.1.jar2015-09-01 10:56:23,033 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/quartz-1.6.5.jar2015-09-01 10:56:23,034 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-tunnel-1.8.4.jar2015-09-01 10:56:23,034 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hawtbuf-1.9.jar2015-09-01 10:56:23,034 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aether-spi-1.13.1.jar2015-09-01 10:56:23,035 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/osuser-1.0-20060106.jar2015-09-01 10:56:23,035 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sshd-core-0.14.0.jar2015-09-01 10:56:23,035 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-orm-4.0.6.RELEASE.jar2015-09-01 10:56:23,036 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bucket-3.1.5.jar2015-09-01 10:56:23,036 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/joda-time-2.3.jar2015-09-01 10:56:23,036 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-cache-common-impl-2.4.2.jar2015-09-01 10:56:23,037 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-stashcommitviewer-5.10-OD-04-006.jar2015-09-01 10:56:23,088 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/scala-library-2.10.3.jar2015-09-01 10:56:23,089 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/oscore-2.2.7.jar2015-09-01 10:56:23,089 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jna-4.1.0.jar2015-09-01 10:56:23,095 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-json-api-0.9.jar2015-09-01 10:56:23,095 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/truezip-file-7.6.jar2015-09-01 10:56:23,095 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-settings-3.0.4.jar2015-09-01 10:56:23,096 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-webresource-3.1.0.jar2015-09-01 10:56:23,096 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-protobuf-1.1.jar2015-09-01 10:56:23,096 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-deployments-api-5.10-OD-04-006.jar2015-09-01 10:56:23,097 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/fugue-2.1.0.jar2015-09-01 10:56:23,097 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/sawmill-client-0.1.4.jar2015-09-01 10:56:23,097 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/lucene-analyzers-common-4.6.0.jar2015-09-01 10:56:23,098 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-cipher-1.7.jar2015-09-01 10:56:23,098 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/ant-launcher-1.8.4.jar2015-09-01 10:56:23,098 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/minlog-1.2.jar2015-09-01 10:56:23,103 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/acegi-security-1.0.4.jar2015-09-01 10:56:23,105 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/atlassian-bamboo-deployments-5.10-OD-04-006.jar2015-09-01 10:56:23,105 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/filters-2.0.235.jar2015-09-01 10:56:23,105 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-beans-4.0.6.RELEASE.jar2015-09-01 10:56:23,106 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-elastic-shared-5.10-OD-04-006.jar2015-09-01 10:56:23,106 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsr305-1.1.jar2015-09-01 10:56:23,106 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-embedder-3.0.4.jar2015-09-01 10:56:23,106 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-api-agent-bootstrap-5.10-OD-04-006.jar2015-09-01 10:56:23,107 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/ondemand-bamboo-webapp-components-5.10-OD-04-006.jar2015-09-01 10:56:23,107 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-pool-5.9.0.jar2015-09-01 10:56:23,107 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hsqldb-1.8.0.10.jar2015-09-01 10:56:23,108 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-plugin-api-3.0.4.jar2015-09-01 10:56:23,108 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-model-builder-3.0.4.jar2015-09-01 10:56:23,108 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate-c3p0-3.6.10.Final-atlassian-4.jar2015-09-01 10:56:23,108 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-dotnet-5.8.1.jar2015-09-01 10:56:23,109 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-collections-3.2.1.jar2015-09-01 10:56:23,109 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-johnson-1.0.jar2015-09-01 10:56:23,109 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-license-5.10-OD-04-006.jar2015-09-01 10:56:23,110 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/winp-1.17-atlassian1.jar2015-09-01 10:56:23,110 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-compress-1.4.1.jar2015-09-01 10:56:23,110 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-webresource-api-3.1.0.jar2015-09-01 10:56:23,115 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch-0.1.51.jar2015-09-01 10:56:23,115 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-language-5.10-OD-04-006.jar2015-09-01 10:56:23,115 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/bamboo-log4j-config.jar2015-09-01 10:56:23,116 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-repository-metadata-3.0.4.jar2015-09-01 10:56:23,116 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/ehcache-2.7.5.jar2015-09-01 10:56:23,116 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jcip-annotations-1.0.jar2015-09-01 10:56:23,117 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jackson-annotations-2.3.0.jar2015-09-01 10:56:23,117 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-web-4.0.6.RELEASE.jar2015-09-01 10:56:23,117 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jackson-databind-2.3.2.jar2015-09-01 10:56:23,117 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-vcsversion-5.10-OD-04-006.jar2015-09-01 10:56:23,118 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-core-agent-bootstrap-5.10-OD-04-006.jar2015-09-01 10:56:23,118 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-decoder-v2-3.2.jar2015-09-01 10:56:23,119 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-core-3.0.4.jar2015-09-01 10:56:23,119 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/cglib-nodep-2.2.jar2015-09-01 10:56:23,120 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-scripttask-5.10-OD-04-006.jar2015-09-01 10:56:23,120 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-interpolation-1.14.jar2015-09-01 10:56:23,120 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-beanutils-1.9.1.jar2015-09-01 10:56:23,120 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xstream-1.4.7.jar2015-09-01 10:56:23,121 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-api-3.2.jar2015-09-01 10:56:23,121 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/svnkit-1.8.7.jar2015-09-01 10:56:23,121 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-velocity-0.5.jar2015-09-01 10:56:23,121 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate3-1.6.0-m1.jar2015-09-01 10:56:23,127 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/p4java-0.7.5-atlassian-13.jar2015-09-01 10:56:23,127 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-jms_1.1_spec-1.1.1.jar2015-09-01 10:56:23,127 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-core-5.10-OD-04-006.jar2015-09-01 10:56:23,128 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/slf4j-log4j12-1.7.7.jar2015-09-01 10:56:23,128 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aspectjrt-1.7.4.jar2015-09-01 10:56:23,128 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-configuration-1.4-atlassian-1.jar2015-09-01 10:56:23,128 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/ldaptemplate-1.0.1.jar2015-09-01 10:56:23,129 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-jms-4.0.6.RELEASE.jar2015-09-01 10:56:23,129 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-servlet-3.2.17.jar2015-09-01 10:56:23,129 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/lucene-core-4.6.0.jar2015-09-01 10:56:23,129 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sqljet-1.1.10.jar2015-09-01 10:56:23,130 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/bndlib-1.43.0-atlassian-1.jar2015-09-01 10:56:23,130 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/bcprov-jdk15on-1.51.jar2015-09-01 10:56:23,130 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-secure-xml-3.2.3.jar2015-09-01 10:56:23,131 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/saxpath-1.0-FCS.jar2015-09-01 10:56:23,131 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsr305-1.3.9.jar2015-09-01 10:56:23,131 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-http-1.0.12.jar2015-09-01 10:56:23,131 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/slf4j-api-1.7.7.jar2015-09-01 10:56:23,132 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/jaxb-impl-2.1.12.jar2015-09-01 10:56:23,132 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-sec-dispatcher-1.3.jar2015-09-01 10:56:23,132 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sal-spi-2.10.15.jar2015-09-01 10:56:23,132 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-artifact-3.0.4.jar2015-09-01 10:56:23,133 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/package-scanner-0.9.5.jar2015-09-01 10:56:23,133 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-component-annotations-1.5.5.jar2015-09-01 10:56:23,133 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/antlr-2.7.6.jar2015-09-01 10:56:23,133 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-j2ee-connector_1.5_spec-2.0.0.jar2015-09-01 10:56:23,134 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-user-hibernate3-4.1.1.jar2015-09-01 10:56:23,134 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar2015-09-01 10:56:23,136 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/log4j-1.2.17.jar2015-09-01 10:56:23,136 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/struts2-sitemesh-plugin-2.1.8.1.jar2015-09-01 10:56:23,137 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-user-api-4.1.1.jar2015-09-01 10:56:23,137 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/plexus-utils-2.0.6.jar2015-09-01 10:56:23,141 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-j2ee-connector_1.6_spec-1.0.jar2015-09-01 10:56:23,141 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-hibernate3-extras-5.0.0.jar2015-09-01 10:56:23,141 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate-ehcache-3.6.10.Final-atlassian-4.jar2015-09-01 10:56:23,144 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-ra-5.9.0.jar2015-09-01 10:56:23,145 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.pageant-0.0.7.jar2015-09-01 10:56:23,145 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sawmill-model-0.2.3.jar2015-09-01 10:56:23,145 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-password-encoder-3.0.jar2015-09-01 10:56:23,145 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-xml-utils-5.10-OD-04-006.jar2015-09-01 10:56:23,146 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-httpclient-3.0.1.jar2015-09-01 10:56:23,146 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/truezip-kernel-7.6.jar2015-09-01 10:56:23,146 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-localhost-1.1.0.jar2015-09-01 10:56:23,146 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-elastic-5.10-OD-04-006.jar2015-09-01 10:56:23,146 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/javax.mail-1.5.2.jar2015-09-01 10:56:23,147 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/ondemand-api-3.0.2.jar2015-09-01 10:56:23,147 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/studio-common-host-components-3.0.2.jar2015-09-01 10:56:23,147 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-expression-4.0.6.RELEASE.jar2015-09-01 10:56:23,147 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/smack-3.4.1.jar2015-09-01 10:56:23,148 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jta-1.0.1B.jar2015-09-01 10:56:23,148 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/platform-3.4.0.jar2015-09-01 10:56:23,148 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-tx-4.0.6.RELEASE.jar2015-09-01 10:56:23,148 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-api-5.10-OD-04-006.jar2015-09-01 10:56:23,149 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-transaction-3.1.jar2015-09-01 10:56:23,149 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/smackx-3.4.1.jar2015-09-01 10:56:23,149 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate-core-3.6.10.Final-atlassian-4.jar2015-09-01 10:56:23,149 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/wagon-file-2.2.jar2015-09-01 10:56:23,150 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bandana-3.1.jar2015-09-01 10:56:23,150 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-spring-3.2.17.jar2015-09-01 10:56:23,150 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-cookie-tools-3.2.3.jar2015-09-01 10:56:23,150 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/httpcore-4.3.3.jar2015-09-01 10:56:23,151 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-profiling-1.9.jar2015-09-01 10:56:23,151 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-schema-3.2.17.jar2015-09-01 10:56:23,151 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.usocket-jna-0.0.7.jar2015-09-01 10:56:23,152 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-core-5.10-OD-04-006.jar2015-09-01 10:56:23,152 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-compat-3.0.4.jar2015-09-01 10:56:23,152 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.sshagent-0.0.7.jar2015-09-01 10:56:23,152 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/webwork-compat-1.24.jar2015-09-01 10:56:23,153 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-io-2.4.jar2015-09-01 10:56:23,153 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-jta_1.1_spec-1.1.1.jar2015-09-01 10:56:23,153 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-lang-2.6.jar2015-09-01 10:56:23,153 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-grails-5.10-OD-04-006.jar2015-09-01 10:56:23,154 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-client-5.9.0.jar2015-09-01 10:56:23,154 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/jna-platform-3.2.7.jar2015-09-01 10:56:23,154 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xercesImpl-2.9.1.jar2015-09-01 10:56:23,154 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/truezip-swing-7.6.jar2015-09-01 10:56:23,154 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/stax-api-1.0-2.jar2015-09-01 10:56:23,155 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-core-4.0.6.RELEASE.jar2015-09-01 10:56:23,155 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sanselan-0.97-incubator.jar2015-09-01 10:56:23,155 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-elastic-installer-5.10.0-m15.jar2015-09-01 10:56:23,155 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/javacvs-atlassian-20080407.jar2015-09-01 10:56:23,156 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/stax2-api-3.0.4.jar2015-09-01 10:56:23,156 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-labeller-5.10-OD-04-006.jar2015-09-01 10:56:23,156 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-wstx-core-asl-4.1.2-atlassian-1.jar2015-09-01 10:56:23,156 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/freemarker-2.3.16-atlassian-34.jar2015-09-01 10:56:23,157 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aws-java-sdk-kms-1.9.40.jar2015-09-01 10:56:23,163 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-local-5.10-OD-04-006.jar2015-09-01 10:56:23,163 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-jdbc-4.0.6.RELEASE.jar2015-09-01 10:56:23,163 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-kahadb-store-5.9.0.jar2015-09-01 10:56:23,163 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-aop-4.0.6.RELEASE.jar2015-09-01 10:56:23,164 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/staxmate-2.0.0.jar2015-09-01 10:56:23,164 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aopalliance-1.0.jar2015-09-01 10:56:23,164 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-cli-1.2.jar2015-09-01 10:56:23,164 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-user-ldap-4.1.1.jar2015-09-01 10:56:23,165 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-jms-pool-5.9.0.jar2015-09-01 10:56:23,165 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-ip-3.1.jar2015-09-01 10:56:23,165 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-ant-5.10-OD-04-006.jar2015-09-01 10:56:23,165 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sal-spring-2.10.15.jar2015-09-01 10:56:23,166 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-validator-1.4.0.jar2015-09-01 10:56:23,166 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/trilead-ssh2-1.0.0-build217.jar2015-09-01 10:56:23,166 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xmlpull-1.1.3.1.jar2015-09-01 10:56:23,166 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-event-2.3.5.jar2015-09-01 10:56:23,167 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sal-api-2.10.15.jar2015-09-01 10:56:23,167 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/applinks-host-4.1.2.jar2015-09-01 10:56:23,168 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-html-encoder-1.4.jar2015-09-01 10:56:23,169 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/applinks-spi-4.1.2.jar2015-09-01 10:56:23,169 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/annotations-13.0.jar2015-09-01 10:56:23,169 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xpp3_min-1.1.4c.jar2015-09-01 10:56:23,169 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-webfragment-3.0.1.jar2015-09-01 10:56:23,170 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-context-4.0.6.RELEASE.jar2015-09-01 10:56:23,170 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-legacy-3.2.jar2015-09-01 10:56:23,170 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/botocss-3.0.jar2015-09-01 10:56:23,170 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar2015-09-01 10:56:23,171 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-vcs-5.10-OD-04-006.jar2015-09-01 10:56:23,171 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-osgi-events-3.2.17.jar2015-09-01 10:56:23,171 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/wagon-provider-api-2.2.jar2015-09-01 10:56:23,171 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activeobjects-spi-0.25.2.jar2015-09-01 10:56:23,171 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-pool-1.6.jar2015-09-01 10:56:23,172 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-core-4.6.19.jar2015-09-01 10:56:23,172 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sisu-inject-plexus-2.3.0.jar2015-09-01 10:56:23,172 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/analytics-api-3.61.jar2015-09-01 10:56:23,172 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jul-to-slf4j-1.7.7.jar2015-09-01 10:56:23,173 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jcl-over-slf4j-1.7.7.jar2015-09-01 10:56:23,173 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-cache-api-2.4.2.jar2015-09-01 10:56:23,173 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-xwork-core-1.17-xwork2-1.jar2015-09-01 10:56:23,173 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jaxb-api-2.1.jar2015-09-01 10:56:23,173 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jaxen-1.0-FCS.jar2015-09-01 10:56:23,174 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-fisheyecommitviewer-5.10-OD-04-006.jar2015-09-01 10:56:23,174 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jdom-1.0.jar2015-09-01 10:56:23,174 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-bootstrap-5.10-OD-04-006.jar2015-09-01 10:56:23,174 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-secure-random-3.2.3.jar2015-09-01 10:56:23,175 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-php-5.10-OD-04-006.jar2015-09-01 10:56:23,175 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/atlassian-startup-0.1.jar2015-09-01 10:56:23,175 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/struts2-core-2.3.16.3-atlassian-6.jar2015-09-01 10:56:23,175 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.connector-factory-0.0.7.jar2015-09-01 10:56:23,175 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/dom4j-1.4.jar2015-09-01 10:56:23,176 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/guava-bridge-11.0.2-atlassian-01.jar2015-09-01 10:56:23,176 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-user-core-4.1.1.jar2015-09-01 10:56:23,176 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-web-5.10-OD-04-006.jar2015-09-01 10:56:23,176 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/mail-1.4.jar2015-09-01 10:56:23,177 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-openwire-legacy-5.9.0.jar2015-09-01 10:56:23,177 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/oro-2.0.8.jar2015-09-01 10:56:23,177 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/hibernate-commons-annotations-3.2.0.Final.jar2015-09-01 10:56:23,177 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/guava-11.0.2-atlassian-01.jar2015-09-01 10:56:23,177 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-processutils-1.7.3.jar2015-09-01 10:56:23,178 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sisu-inject-bean-2.3.0.jar2015-09-01 10:56:23,178 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/truezip-driver-file-7.6.jar2015-09-01 10:56:23,178 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/icu4j-3.8.jar2015-09-01 10:56:23,178 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-codec-1.8.jar2015-09-01 10:56:23,179 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-maven-embedder-5.10-OD-04-006.jar2015-09-01 10:56:23,179 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-settings-builder-3.0.4.jar2015-09-01 10:56:23,179 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-aws-1.0.108.jar2015-09-01 10:56:23,179 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.usocket-nc-0.0.7.jar2015-09-01 10:56:23,179 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/lucene-filtered-collector-4.6.0.jar2015-09-01 10:56:23,180 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/spring-context-support-4.0.6.RELEASE.jar2015-09-01 10:56:23,180 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/core-1.6.0-m1.jar2015-09-01 10:56:23,180 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aether-util-1.13.1.jar2015-09-01 10:56:23,180 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-common-3.2.jar2015-09-01 10:56:23,181 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsoup-1.7.2.jar2015-09-01 10:56:23,181 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-spring-5.9.0.jar2015-09-01 10:56:23,181 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/org.apache.felix.framework-3.0.2.jar2015-09-01 10:56:23,181 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-cache-ehcache-2.4.2.jar2015-09-01 10:56:23,181 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/javassist-3.11.0.GA.jar2015-09-01 10:56:23,182 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/isorelax-20020414.jar2015-09-01 10:56:23,182 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-util-concurrent-2.4.1.jar2015-09-01 10:56:23,182 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/httpclient-4.3.6.jar2015-09-01 10:56:23,182 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-jxpath-1.2.jar2015-09-01 10:56:23,183 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jansi-1.9.jar2015-09-01 10:56:23,183 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/maven-aether-provider-3.0.4.jar2015-09-01 10:56:23,183 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/logkit-1.2.jar2015-09-01 10:56:23,183 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xbean-spring-3.2.jar2015-09-01 10:56:23,183 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/api-1.6.0-m1.jar2015-09-01 10:56:23,184 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-lang3-3.3.2.jar2015-09-01 10:56:23,184 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/relaxngDatatype-20020414.jar2015-09-01 10:56:23,184 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-osgi-3.2.17.jar2015-09-01 10:56:23,184 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-config-0.22.jar2015-09-01 10:56:23,185 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jai_codec-1.1.3.jar2015-09-01 10:56:23,185 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.svnkit-trilead-ssh2-0.0.7.jar2015-09-01 10:56:23,185 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aether-connector-wagon-1.13.1.jar2015-09-01 10:56:23,185 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/msv-20020414.jar2015-09-01 10:56:23,185 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-annotations-0.9.jar2015-09-01 10:56:23,186 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/truezip-driver-zip-7.6.jar2015-09-01 10:56:23,186 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/soy-template-renderer-api-2.7.0.jar2015-09-01 10:56:23,186 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-xwork-12-1.17-xwork2-1.jar2015-09-01 10:56:23,186 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/stringtemplate-3.2.1.jar2015-09-01 10:56:23,187 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/objenesis-2.1.jar2015-09-01 10:56:23,187 INFO [main] [ClasspathBuilder] Classpath: file:/home/bamboo/bamboo-agent-home/classpath/servlet-api.jar2015-09-01 10:56:23,187 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aether-impl-1.13.1.jar2015-09-01 10:56:23,187 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/ant-1.8.4.jar2015-09-01 10:56:23,187 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-elastic-server-5.10-OD-04-006.jar2015-09-01 10:56:23,188 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-triggercondition-5.10-OD-04-006.jar2015-09-01 10:56:23,188 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-extras-core-3.2.jar2015-09-01 10:56:23,188 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/c3p0-0.9.1.2.jar2015-09-01 10:56:23,188 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/antlr-runtime-3.4.jar2015-09-01 10:56:23,189 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aether-api-1.13.1.jar2015-09-01 10:56:23,189 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/xml-apis-1.3.03.jar2015-09-01 10:56:23,189 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-image-consumer-1.0.1.jar2015-09-01 10:56:23,189 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-plugin-ssh-5.10-OD-04-006.jar2015-09-01 10:56:23,189 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-broker-5.9.0.jar2015-09-01 10:56:23,190 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-agent-remote-5.10-OD-04-006.jar2015-09-01 10:56:23,190 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jai-core-1.1.3.jar2015-09-01 10:56:23,190 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/kryo-2.24.0.jar2015-09-01 10:56:23,190 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jackson-core-2.3.2.jar2015-09-01 10:56:23,191 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aws-java-sdk-ec2-1.9.40.jar2015-09-01 10:56:23,191 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/wagon-http-2.2.jar2015-09-01 10:56:23,191 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sequence-library-1.0.3.jar2015-09-01 10:56:23,191 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/gson-2.2.2-atlassian-1.jar2015-09-01 10:56:23,191 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/ognl-3.0.6.jar2015-09-01 10:56:23,192 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-bamboo-utils-5.10-OD-04-006.jar2015-09-01 10:56:23,192 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aws-java-sdk-s3-1.9.40.jar2015-09-01 10:56:23,192 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/aws-java-sdk-core-1.9.40.jar2015-09-01 10:56:23,192 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/activemq-http-5.9.0.jar2015-09-01 10:56:23,193 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/commons-digester-1.8.jar2015-09-01 10:56:23,193 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/sisu-guice-3.1.0-no_aop.jar2015-09-01 10:56:23,193 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/applinks-api-4.1.2.jar2015-09-01 10:56:23,193 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/jsch.agentproxy.core-0.0.7.jar2015-09-01 10:56:23,193 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/wagon-http-shared4-2.2.jar2015-09-01 10:56:23,194 INFO [main] [ClasspathBuilder] Classpath: file:/opt/bamboo-elastic-agent/lib/atlassian-plugins-core-3.2.17.jar2015-09-01 10:56:23,194 INFO [main] [AgentContext] Bootstrap Type: 'ELASTIC'2015-09-01 10:56:23,584 INFO [Thread-1] [RemoteAgent] com.atlassian.bamboo.agent.elastic.client.ElasticAgent starting.2015-09-01 10:56:23,875 INFO [Thread-1] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [/home/bamboo/bamboo-agent-home]2015-09-01 10:56:23,883 INFO [Thread-1] [RemoteAgent] Starting Bamboo Remote Agent...2015-09-01 10:56:23,883 INFO [Thread-1] [RemoteAgent] Starting application context...2015-09-01 10:56:28,566 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 exist2015-09-01 10:56:28,846 INFO [Thread-1] [RemoteAgentHomeLocatorForBootstrap] Using agent home located at [/home/bamboo/bamboo-agent-home]2015-09-01 10:56:28,846 INFO [Thread-1] [RemoteAgentHomeDirectoryLayout] Plugin directory: /home/bamboo/bamboo-agent-home/plugins2015-09-01 10:56:28,847 INFO [Thread-1] [RemoteAgentHomeDirectoryLayout] Plugin cache directory: /home/bamboo/bamboo-agent-home/caches/plugins2015-09-01 10:56:29,005 WARN [Thread-1] [AgentConfiguration] Configuration file does not exist. Creating File: bamboo-agent.cfg.xml2015-09-01 10:56:29,878 INFO [Thread-1] [AgentUuidInitializer] Found agent UUID 'a04836fe-0419-4412-9522-233a2026d0c3' in temporary UUID file '/home/bamboo/bamboo-agent-home/uuid-temp.properties'2015-09-01 10:56:29,879 INFO [Thread-1] [AgentConfiguration] Setting UUID in main config file to 'a04836fe-0419-4412-9522-233a2026d0c3'2015-09-01 10:56:30,322 INFO [Thread-1] [ElasticAgent] Using JMS endpoint: failover:(tcp://localhost:4527?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&amp;initialReconnectDelay=150002015-09-01 10:56:30,446 INFO [Thread-1] [BambooActiveMQConnectionFactory] Setting broker URL to 'failover:(tcp://localhost:4527?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&amp;initialReconnectDelay=15000'Exiting due to fatal exception.java.lang.reflect.InvocationTargetException    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)    at java.lang.Thread.run(Thread.java:662)Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildAgentController' defined in class path resource [applicationContextRemoteAgent.xml]: Cannot resolve reference to bean 'agentQueueAccessor' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentQueueAccessor' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot resolve reference to bean 'connectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)    at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:646)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:105)    at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:227)    at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:70)    at com.atlassian.bamboo.agent.elastic.client.ElasticAgent.start(ElasticAgent.java:31)    ... 6 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentQueueAccessor' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot resolve reference to bean 'connectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)    ... 25 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)    at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:646)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)    ... 35 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)    ... 47 moreCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164)    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270)    ... 52 moreCaused by: java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at com.google.common.io.Closeables.close(Closeables.java:80)    at com.google.common.io.Closeables.closeQuietly(Closeables.java:99)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.ping(BambooActiveMQConnectionFactory.java:191)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.validateUri(BambooActiveMQConnectionFactory.java:145)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.setBrokerURL(BambooActiveMQConnectionFactory.java:63)    at org.apache.activemq.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:142)    at org.apache.activemq.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:138)    at org.apache.activemq.ActiveMQSslConnectionFactory.&lt;init&gt;(ActiveMQSslConnectionFactory.java:75)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.&lt;init&gt;(BambooActiveMQConnectionFactory.java:53)    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)    ... 54 more2015-09-01 10:56:30,753 FATAL [Thread-1] [AgentBootstrap] Exiting due to fatal exception.java.lang.reflect.InvocationTargetException    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)    at java.lang.Thread.run(Thread.java:662)Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildAgentController' defined in class path resource [applicationContextRemoteAgent.xml]: Cannot resolve reference to bean 'agentQueueAccessor' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentQueueAccessor' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot resolve reference to bean 'connectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)    at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:646)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:105)    at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:227)    at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:70)    at com.atlassian.bamboo.agent.elastic.client.ElasticAgent.start(ElasticAgent.java:31)    ... 6 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentQueueAccessor' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot resolve reference to bean 'connectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)    ... 25 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' of type [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)    at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:646)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)    ... 35 moreCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory#7badb7b8' defined in class path resource [applicationContextRemoteAgentJMS.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1114)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1017)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)    ... 47 moreCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164)    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125)    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270)    ... 52 moreCaused by: java.lang.IncompatibleClassChangeError: Class java.net.Socket does not implement the requested interface java.io.Closeable    at com.google.common.io.Closeables.close(Closeables.java:80)    at com.google.common.io.Closeables.closeQuietly(Closeables.java:99)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.ping(BambooActiveMQConnectionFactory.java:191)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.validateUri(BambooActiveMQConnectionFactory.java:145)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.setBrokerURL(BambooActiveMQConnectionFactory.java:63)    at org.apache.activemq.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:142)    at org.apache.activemq.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:138)    at org.apache.activemq.ActiveMQSslConnectionFactory.&lt;init&gt;(ActiveMQSslConnectionFactory.java:75)    at com.atlassian.bamboo.v2.build.agent.BambooActiveMQConnectionFactory.&lt;init&gt;(BambooActiveMQConnectionFactory.java:53)    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)    ... 54 more
```


Answers:
author: rverschoor
body: You are probably running a custom image with an old Java version.  
Almost 6 months ago [we announced the deprecation of Java 7](https://confluence.atlassian.com/display/BAMBOO/End+of+support+announcements+for+Bamboo#EndofsupportannouncementsforBamboo-java7).  
This weekend the support for Java 7 has been removed, and all images have to run Java 8 now.  
The error you posted is typical for running the agent on an older Java version.

comments: author: Jaraxa Software S.L.
body: Last year I had to make a copy of Atlassian Amazon Linux as it was not available in my region (Ireland). Now you have Ubuntu available in all regions, so I switched to it and everything is working again. Thanks.


author: Krishna Nadiminti
body: I have Java 8 installed and I still get the same error

comments: author: Caleb Anderson
body: Same here, I have Java 8 installed and get this error.


Tags: cloud

elastic-agent