JIRA Service Stops Working after Upgrading from 6.x to 7.x in Windows
症状
After upgrading JIRA from 6.x to 7.x (e.g. 6.4.12 to 7.2) in Windows using Rapid method, JIRA service stops working.
診断
Manually starting the service throws an error that the service's Executable Path is not found.
原因
JIRA 7.x is bundled with Tomcat 8 while JIRA 6.x doesn't support Tomcat 8. During the upgrade, Tomcat 7 which is used by JIRA 6.x. is removed and replaced by Tomcat 8, causing the service to be unable to find the path to Tomcat 7.
ソリューション
Open cmd as Admin and run this command to delete the service
sc delete ServiceName
ServiceName can be found from Service Manager (right click the Service -> Properties):
Still in cmd, cd to
JIRA_Install/bin
and run this command to register a new service:service.bat install AnyUniqueServiceName
This will register a new JIRA service pointing to the executable Tomcat 8 (as in the above image)