Patch Me Rollup creation error - Failed to create patch
search cancel

Patch Me Rollup creation error - Failed to create patch

book

Article ID: 386598

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

In Patch Manager when creating a "New Based On" Custom Patch Me Security IntelliRollup (CR)

Example : CR - TEST4 - Security IntelliRollup v2501.00.1

Following error occurs :
Failed to create patch - <patch Name>

The CR patch is created but remains in "Packaging" status :

 

In C:\Program Files (x86)\CA\DSM\PatchManagement\PMEngine.log we could see this error every 2 minutes :

2025-01-24 10:02:38,463 [DownloadedPatchTask] DEBUG [com.ca.pmengine.dao.PDMPatchDB] - getSupersession(): row count = 0
2025-01-24 10:02:38,463 [DownloadedPatchTask] DEBUG [com.ca.pmengine.decision.DownloadedPatchTask] - Adding Package details to the Rollup Ini
2025-01-24 10:02:38,463 [DownloadedPatchTask] ERROR [com.ca.pmengine.decision.DownloadedPatchTask] - Unexpected Exception Caught processing Patch with pending Download CR - TEST4 - Security IntelliRollup v2501.00.1 {59af2ff2-da31-03ef-afd8-d0363e17d56c}
2025-01-24 10:02:38,463 [DownloadedPatchTask] ERROR [com.ca.pmengine.decision.DownloadedPatchTask] - Error: null
2025-01-24 10:02:38,463 [DownloadedPatchTask] DEBUG [com.ca.pmengine.decision.DownloadedPatchTask] - Trace: java.io.File.<init>(File.java:277)
2025-01-24 10:02:38,463 [DownloadedPatchTask] DEBUG [com.ca.pmengine.decision.DownloadedPatchTask] - Trace: com.ca.pmengine.decision.DownloadedPatchTask.run(Unknown Source)
2025-01-24 10:02:38,463 [DownloadedPatchTask] ERROR [com.ca.pmengine.decision.DownloadedPatchTask] - Unexpected exception caught processing Downloaded Patch CR - TEST4 - Security IntelliRollup v2501.00.1 {59af2ff2-da31-03ef-afd8-d0363e17d56c}

 

In DSM Explorer, A Patch Rollup folder is created for the Custom Rollup Patch but it is empty :

Environment

Client Automation 14.5 CU7
Patch Me rollup version 2412.00 onwards

Resolution

1- Stop tomcat :
caf stop tomcat

2- Do a copy of these 2 files :
C:\Program Files (x86)\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\WACConfig.properties
C:\Program Files (x86)\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\waclog.properties

3- Delete the folders :
C:\Program Files (x86)\CA\DSM\Web Console\webapps\pmengine
C:\Program Files (x86)\CA\DSM\Web Console\webapps\wac


4- Remove the partially created Rollup patch "CR - <name> - Security IntelliRollup v2501.00.1" with SQL Queries :

Example for CR - TEST4 - Security IntelliRollup v2501.00.1
Replace the patch name in the following query

IF OBJECT_ID ('tempdb..#TMP', 'U') IS NOT NULL DROP TABLE #TMP
SELECT sw_def_uuid, install_pkg_uuid INTO #TMP FROM ca_install_package WHERE ipkg_name = 'CR - TEST4 - Security IntelliRollup v2501.00.1'
DELETE FROM ca_install_step WHERE install_pkg_uuid in (SELECT install_pkg_uuid FROM #TMP)
DELETE FROM ca_install_package WHERE install_pkg_uuid in (SELECT install_pkg_uuid FROM #TMP)
DELETE FROM ca_software_signature WHERE sw_def_uuid in (SELECT sw_def_uuid FROM #TMP)
DELETE FROM ca_software_def WHERE sw_def_uuid in (SELECT sw_def_uuid FROM #TMP)

 

5- In DSM Explorer, delete the empty CR Rollup patch :

 

6- Download patch 99112337 : Client Automation Certification - Windows 11 24H2 - Manager patch
And install it on Domain Manager

7- Start tomcat
caf start tomcat

8- Wait 5 minutes and stop tomcat
caf stop tomcat

9- Copy the files WACConfig.properties and waclog.properties from backup made in step 2 into directory :
C:\Program Files (x86)\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config

10- Start tomcat
caf start tomcat

11- Create a new CR patch and check that problem is resolved.