Setting up Bamboo as a service on Windows

Having issues installing Bamboo as a service. JIRA install just worked, Stash was slightly painful until I figured out I needed to change a port in the config. When I got to Bamboo I figured I would at worst just have to repeat the Stash process but I can't figure it out. I can run Bamboo as a console app just fine, but after installing it as a service it will not start. I can't find the log at the moment, but I found a log entry last night that made mention of not being a valid Win32 application when I tried to start the service.

Has anyone had problems being able to start Bamboo as a console app but not a service on Windows? How did you solve it?

1 answer

1 accepted

I got it running. I had to alter the service installer batch script to get it to run.

In service.bat i changed line 136 to read:

set "PR_JVM=%JAVA_HOME%\jre\bin\server\jvm.dll"

I think my JAVA_HOME, aka jdk install, is 64 bit, but my jre install is 32 bit. The odd thing is that the comment for the line i changed mentioned it was using JAVA_HOME when it was instead using the JRE_HOME variable. It seems to me either the comment in there is wrong or the line itself is wrong.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,575 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you