Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-12293

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



    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.9
    • Component/s: None
    • Labels:
    • 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).


          Issue Links



              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created:
                  Last commented:
                  8 years, 48 weeks, 4 days ago