Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21925

syntax error in Windows service stop script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Community Edition 201707 GA
    • Component/s: Installer
    • Security Level: external (External user)
    • Labels:
    • Environment:
      Windows 10, 64-bit

      Description

      There is a syntax error in batch script AlfrescoRootDirectory\servicerun.bat:
      The line

      if exist D:\Alfresco\tomcat\scripts\servicerun.bat (start /MIN /WAIT cmd /C /WAIT D:\Alfresco\tomcat\scripts\servicerun.bat STOP)
      

      should be

      if exist D:\Alfresco\tomcat\scripts\servicerun.bat (start /MIN /WAIT cmd /C D:\Alfresco\tomcat\scripts\servicerun.bat STOP)
      

      (whithout second "/WAIT"). This error has already be mentioned in https://issues.alfresco.com/jira/browse/ALF-19439.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  oahrens Olaf Ahrens (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Structure Helper Panel