Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-19683

Bamboo service does not start on Windows with 64-bit Java

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Low Low
    • None
    • 6.2.5
    • Installation, Windows
    • None

      Steps to reproduce

      1. Install 64-bit Java on Windows
      2. Install Bamboo from zip archive
      3. Run InstallAsService.bat
      4. Try to start service

      Actual result

      Service fail to start. Errors in log file:
      [2018-02-14 04:42:32] [info] [ 4000] Starting service...
      [2018-02-14 04:42:32] [error] [ 4000] %1 is not a valid Win32 application.
      [2018-02-14 04:42:32] [error] [ 4000] Failed creating java C:\Program Files\Java\jre1.8.0_144\bin\server\jvm.dll
      [2018-02-14 04:42:32] [error] [ 4000] %1 is not a valid Win32 application.
      [2018-02-14 04:42:32] [error] [ 4000] ServiceStart returned 1
      [2018-02-14 04:42:32] [error] [ 4000] %1 is not a valid Win32 application.
      [2018-02-14 04:42:32] [info] [ 1316] Run service finished.

      Expected result

      Service starts.

            [BAM-19683] Bamboo service does not start on Windows with 64-bit Java

            v8lust added a comment -

            I've voted on the related JIRA ticket to have this corrected from a product level.

            v8lust added a comment - I've voted on the related JIRA ticket to have this corrected from a product level.

            v8lust added a comment -

            More importantly, the Bamboo product should be shipped with 64bit support, without a manual work around to get it to run.

            v8lust added a comment - More importantly, the Bamboo product should be shipped with 64bit support, without a manual work around to get it to run.

            The Bamboo Knowledge Base - Error when starting the service - should be upgraded, having a link to this BAM-19683 - Bamboo service does not start on Windows with 64-bit Java.
             

            Rafael Pinto Sperafico added a comment - The Bamboo Knowledge Base - Error when starting the service - should be upgraded, having a link to this BAM-19683 - Bamboo service does not start on Windows with 64-bit Java .  

            The issue you're experiencing is related to the fact that Bamboo is using Tanuki's Java Service Wrapper 3.2.0 which doesn't provide native 64-bit support on Windows platform. 

            You can however modify Bamboo installation by replacing the old version with most recent one that will provide 64 bit compatibility (https://wrapper.tanukisoftware.com/doc/english/download.jsp). 

            You can also vote on BAM-11336 that is about replacing Tanuki's JSW with another solution.

            Krystian Brazulewicz added a comment - The issue you're experiencing is related to the fact that Bamboo is using Tanuki's Java Service Wrapper 3.2.0 which doesn't provide native 64-bit support on Windows platform.  You can however modify Bamboo installation by replacing the old version with most recent one that will provide 64 bit compatibility ( https://wrapper.tanukisoftware.com/doc/english/download.jsp).   You can also vote on BAM-11336 that is about replacing Tanuki's JSW with another solution.

              Unassigned Unassigned
              akhudavets Andrei Khudavets
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: