Installing Confluence as a service on XP-64 fails due to 32-bit binaries of Tomcat

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.9
    • Affects Version/s: 2.8.1
    • Component/s: None
    • Environment:

      Used the standard 2.8.1 zip file and did a standard installation on a windows XP 64-bit SP2 machine using a personal Confluence License. I am using JDK 6 Update 6 (x64 version).

      Confluence runs fine except when trying to set it up as a service. Registering the service using service.bat works fine. However, when trying to start the service windows indicates an error 0 is returned by tomcat.

      When taking a look in the logs, the following error messages are found (jakarta_service_DDMMYYYY.log):

      [2008-06-30 23:40:21] [info] Running Service...
      [2008-06-30 23:40:21] [info] Starting service...
      [2008-06-30 23:40:21] [174 javajni.c] [error] %1 is not a valid Win32 application.
      [2008-06-30 23:40:21] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_06\jre\bin\server\jvm.dll
      [2008-06-30 23:40:21] [1202 prunsrv.c] [error] ServiceStart returned 1
      [2008-06-30 23:40:25] [info] Run service finished.
      [2008-06-30 23:40:25] [info] Procrun finished.

      After replacing the tomcat.exe and tomcatw.exe binaries by 64-bit versions, downloaded from the internet everything seems to work fine.

      The following links are related:

      I think either the installation guide should be adjusted to indicate this problem for 64-bit users (current verions) or the installation package should be adjusted such that the right version of tomcat is called, depending on the OS (new versions).

            Assignee:
            Unassigned
            Reporter:
            Bert Pluymers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: