Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

(UCMDB) Support Tip - 'Cannot find the content pack zip, or a package inside it ' error


From UCMDB 10.11 and after, every 30 sec below message is logged in error.log:

<timestamp> [UCMDB - global framework scheduler] (Utils.java:115) ERROR - Cannot find the content pack zip, or a package inside it
java.util.zip.ZipException: error in opening zip file
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.<init>(ZipFile.java:214)
 at java.util.zip.ZipFile.<init>(ZipFile.java:144)
 at java.util.zip.ZipFile.<init>(ZipFile.java:158)
 at com.hp.ucmdb.util.Utils.getCPVersionFromZip(Utils.java:96)
 at com.hp.ucmdb.util.Utils.getCPsMapFromFileSystem(Utils.java:85)
 at appilog.common.utils.content.install.ContentFileUtils.syncCPsBetweenFileSystemAndDatabase(ContentFileUtils.java:606)
 at com.hp.ucmdb.cp.CPFrameworkInitializer$SyncCPsFromFileSystemToDBTask.execute(CPFrameworkInitializer.java:81)
 at com.mercury.topaz.cmdb.server.base.itc.schedule.Scheduler$TaskWrapper.doExecute(Scheduler.java:242)
 at com.mercury.topaz.cmdb.server.base.itc.schedule.Scheduler$TaskWrapper.access$000(Scheduler.java:201)
 at com.mercury.topaz.cmdb.server.base.itc.schedule.Scheduler$TaskWrapper$1.executeInContext(Scheduler.java:229)
 at com.mercury.topaz.cmdb.server.base.itc.schedule.Scheduler$TaskWrapper$1.executeInContext(Scheduler.java:226)
 at com.mercury.topaz.cmdb.shared.manage.AuthorizationContextUtils.executeInSystemAuthorizationContext(AuthorizationContextUtils.java:24)
 at com.mercury.topaz.cmdb.server.base.itc.schedule.Scheduler$TaskWrapper.run(Scheduler.java:226)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)

This error does not prevent the server to work as expected however .



Every 30 sec, the UCMDB server checks the content of folder \content\content_packs for the presence of content pack zip archive.

As such, it will try to open and unzip every file located in this folder.

In case, the file opened is not a valid zip file, this exception is thrown, and printed out in the error.log file.
To prevent this message, check the contents of the \content\content_packs folder, and remove every file which is not a valid CP zip archive.


“HPE Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'

Labels (1)
Tags (3)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.