Remote Agent Classloading doesn't work on Bamboo 3.3

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When starting an remote agent, remote classloading fails with:

1 2 3 4 INFO | jvm 1 | 2011/11/01 20:02:23 | 1016 [WrapperSimpleAppMain] INFO com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder - Downl oading resource: https://bamboo.xxx.xxx.com/agentServer/classpath.zip?fingerprint=4758231839297992994 INFO | jvm 1 | 2011/11/01 20:02:23 | Exiting due to fatal exception. INFO | jvm 1 | 2011/11/01 20:02:23 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: HTTP status code 404 received in response to Could not retrieve 'classpath.zip'. INFO | jvm 1 | 2011/11/01 20:02:23 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getRemoteResources(ClasspathBuilder.java:126) INFO | jvm 1 | 2011/11/01 20:02:23 | at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.build(ClasspathBuilder.java:62)

Resolution

The issue occurs when running Bamboo in Tomcat and you have the unpackWARs set to false in the Tomcat Deployment descriptor.

To resolve the issue set unpackWARs=true and restart your Tomcat Server

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.