Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2216

stop-ds -R can fail on Windows after upgrading from 2.6.0

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.8.0, 2.6.2, 2.6.1
    • Fix Version/s: 3.0.0
    • Component/s: tools
    • Environment:

      Description

      After a successful upgrade from 2.6.0 to 2.6.1 or later, attempting to restart via "stop-ds.bat -R" fails and mangles the environment:

      C:\Users\Chris\Desktop\ds2\OpenDJ-2.6.0\opendj>bat\stop-ds -R
      
Stopping Server...

      \Java\jre7\bin\java.exe\logs\"" was unexpected at this time.
      C:\Users\Chris\Desktop\ds2\OpenDJ-2.6.0\opendj>echo %PATH%
      
C:\Windows;C:\Windows
      
      

      Re-running dsjavaproperties after the upgrade fixes the problem. It looks like the fix for OPENDJ-1322 requires this as an upgrade task, as it corrects errors in lib\set-java-home.bat

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjr Chris Ridd
                Reporter:
                cjr Chris Ridd
                Dev Assignee:
                Chris Ridd
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: