Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I am getting below message when I am about to start Bamboo?

Ravi Teja March 6, 2018

"C:\Program Files\Bamboo\bin\start-bamboo.bat"

To run Bamboo in the foreground, start the server with start-bamboo.bat /fg
The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

2 answers

0 votes
Steve Thornhill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2018

Check you have set the home path correctly

 

From the install guide

Set up your Bamboo home directory — this is the directory where Bamboo will store its root configuration data. To do this, edit the file named bamboo-init.properties in the <Bamboo installation directory>/atlassian-bamboo/WEB-INF/classes/ directory. In this file, insert the property "bamboo.home", with an absolute path to your Bamboo home directory. Your file should look something like this:

bamboo.home=C:/test/bamboo-home
Ravi Teja March 6, 2018

Hi Steve, Acttually the thing is my bamboo-home folder is empty. No files are present in the folder bamboo-home. Is there anything to be present in this folder after the installation.

Steve Thornhill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2018

That's fine, you are pointed the server to that directory to store files created during the next steps.

Ravi Teja March 6, 2018

Still the same problem exists. What can I do?

Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 2018

I suggest you reinstall Bamboo and make sure you run Bamboo as a Windows service as the local user as explained in this post.

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2018

Please check all paths and environment variables if are correct. This documentation might help to show where you should look - https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html

I suppose that wrong path is used. By default (if you did not change it) it might be C:\Program Files\Bamboo ..

Ravi Teja March 6, 2018

Hi Mirek I have checked everything and is correct. But still also I am getting the same error. At the start it showed some error related to jdk and jre. I have changed the pwd from Bamboo bin to jdk bin(Even though it is specified in Environment Variables). starting the Bamboo by specifying with complete path. Please can you give me some suggestion.

Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2018

You are getting this error, right?

The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

Are you sure that there is correct path to catalina set by enviroment variable CATALINA_HOME? BTW - Good version of Java is used? What you get if you print CATALINA_HOME variable?

Ravi Teja March 7, 2018

Hi Mirek,

C:\>set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_161\bin"

C:\>set CATALINA_HOME=C:\Bamboo\bin

C:\>set PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin

C:\>set CATALINA_HOME=C:\Bamboo\lib

C:\>

Even after setting the paths also I am getting the same error.

Ravi Teja March 7, 2018

C:\Program Files\Java\jdk1.8.0_161\bin>"C:\Bamboo\bin\start-bamboo.bat" /fg
The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

 

 

This is the error I am getting

Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2018

is C:\Bamboo your <Bamboo Install> directory? If not please try to set up CATALINA_HOME using it ..

BTW - but first please remember also to have a semicolon on the end of environment variables

not..

PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin

but..

PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin;

Those are details but sometimes count :)

Ravi Teja March 7, 2018

Thanks for your reply. I have done what you mentioned in your previous post but still the problem exists. I think some problem from my system.

Ravi Teja March 7, 2018

C:\Bamboo\bin>start-bamboo.bat /fg
'#' is not recognized as an internal or external command,
operable program or batch file.
'#' is not recognized as an internal or external command,
operable program or batch file.
'#set' is not recognized as an internal or external command,
operable program or batch file.
'#' is not recognized as an internal or external command,
operable program or batch file.

Bamboo Server Edition
Version : 6.4.0

The system cannot find the path specified.

If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+Bamboo+on+Windows

Files\Java\jre1.8.0_161\bin"" was unexpected at this time.

 

Is there any solution for this.

Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2018

You configuration files seems to be messed up .. Maybe you did some typos or additional special characters. Please check syntax.

Závodný Petr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 23, 2021

I had similar problem and it was fixed setting env variabl for CATALINE_HOME as Mirek described `%CATALINA_HOME%\bin;` while CATALINA_HOME itself pointed on installation directory, as Mirek also wrote.

Like Mirek likes this
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 29, 2021

Thanks @Závodný Petr . Glad that it helped

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events