Products
ZENworks Configuration Management (ZCM),ZENworks Patch Management (ZPM)
Environment
ZENworks 23.4
Some CVE records import batch fails due to below error messages:
Rolled back transaction and closed session completely.
Fail to save/update cve with ids
Example (loader-messages.log):
Situation
Multiple failed import messages are seen on the CVE Subscription Server where the CVE Subscription is configured to run.Some CVE records import batch fails due to below error messages:
Rolled back transaction and closed session completely.
Fail to save/update cve with ids
Example (loader-messages.log):
[TRACE] [04/18/2024 23:00:11.028] [16] [ZENLoader] [194640] [] [CVEAdminService] [] [com.novell.zenworks.datamodel.exceptions.InternalDataModelException: Rolled back transaction and closed session completely. at com.novell.zenworks.datamodel.session.hibernate.AbstractHibernateSessionImpl.doTransaction(AbstractHibernateSessionImpl.java:178) at com.novell.zenworks.cve.spring.batchjob.CVEWriter.write(CVEWriter.java:60) at org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:193) [TRACE] [04/18/2024 23:00:11.028] [16] [ZENLoader] [194640] [] [CVEAdminService] [] [Fail to save/update cve with ids from CVE-2024-32530To CVE-2024-26849] [] [] [] [ZENServer] [DEBUG] [04/18/2024 23:00:11.030] [16] [ZENLoader] [194640] [] [CVESubscriptionReplicationHandler] [] [Failed to import CVE record "From CVE-2024-32530To CVE-2024-26849". Error: "Rolled back transaction and closed session completely.".] [] [] [] [ZENServer]