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

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

Bamboo not working as a windows service

I have configured Bamboo with a self signed certificate according to the online instructions. If I run Bamboo using start-bamboo.bat then it works perfectly. However if I try to use it by running the windows service I get no response. I have configured the windows service to run as the same windows user I'm using to run from the command line, as well as uninstalling and reinstalling the windows service, but this doesn't help. What should I do to resolve this?

1 answer

0 votes
Danyal Iqbal Community Leader Nov 26, 2018

Check the windows system log. You should find a detailed error message why windows could not start the service. Google that error message and the resolution should be straight forward.

Hi Danyal,

The windows service does start, I just can't access the site. The event log confirms that the windows service started.

Danyal Iqbal Community Leader Nov 26, 2018

In that case you need to check the bamboo log file. If there are no exceptions in the bamboo log, you are probably hitting an incorrect URL.

Hint: Bamboo url should be present in the startup logs.

log location.

If the log shows a failure while starting up as a service but not when starting from the command line, you java installation is corrupt (probably multiple installs of jdk and jre or 64bit vs 32 bit or the service might be püointing towards the incorrect jre- find and run

tomcat8w //ES//<ServiceName here>

to check the jvm used by the service and compare it with the jvm used from the command line.  ). Verify and clean up your system variables -JDK*/JRE*/JAVA*.

Java seems to be ok - I can't see anything in the logs that would indicate any start up errors. When I try to access it, it seems to have a stuck thread:

 

WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [https-openssl-nio-8443-exec-21] (id=[261]) has been active for [66,162] milliseconds (since [11/26/18 3:01 PM]) to serve the same request for [REDACTED] and may be stuck (configured threshold for this StuckThreadDetectionValve is [60] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 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