Highlighted
Micro Focus Expert
Micro Focus Expert
232 views

uCMDB Support Tip : Failed uploading CP version [] to the DB

A Content pack error may appear in error.log about adding CP version to database.

 

Error :

 

<Date_Time> [UCMDB - global framework scheduler] (ContentFileUtils.java:660) ERROR - Failed uploading CP version [] to the DB
com.mercury.topaz.cmdb.server.manage.dal.CmdbDalException: [ErrorCode [-2147483648] undefined error code]
Error adding Content Pack Version [-1.0.0] to database
        at com.hp.ucmdb.cp.dal.CmdbDalAddCPCommand.writeCP(CmdbDalAddCPCommand.java:80)
        at com.hp.ucmdb.cp.dal.CmdbDalAddCPCommand.perform(CmdbDalAddCPCommand.java:57)
        at com.mercury.topaz.cmdb.server.manage.dal.DalAbstractCommand$FlowControlDalCommandExecutor.execute(DalAbstractCommand.java:36)
        at com.mercury.topaz.cmdb.shared.manage.flowmanagement.api.FlowManager.execute(FlowManager.java:227)
        at com.mercury.topaz.cmdb.shared.manage.flowmanagement.api.FlowManager.execute(FlowManager.java:222)
        at com.mercury.topaz.cmdb.server.manage.dal.DalAbstractCommand.execute(DalAbstractCommand.java:54)
        at appilog.common.utils.content.install.ContentFileUtils.syncCPsBetweenFileSystemAndDatabase(ContentFileUtils.java:655)
        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:22)
        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)
Caused by: java.lang.RuntimeException: Content Pack Version [-1.0.0] already exists in the database.
        at com.hp.ucmdb.cp.dal.CmdbDalAddCPCommand.writeCP(CmdbDalAddCPCommand.java:71)
        ... 15 more

Also a file named CP_-1.0.0.zip may appear in the content_packs folder.

 

 

Solution :

 

Run the below select command against the database:

select * from CONTENT_PACKS

If an entry for -1.0.0 is seen please stop uCMDB services, delete the entry from the database and also delete it from Content\content_packs folder on Server side.

 

 

For future reference : http://support.openview.hp.com/selfsolve/document/KM00583740

 

 

Regards,

Unni

 

“Micro Focus 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 to say 'Thanks'
Labels (1)
0 Likes
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.