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

Wrapper fails to find (expected) Java if path contains consecutive semicolons

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.7 rc1, 2.7
    • None
    • None
    • None

      Due to an undocumented behaviour of PathFindOnPath Win32 API function, directory list scanning is terminated once an empty directory name is found on the list.
      For Java Service Wrapper, this condition is met when the PATH variable contains at least two consecutive semicolons.

      This can have on of the following side effects:
      1. Java is not found at all.
      2. Java from Windows System directory is used instead of the one specified in path.

            [BAM-6975] Wrapper fails to find (expected) Java if path contains consecutive semicolons

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1442009 ] New: JAC Bug Workflow v3 [ 3383096 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1418677 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1442009 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 610844 ] New: Bamboo Workflow 2016 v1 [ 1418677 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 593518 ] New: Bamboo Workflow 2014 v2 [ 610844 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 220747 ] New: Bamboo Workflow 2014 [ 593518 ]
            Przemek Bruski made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            Przemek Bruski made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Przemek Bruski made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            MarkC made changes -
            Assignee New: Przemek Bruski [ pbruski ]
            MarkC made changes -
            Internal Priority New: 2. High

              pbruski Przemek Bruski
              pbruski Przemek Bruski
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: