Setting properties other than JAVA_OPTS when running Bamboo as a Windows Service

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

In later versions of Bamboo (Bamboo 5.1 and Newer) Tomcat replaced Jetty as the standalone app server. This means that the way Bamboo is started, stopped and upgraded has changed. In Tomcat, all the system default settings are set in the bin/catalina.bat and supplementary changes are made via the setenv.bat file under <bamboo-installation-directory>/bin as explained here: Configuring Bamboo on Start-Up. For Bamboo running as a service though, properties other than java_opts can be set via the bin/service.bat file.

To set user profile parameters (Ex: HOME=%USERPROFILE%, HOMEPATH=%USERPROFILE%), it will be automatically determined by the user running the bamboo service. So if you want to run as a specific profile, you need to set the service to run with that profile (Please refer to this page for more details: Running Bamboo as a Windows Service).

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.