Export failing when Running Bamboo on Tomcat 7.x
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
Environment
Bamboo 4.1.2 or later (fixed in Bamboo 4.3 and later)
Symptoms
With debug logging enabled, the following appears in the atlassian-bamboo.logs
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [BambooWorkflowInterceptor] 0 field errors found...
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [BambooWorkflowInterceptor] 1 action errors found...
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [BambooWorkflowInterceptor] * Export has failed. Errors encountered while exporting: Timeout exceeded waiting for service - com.atlassian.activeobjects.spi.Backup.
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [I18nInterceptor] after Locale=en_GB
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [I18nInterceptor] intercept }
2012-08-03 13:34:05,616 DEBUG [http-apr-8080-exec-9] [InstantiatingNullHandler] Entering nullPropertyValue [target=[com.atlassian.bamboo.ww2.actions.admin.migration.Export@4b7d41eb, com.opensymphony.xwork.DefaultTextProvider@25284f3b], property=__sitemesh__page]
- When you try to manually export Bamboo it fails with the above errors
- Scheduled backup of the instance also fails with the above errors
Cause
This is because you are using an unsupported version of Tomcat
Resolution
Upgrade Bamboo to Version 4.3 or later (see BAM-12016 - Backup completes, but with an error (On Tomcat 7)
(old) Workaround
Run your Tomcat with
export JAVA_OPTS='-Datlassian.org.osgi.framework.bootdelegation=javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*'
or downgrade your tomcat to version 6.0.x.