[jboss-user] [JBoss jBPM] - Re: Caused by: javax.resource.ResourceException: Transaction

Randysv do-not-reply at jboss.com
Sat Jul 18 17:24:36 EDT 2009

I do not get any exceptions if I modify my 'ApproveACLTimeOutActionHandler' by adding a call to taskInstance.end()

  | public class ApproveACLTimeOutActionHandler implements ActionHandler {
  | 	@Override
  | 	public void execute(ExecutionContext executionContext) throws Exception {
  | 		System.out.println("In ApproveACLTimeOutActionHandler");
  | 		executionContext.getTaskInstance().end("TimedOut");
  | 	}
  | }

So, should I be ending the task in the timer action class?
If I remove the 'action' element altogether from inside the 'timer' element, then also I get the exception. Am I doing a mistake in writing my process definition?


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

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

More information about the jboss-user mailing list