Issue Details (XML | Word | Printable)

Key: JRA-12109
Type: Third-party issue Third-party issue
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andreas Knecht [Atlassian]
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA

Service installation of JIRA standalone does not work on Windows Vista

Created: 07/Feb/07 09:05 PM   Updated: 11/Sep/08 05:49 PM
Component/s: Installation
Affects Version/s: None
Fix Version/s: 3.13.x

Time Tracking:
Not Specified

Environment: Windows Vista Business Edition
Issue Links:
Reference
 

Participants: Andreas Knecht [Atlassian], Bogdan Dziedzic [Atlassian] and Jed Wesley-Smith [Atlassian]
Since last comment: 11 weeks, 6 days ago
Labels:


 Description  « Hide
The service.bat file included in Tomcat which we currently bundle with JIRA standalone fails to install JIRA as a service properly in Windows Vista. Vista has changed the implementation of services and the current services.bat does not do an adequate job at installing Tomcat as a service.

The service gets added to the list of services, but it can't be started, stopped or removed. (due to service privileges missing)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Andreas Knecht [Atlassian] added a comment - 07/Feb/07 09:15 PM

Jed Wesley-Smith [Atlassian] added a comment - 06/Dec/07 08:00 PM
The fix for this issue has not been able to make it into JIRA v3.12. We are hoping to incorporate it into v3.12.1. As of writing however, there are 163 items scheduled as Fix For v3.12.1. We will not be able to include all of them.

Bogdan Dziedzic [Atlassian] added a comment - 21/Jul/08 12:16 AM
FYI. Apache Tomcat 6.0.16 can be installed as a service on Vista.

Tomcat 6 and the JIRA WAR package could be used as a possible workaround the problem with Tomcat 5.5


Bogdan Dziedzic [Atlassian] added a comment - 21/Jul/08 06:28 PM
Vista with User Account Control (UAC) running causes a problem. Vista normally runs everybody ( including administrators ) in a non-administrative mode.
This provides additional security and makes it more difficult for intruders to run programs requiring administrative privileges.

Currently, there are two possible workaround that allow to install the windows service successfully:

The first option - Temporary disable UAC
1. Install JIRA.
2. Temporary disable UAC (restart of OS required). It is done from

  • run "msconfig" > tools > disable UAC or
  • Start > Control Panel > User Accounts > Turn User Account Control on or off
    3. Install the JIRA windows service by running:
    <JIRA home path>\bin\service install
    4. Enable UAC - as per 2.

The second option - Execute service.bat as admin

  1. Create a shortcut to service.bat e.g. on Desktop
  2. In the shortcut Properties in the Target filed add install
    for e.g. "C:\Program Files\JIRA\bin\service.bat" install
  3. Click right button of mouse and select Run as administrator

Since the installer doesn't give an option to install the service, I couldn't test if executing the installer with "Run as administrator" would sucessfuly install the service.
However, I've done this test for the Tomcat 5.5 installer and it failed to install the service.