[jboss-user] [JBoss jBPM] - Re: Ending task in timer timeout action cause exception

randy.jones@jeppesen.com do-not-reply at jboss.com
Mon Aug 14 15:08:59 EDT 2006


"randy.jones at jeppesen.com" wrote :    <task-node name="Waiting for Approval">
  |   |   |   |       <task name="WaitingTask">
  |   |   |   |          <assignment class="com.jeppesen.sabertooth.workflow.ContentReviewerAssignment"></assignment>
  |   |   |   |          <controller>
  |   |   |   |             <variable name="content" access="read"></variable>
  |   |   |   |             <variable name="comment"></variable>
  |   |   |   |          </controller>
  |   |   |   |        <timer duedate="2 seconds" >
  |   |   |   |        <action class="com.jeppesen.sabertooth.workflow.EscalateToContentManager">
  |   |   |   |        </action>
  |   |   |   |       </timer>
  |   |   |   |          
  |   |   |   |       </task>
  |   |   |   |       <transition name="Reject" to="Rework"></transition>
  |   |   |   |       <transition name="Approve" to="CommitContent"></transition>
  |   |   |   |       <transition name="Timeout" to="AssignContentTask"></transition>    </task-node>
  |   |   |   | 
  |   |   |   | 
  |   |   |   | 
  |   |   |   | 
  |   |   |   | Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#1]10:28:20,258 [main] ERROR AbstractFlushingEventListener : Could not synchronize database state with session
  |   |   |   | org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#1]
  |   |   |   | 	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1635)
  | 
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965086#3965086

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965086



More information about the jboss-user mailing list