Error when running Bamboo as a Windows Service
症状
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 . . .
原因
- Incompatible Java version
- JAVA_HOME variable is not set up correctly
ソリューション
- 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.
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.