Anyone ever see this exception? I suspect it's related to having forks
and merges in the flow...(concurrency control).

Identity Manager Roles Based Provisioning Module Version 4.0.1 Patch B
Build Revision 37827 jBoss/MySQL on SLES 11 X86_64

2012-09-24 15:36:15,374 INFO [STDOUT] (pool-13-thread-7) 528478804
[pool-13-thread-7] INFO com.novell.soa.af.impl.LogEvent -
[Workflow_Forwarded] Initiated by System,
Process ID: 3d968be8a8c343b2a5b69894d42088e6, Process Name:
cn=ACME-Access-Request-Form,cn=RequestDefs,cn=AppConfig,cn=UserApplicatio n,cn=DirXML-DriverSet,o=CUST:2311,
Ac
tivity: Activity171, Recipient: cn=admin,o=CUST
2012-09-24 15:36:15,374 INFO [STDOUT] (pool-13-thread-3) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID:
3d968be8a8c343b2a5b69894d42088e6, Process Name:
cn=ACME-Access-Request-Form,cn=RequestDefs,cn=AppConfig,cn=UserApplicatio n,cn=DirXML-DriverSet,o=CUST:2311,
Activity: Act
ivity180, Recipient: cn=admin,o=CUST
2012-09-24 15:36:15,378 INFO [STDOUT] (pool-13-thread-7) 528479113
[pool-13-thread-7] ERROR
org.hibernate.event.def.AbstractFlushingEventListe ner - Could not
synchroni
ze database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.novell.soa.af.impl.persist.Acti
vityStatusInfo#requestId = [3d968be8a8c343b2a5b69894d42088e6]
activityId = [Activity172]]
at
org.hibernate.persister.entity.AbstractEntityPersi ster.check(AbstractEntityPersister.java:1950)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.update(AbstractEntityPersister.java:2594)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.updateOrInsert(AbstractEntityPersister.java:2 494)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.update(AbstractEntityPersister.java:2821)
at
org.hibernate.action.EntityUpdateAction.execute(En tityUpdateAction.java:113)
at
org.hibernate.engine.ActionQueue.execute(ActionQue ue.java:273)
at
org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:265)
at
org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:185)
at
org.hibernate.event.def.AbstractFlushingEventListe ner.performExecutions(AbstractFlushingEventListene r.java:321)
at
org.hibernate.event.def.DefaultFlushEventListener. onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.j ava:1216)
at
org.hibernate.impl.SessionImpl.managedFlush(Sessio nImpl.java:383)
at
org.hibernate.transaction.JDBCTransaction.commit(J DBCTransaction.java:133)
at
com.novell.soa.persist.HibernateUtil.commit(Hibern ateUtil.java:211)
at
com.novell.soa.persist.HibernateDAO.commit(Hiberna teDAO.java:450)
at
com.novell.soa.persist.HibernateDAO.saveOrUpdate(H ibernateDAO.java:77)
at
com.novell.soa.persist.HibernateDAO.saveOrUpdate(H ibernateDAO.java:57)
at
com.novell.soa.af.impl.persist.ActivityStatusInfo. update(ActivityStatusInfo.java:272)
at
com.novell.soa.af.impl.activity.ActivityNode.persi stStatus(ActivityNode.java:548)
at
com.novell.soa.af.impl.activity.ActivityNode.proce ss(ActivityNode.java:212)
at
com.novell.soa.af.impl.activity.ProvisionActivity. process(ProvisionActivity.java:179)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:80)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.MappingActivity.pr ocess(MappingActivity.java:68)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.ProvisionActivity. process(ProvisionActivity.java:320)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:80)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.MappingActivity.pr ocess(MappingActivity.java:68)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.ProvisionActivity. process(ProvisionActivity.java:320)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:80)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at
com.novell.soa.af.impl.activity.LogActivity.proces s(LogActivity.java:139)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown
Source)
at java.lang.Thread.run(Unknown Source)
2012-09-24 15:36:15,414 INFO [STDOUT] (pool-13-thread-3) 528478762
[pool-13-thread-3] INFO com.novell.soa.af.impl.LogEvent -
[Workflow_Forwarded] Initiated by System,
Process ID: 3d968be8a8c343b2a5b69894d42088e6, Process Name:
cn=ACME-Access-Request-Form,cn=RequestDefs,cn=AppConfig,cn=UserApplicatio n,cn=DirXML-DriverSet,o=CUST:2311,
Ac
tivity: Activity180, Recipient: cn=admin,o=CUST
2012-09-24 15:36:15,414 INFO [STDOUT] (pool-13-thread-6) INFO [RBPM]
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Provision_Already_Exist]
Initiated by System, Proces
s ID: 3d968be8a8c343b2a5b69894d42088e6, Process Name:
cn=ACME-Access-Request-Form,cn=RequestDefs,cn=AppConfig,cn=UserApplicatio n,cn=DirXML-DriverSet,o=CUST:2311,
Activity
: Activity57, Recipient: CN=EVD1234,OU=Internal ACME,O=CUST
2012-09-24 15:36:15,432 INFO [STDOUT] (pool-13-thread-3) 528479168
[pool-13-thread-3] ERROR
org.hibernate.event.def.AbstractFlushingEventListe ner - Could not
synchroni
ze database state with session


--
rrawson
------------------------------------------------------------------------
rrawson's Profile: https://forums.netiq.com/member.php?userid=403
View this thread: https://forums.netiq.com/showthread.php?t=3807