[MNT-18400] Syntax error in Windows service stop script Created: 03-Aug-17  Updated: 11-Jan-18  Resolved: 12-Sep-17

Status: Closed
Project: Service Packs and Hot Fixes
Component/s: Installer
Affects Version/s: 5.2.1
Fix Version/s: 5.2.2

Type: Service Pack Request
Reporter: Olaf Ahrens (Inactive) Assignee: Closed Bugs
Resolution: Fixed Votes: 0
Labels: PatchAttached
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10, 64-bit


Issue Links:
Duplicate
is duplicated by ALF-19439 Windows Installer - services aren't s... Closed
Shadow
shadow of ALF-21925 syntax error in Windows service stop ... Closed
shadowed by REPO-2867 Service Pack: MNT-18400: Syntax error... Done
Bug Priority:
Category 3
ACT Numbers:

Community

Build Location: https://releases.alfresco.com/Enterprise-5.2/5.2/5.2.2/build-00041
Regression Since:
Testcase ID:

C213890

RCA Cause:
Issue with third party library
RCA Quality:
Missing test(s)
RCA Description: As per Samuel's comment:
https://issues.alfresco.com/jira/browse/ALF-19439?focusedCommentId=244456&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-244456 ,
the problem was introduced in older versions and so this is a regression since this commit:
https://fisheye.alfresco.com/changelog/alfresco-enterprise/?cs=49227.

 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 ALF-19439.



 Comments   
Comment by Codrin Chirica [X] (Inactive) [ 12-Sep-17 ]

As per Samuel's comment here, the problem was introduced in older versions and so this is a regression since this commit.

Generated at Sat Jul 11 06:52:56 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.