Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-24291

windows service will not start up due to misconfgured service

      On initial start up of the application from MMC Services windows report the following error:

      Even Viewer logs:

      The Atlassian JIRA 4.3.1 6 service terminated with service specific error 0 (0x0).

      The only output produced in the JIRA's standard out log file jira080411115209-stdout.2011-04-08.log:

      2011-04-08 11:54:25 Commons Daemon procrun stdout initialized
      2011-04-08 11:56:13 Commons Daemon procrun stdout initialized
      

      From the registry entry can be seen that JIRA doesn't use the internal JRE (default)

      From Rob's and Peters investigation the problem is caused by the upgrade of the Tomcat release and behaviour of install4j

        1. ServicesError.png
          ServicesError.png
          8 kB
        2. ServiceConfig.png
          ServiceConfig.png
          19 kB

            [JRASERVER-24291] windows service will not start up due to misconfgured service

            Workaround
            Option 1

            1. Manually configure the windows service with full path to the jvm.dll

              as per
              http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory#IncreasingJIRAMemory-SettingPropertiesforWindowsServicesviaCommandLine

            Option 2

            1. Set JAVA_HOME
            2. Uninstall existing windows service service.bat remove JIRA<set of digits>
            3. Install service service.bat install
              http://confluence.atlassian.com/display/JIRA/Running+JIRA+Standalone+as+a+Service#RunningJIRAStandaloneasaService-InstallingasaServicemanually

            Bogdan Dziedzic [Atlassian] added a comment - - edited Workaround Option 1 Manually configure the windows service with full path to the jvm.dll as per http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory#IncreasingJIRAMemory-SettingPropertiesforWindowsServicesviaCommandLine Option 2 Set JAVA_HOME Uninstall existing windows service service.bat remove JIRA<set of digits> Install service service.bat install http://confluence.atlassian.com/display/JIRA/Running+JIRA+Standalone+as+a+Service#RunningJIRAStandaloneasaService-InstallingasaServicemanually

              pleschev Peter Leschev
              bdziedzic Bogdan Dziedzic [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: