Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370972 - BPEL pipeline fails with "Commit failed, Transaction timout" after very long running pipelet invocation
Summary: BPEL pipeline fails with "Commit failed, Transaction timout" after very long ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Smila (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andreas Schank CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 11:21 EST by Juergen Schumacher CLA
Modified: 2022-07-07 11:31 EDT (History)
0 users

See Also:


Attachments
Patch for org.apache.ode bundle (4.68 KB, patch)
2012-02-09 04:26 EST, Andreas Schank CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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