Client Automation - Error ocurred executing a DSM Webservice method. Reason: Invalid SD handle.

book

Article ID: 208695

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager

Issue/Introduction

In PMEngine.log following error appears :

2021-02-16 13:08:19,377 [DownloadedPatchTask] ERROR [com.ca.pmengine.eventmanager] - Error ocurred executing a DSM Webservice method. Reason: Invalid SD handle. SD Session already aborted by manager, please login again

 

And download of patch is failing.

Cause

This could be caused by an invalid section syntax in file C:\Program Files (x86)\CA\DSM\SD\ASM\LIBRARY\library.dct

Example :

In the example below section [UPM - MS - Win 10 1709 64Bit - Cumulative Update KB4525241 v1911.00 - {8ab04b87-c04d-4244-987c-e4b9903455dd}:2.0] is empty


[UPM - MS - Win 10 1709 64Bit - Cumulative Update KB4525241 v1911.00 - {8ab04b87-c04d-4244-987c-e4b9903455dd}:1.0]
 Path = 131109E7-F226-48C5-92E5-4DA69AA8CC3A.arc
 ItemName = "UPM - MS - Win 10 1709 64Bit - Cumulative Update KB4525241 v1911.00 - {8ab04b87-c04d-4244-987c-e4b9903455dd}"
 ItemVersion = 1.0
 ItemType = 0

[UPM - MS - Win 10 1709 64Bit - Cumulative Update KB4525241 v1911.00 - {8ab04b87-c04d-4244-987c-e4b9903455dd}:2.0]

[Fixes for Scalability Servers 14.0.0.199:1.0]
 Path = A977E9CD-5586-4287-94A6-158041B37C4E.arc
 ItemName = "Fixes for Scalability Servers 14.0.0.199"
 ItemVersion = 1.0
 ItemType = 0

 

Environment

Client Automation - All Versions

 

Resolution

Find the wrong syntax in library.dct file and correct it.
 
Then restart tomcat :
caf stop tomcat
caf start tomcat
 
In example above, remove the empty section line in file library.dct