Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370972

Summary: BPEL pipeline fails with "Commit failed, Transaction timout" after very long running pipelet invocation
Product: z_Archived Reporter: Juergen Schumacher <juergen.schumacher>
Component: SmilaAssignee: Andreas Schank <andreas.schank>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch for org.apache.ode bundle none

Description Juergen Schumacher CLA 2012-02-08 11:21:46 EST
Reported by Stephan Mehlhase:
--------------------------
I get the following exception after my pipelet has finished. There are no other error messages. The pipelet in question however did block the pipeline for roughly 2 hours, but the timeout is set to "pipeline.timeout=86400", so that should be long enough. I also like to add that this occurs right after my pipelet has finished. 
So my pipelet is not cancelled or interrupted in any way, but finishes and then this error occurs.

  2012-02-07 16:26:26,343 ERROR [ODEServerImpl-1 
       ]  engine.Contexts                               - Commit failed.
javax.transaction.RollbackException: Transaction timout	
  at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
	at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:114)
	at org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServerImpl.java:968)
	at org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl.java:948)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
  2012-02-07 16:26:26,344 FATAL [ODEServerImpl-1 
       ]  engine.BpelServerImpl                         - Internal Error
org.apache.ode.bpel.iapi.BpelEngineException: Commit failed.
	at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:117)
	at org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServerImpl.java:968)
	at org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl.java:948)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
Caused by: javax.transaction.RollbackException: Transaction timout
	at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
	at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:114)
	... 7 more
Comment 1 Andreas Schank CLA 2012-02-08 11:24:55 EST
Can be reproduced on Windows, too.
Comment 2 Andreas Schank CLA 2012-02-09 04:26:46 EST
Created attachment 210784 [details]
Patch for org.apache.ode bundle

This is the patch for the 0.9 version.

(If applied to the 1.0 version you will have to adapt the version number for the exported package!)

Will be fixed in the trunk, target: SMILA 1.1
Comment 3 Andreas Schank CLA 2012-02-09 06:22:58 EST
Fixed in trunk.
Comment 4 Andreas Weber CLA 2013-04-15 11:50:23 EDT
Closing this