Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo not working as a windows service

Chris Hardstaff November 26, 2018

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
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.
November 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.

Chris Hardstaff November 26, 2018

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
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.
November 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*.

Chris Hardstaff November 26, 2018

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
AUG Leaders

Atlassian Community Events