<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Could not synchronize databse problem
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Xibalban">M -</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/570490#570490">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Did you find a solution for this?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm getting this as well while load testing with AS 5.1.0, ESB 4.9, jBPM 3.2.8, using HSQL or MS SQL Server 2005.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2010-11-10 12:02:25,799 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] (JbpmJobExector:192.168.1.121:1) [Could not synchronize database state with session]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.job.ExecuteActionJob#6557]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.jta.JtaDbPersistenceService.commit(JtaDbPersistenceService.java:98)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:135)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.svc.Services.close(Services.java:247)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.JbpmContext.close(JbpmContext.java:131)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2010-11-10 12:02:25,800 WARN&#160; [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (JbpmJobExector:192.168.1.121:1) [[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@42fa7aa3]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.job.ExecuteActionJob#6557]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.jta.JtaDbPersistenceService.commit(JtaDbPersistenceService.java:98)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:135)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.svc.Services.close(Services.java:247)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.JbpmContext.close(JbpmContext.java:131)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2010-11-10 12:02:25,805 ERROR [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExector:192.168.1.121:1) [exception in JbpmJobExector:192.168.1.121:1, waiting 5000 ms]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:160)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:170)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.jta.JtaDbPersistenceService.rollback(JtaDbPersistenceService.java:119)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:137)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.svc.Services.close(Services.java:247)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.JbpmContext.close(JbpmContext.java:131)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</div><p>2010-11-10 12:02:25,799 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] (JbpmJobExector:192.168.1.121:1) [Could not synchronize database state with session]</p><p>org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.job.ExecuteActionJob#6557]</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.jta.JtaDbPersistenceService.commit(JtaDbPersistenceService.java:98)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:135)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.svc.Services.close(Services.java:247)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.JbpmContext.close(JbpmContext.java:131)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</p><p>2010-11-10 12:02:25,800 WARN&#160; [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (JbpmJobExector:192.168.1.121:1) [[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@42fa7aa3]</p><p>org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.job.ExecuteActionJob#6557]</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.jta.JtaDbPersistenceService.commit(JtaDbPersistenceService.java:98)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:135)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.svc.Services.close(Services.java:247)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.JbpmContext.close(JbpmContext.java:131)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</p><p>2010-11-10 12:02:25,805 ERROR [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExector:192.168.1.121:1) [exception in JbpmJobExector:192.168.1.121:1, waiting 5000 ms]</p><p>java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:160)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:170)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.jta.JtaDbPersistenceService.rollback(JtaDbPersistenceService.java:119)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:137)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:201)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.svc.Services.close(Services.java:247)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.JbpmContext.close(JbpmContext.java:131)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:202)</p><p><span style="white-space: pre;">&#160;&#160;&#160;&#160;&#160;</span>at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:63)</p></p></blockquote></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/570490#570490">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>