Error when running Bamboo as a Windows Service
Symptoms
Running Bamboo with "BambooConsole.bat" and "start-bamboo.bat" works fine, but running the service fails, and re-installing it doesn't make any difference in most cases. Following error shows up in the logs:
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
Press any key to continue . . .
Cause
- Incompatible Java version
- JAVA_HOME variable is not set up correctly
Resolution
- Follow the "Troubleshooting & Resolution" steps in this document: Running Bamboo as a Windows Service-Troubleshooting Guide
- Referring to Bamboo Supported platforms page, make sure a compatible Java version is installed for your version of Bamboo and JAVA_HOME is configured correctly to point to the root of the JDK directory.
- Note: Re-start Bamboo after any changes to the Java version or JAVA_HOME settings.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.