Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't start Bamboo as a Windows service

Hi

I have installed Bambo via InstallAsAService with administrator permissions and gave the server user all the neccessary folder permissions (install and data). All worked fine but I can't start the service because it fails immediately.

bamboo.stderr.2014-03-18.txt says:

2014-03-18 09:09:48 Commons Daemon procrun stderr initialized

commons-deamon.2014-03-18.txt says:

[2014-03-18 09:09:48] [info]  [ 3708] Commons Daemon procrun (1.0.15.0 32-bit) started
[2014-03-18 09:09:48] [info]  [ 3708] Running 'Bamboo' Service...
[2014-03-18 09:09:48] [info]  [ 3824] Starting service...
[2014-03-18 09:09:48] [error] [ 3824] %1 is not a valid Win32 application.
[2014-03-18 09:09:48] [error] [ 3824] Failed creating java C:\Program Files\Java\jdk1.7.0_45\jre\bin\server\jvm.dll
[2014-03-18 09:09:48] [error] [ 3824] %1 is not a valid Win32 application.
[2014-03-18 09:09:48] [error] [ 3824] ServiceStart returned 1
[2014-03-18 09:09:48] [error] [ 3824] %1 is not a valid Win32 application.
[2014-03-18 09:09:48] [info]  [ 3708] Run service finished.
[2014-03-18 09:09:48] [info]  [ 3708] Commons Daemon procrun finished

Bamboo is running well when I start it via console.

Thanks for your help!

Philip

Update:

C:\Atlassian\Bamboo-5.4.1>"C:\Atlassian\Bamboo-5.4.1\bin\service.bat" install Bamboo
Installing the service 'Bamboo' ...
Using CATALINA_HOME:    "C:\Atlassian\Bamboo-5.4.1"
Using CATALINA_BASE:    "C:\Atlassian\Bamboo-5.4.1"
Using JAVA_HOME:        "C:\Program Files\Java\jdk1.7.0_45"
Using JRE_HOME:         "C:\Program Files\Java\jdk1.7.0_45\jre"
Using JVM:              "C:\Program Files\Java\jdk1.7.0_45\jre\bin\server\jvm.dll"
The service 'Bamboo' has been installed.

3 answers

1 accepted

0 votes
Answer accepted

Ok. It works. I found this article

https://confluence.atlassian.com/display/STASHKB/Stash+service+%2864-bit%29+fails+to+start+-+not+a+valid+Win32+application

and tried to place the tomcat7.dll.x64 and the tcnative-1.dll.x64 from an stash zip package and renamed it. These two files beeing not deployed by the Bamboo installer!!! Now the service starts up!

This is still an issue! As Bitbucket Server does not use tomcat anymore I had to copy tomcat8.exe.x64 from an jira zip archive.

I have the same issue

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.

Seems not to help in my case. %JRE_HOME% is prefilled correctly.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

252 views 4 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you