Hi all,
I'm running ZCM 11.2.2(MU1 now) on Win2008R2/MSQL2008R2, and I'm seeing the following errors in my loader-messages.log on one of my servers. The line that looks important is:
The INSERT statement conflicted with the FOREIGN KEY constraint "fk_zMessage_relatedUID". The conflict occurred in database "zenworks_MBC_ZONE", table "dbo.zZENObject", column 'ZUID'.

Does this mean anything to anyone? I've run the ZDC against my system and there were no errors that popped.


[DEBUG] [7/12/12 11:28:59 AM] [] [Loader.MessageProcessorModule] [108] [] [Logger is not able to log the message:
<Message><MessageId>AddContentHandler.MSG_ADD_CONT ENT_FAILURE</MessageId><Severity>8</Severity><Time>1354843734585</Time><Source>df0f7dfd8dba37ae4de6903f52ddb047</Source><ComponentName>ImportContent</ComponentName><MessageType>0</MessageType><ProbableCauseId>AddContentHandler.CAU SE_CONTENT_OBJECT_NOT_FOUND</ProbableCauseId><AdditionalInfo>ff793ca5194a4142a6 2ea33c8db7bb79</AdditionalInfo><MessageParams><Params>Adobe CS5 WebPremium.aamee</Params></MessageParams><RelatedGuids><Guid>51aa6127353f9f95 5d2aa824ffb0621f</Guid></RelatedGuids></Message>
because of InternalDatamodel Exception. Exception: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [[com.novell.zenworks.datamodel.objects.messaging.Me ssage]]] [] []
[DEBUG] [7/12/12 11:28:59 AM] [] [Loader.MessageProcessorModule] [108] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [[com.novell.zenworks.datamodel.objects.messaging.Me ssage]]
at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.newStandardDataModelException(Abst ractDatabaseTypeHelper.java:456)
at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.throwStandardDataModelException(Ab stractDatabaseTypeHelper.java:441)
at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.handleException(Abstrac tHibernateSessionImpl.java:177)
at com.novell.zenworks.datamodel.services.messaging.M essagingImpl.logMessages(MessagingImpl.java:154)
at com.novell.zenworks.datamodel.services.messaging.M essagingImpl.logMessage(MessagingImpl.java:82)
at com.novell.zenworks.loader.modules.messageprocesso r.DBOperations.saveMessage(DBOperations.java:68)
at com.novell.zenworks.loader.modules.messageprocesso r.MessageFilterProcessor.saveMessages(MessageFilte rProcessor.java:443)
at com.novell.zenworks.loader.modules.messageprocesso r.MessageFilterProcessor.saveMessages(MessageFilte rProcessor.java:426)
at com.novell.zenworks.loader.modules.messageprocesso r.MessageFilterProcessor.run(MessageFilterProcesso r.java:168)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [[com.novell.zenworks.datamodel.objects.messaging.Me ssage]]
at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:71)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2140)
at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(En tityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQue ue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeInserts(Ac tionQueue.java:130)
at org.hibernate.event.def.AbstractSaveEventListener. performSaveOrReplicate(AbstractSaveEventListener.j ava:241)
at org.hibernate.event.def.AbstractSaveEventListener. performSave(AbstractSaveEventListener.java:180)
at org.hibernate.event.def.AbstractSaveEventListener. saveWithGeneratedId(AbstractSaveEventListener.java :108)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.saveWithGeneratedOrRequestedId(DefaultSaveO rUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.entityIsTransient(DefaultSaveOrUpdateEventL istener.java:175)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.performSaveOrUpdate(DefaultSaveOrUpdateEven tListener.java:98)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.onSaveOrUpdate(DefaultSaveOrUpdateEventList ener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(Se ssionImpl.java:506)
at org.hibernate.impl.SessionImpl.saveOrUpdate(Sessio nImpl.java:498)
at org.hibernate.engine.CascadingAction$5.cascade(Cas cadingAction.java:134)
at org.hibernate.engine.Cascade.cascadeToOne(Cascade. java:213)
at org.hibernate.engine.Cascade.cascadeAssociation(Ca scade.java:157)
at org.hibernate.engine.Cascade.cascadeProperty(Casca de.java:108)
at org.hibernate.engine.Cascade.cascadeCollectionElem ents(Cascade.java:290)
at org.hibernate.engine.Cascade.cascadeCollection(Cas cade.java:185)
at org.hibernate.engine.Cascade.cascadeAssociation(Ca scade.java:160)
at org.hibernate.engine.Cascade.cascadeProperty(Casca de.java:108)
at org.hibernate.engine.Cascade.cascade(Cascade.java: 248)
at org.hibernate.event.def.AbstractSaveEventListener. cascadeAfterSave(AbstractSaveEventListener.java:43 7)
at org.hibernate.event.def.AbstractSaveEventListener. performSaveOrReplicate(AbstractSaveEventListener.j ava:326)
at org.hibernate.event.def.AbstractSaveEventListener. performSave(AbstractSaveEventListener.java:180)
at org.hibernate.event.def.AbstractSaveEventListener. saveWithGeneratedId(AbstractSaveEventListener.java :121)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.saveWithGeneratedOrRequestedId(DefaultSaveO rUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.s aveWithGeneratedOrRequestedId(DefaultSaveEventList ener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.entityIsTransient(DefaultSaveOrUpdateEventL istener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.p erformSaveOrUpdate(DefaultSaveEventListener.java:2 7)
at org.hibernate.event.def.DefaultSaveOrUpdateEventLi stener.onSaveOrUpdate(DefaultSaveOrUpdateEventList ener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImp l.java:534)
at org.hibernate.impl.SessionImpl.save(SessionImpl.ja va:522)
at org.hibernate.impl.SessionImpl.save(SessionImpl.ja va:518)
at com.novell.zenworks.datamodel.services.messaging.M essagingImpl.logMessages(MessagingImpl.java:138)
... 6 more
Caused by: java.sql.SQLException: The INSERT statement conflicted with the FOREIGN KEY constraint "fk_zMessage_relatedUID". The conflict occurred in database "zenworks_MBC_ZONE", table "dbo.zZENObject", column 'ZUID'.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnos tic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(Td sCore.java:2820)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCor e.java:2258)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(T dsCore.java:632)
at net.sourceforge.jtds.jdbc.JtdsStatement.processRes ults(JtdsStatement.java:584)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL (JtdsStatement.java:546)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.ex ecuteUpdate(JtdsPreparedStatement.java:504)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement .executeUpdate(NewProxyPreparedStatement.java:105)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(N onBatchingBatcher.java:23)
at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2120)
... 42 more
] [] []

Thanks.