Empty BPEL process freezes

I have an Empty BPEL process which is invoked by an inbound adapter. When it is instantiated, I immediately call the checkpoint() function in embedded Java in order to get it to show up on the console. It shows up there.
The process makes a couple assignments and then runs some embedded Java that, depending on the input, should take between 1 minute to 1 hour to complete. I have put checkpoint() throughout the process in order to localize the problem. I put a terminate immediately after this long-running embedded Java. The process never reaches this terminate.
The process always makes it into the long-running embedded Java, but never makes it out, regardless of if it is a tiny input that should only take a minute, or a large input that should take an hour. I have checked behind the scenes and found that the embedded Java sometimes complete all its processing, even when the BPEL Console is stuck on the embedded java. Other times it seems to terminate my java prematurely before it can finish. This code has been running for a long time without any problems outside of BPEL, so I know it is not hanging inside of it. It's just that execution never seems to be able to get back into BPEL and restart the progress in the console following the embedded Java, or it takes a while and then it terminates the embedded Java.
I've seen other people ask "what is an Empty BPEL process" but they never received satisfactory answers. Which transaction-timeout constraints affect Empty processes? Does the syncMaxWaitTime affect Empty bpel processes? Or is it treated like an asynchronous process?
My syncMaxWaitTime is 9600 seconds, and my transaction timeout settings have been tweaked similarly.
FYI: I run the long-running embedded java on my local machine using the exact same inputs I am giving it when it is in the BPEL process, and it works flawlessly for large and small files alike.
My domain logs give me the following when I use an input that should take about 1 minute max to complete processing. I provided the input and it was picked up about 1 minute after the TestFileTagValidation process was deployed.
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 11:48:27,922> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 11:50:25,968> <ERROR> <tst.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
javax.transaction.RollbackException: Timed out
     at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
     at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
     at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
     at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
     at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
     at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
     at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
Caused by: javax.transaction.RollbackException: Timed out
     at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
     at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
     at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
     at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
     ... 29 more
<2008-05-30 11:50:25,969> <ERROR> <tst.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.PerformMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.PerformMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
<2008-05-30 11:54:30,748> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 11:54:31,840> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 11:54:31,912> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 11:57:27,515> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 11:57:28,275> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 11:57:28,324> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 12:03:05,635> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 12:03:06,326> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 12:03:06,403> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 12:05:25,004> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 12:05:25,644> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 12:05:25,688> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 12:06:19,986> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 12:06:20,711> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 12:06:20,770> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 12:11:55,813> <INFO> <tst.collaxa.cube.compiler> validating "/actapps/oracle/product/10g/OracleAS1/bpel/domains/tst/tmp/.bpel_TestFileTagValidation_1.0_bb8f7f7b22434687ce1d3de0fe31ce65.tmp/TestFileTagValidation.bpel" ...
<2008-05-30 12:11:56,637> <INFO> <tst.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "TestFileTagValidation" (revision "1.0") successfully compiled.
<2008-05-30 12:11:56,686> <INFO> <tst.collaxa.cube.engine.deployment> Process "TestFileTagValidation" (revision "1.0") successfully loaded.
<2008-05-30 12:45:08,652> <ERROR> <tst.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
javax.transaction.RollbackException: Timed out
     at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
     at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
     at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
     at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
     at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
     at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
     at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
Caused by: javax.transaction.RollbackException: Timed out
     at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
     at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
     at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
     at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
     at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
     ... 29 more
<2008-05-30 12:45:08,655> <ERROR> <tst.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.PerformMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.PerformMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
     at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
     at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
     at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
     at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)

jdttaylor,
I'm afraid I'm having difficulty getting a test case to go through in anything less than about a minute.
About the suggestion to make the java exec an async web service. Can you point me to something that would describe how to do this? I assume you mean I can simply have a plain old java class that is exposed as a web service. Is this correct? Can I deploy this to SOA Suite or will it be standalone?
Thanks.

Similar Messages

  • Empty BPEL process getting lost for multiple file reads

    Hi
    I have a empty BPEL process polling for files. It works fine when 1 or 2 files are put into the read folder.
    But when than 2 files are put the process is lost, and nothing happens.
    Is there any proper and tested method of handling this problem.
    Is tuning required is yes then what?
    We use SOA 10.1.3.1
    It would be very helpful if you would please put in your ideas and experience.
    Buddhadev

    Check your log as soon as you find that the parent process has found its way into the console. More information on logging can be found here - http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/logging.htm
    Not quite sure why its so, but since 10.1.3, I've observed that the console simply doesn't show errored processes at times. So, checking the log can be a starting point in diagnosing the real issue.
    HTH
    Antony

  • Asynchronous BPEL Process called from an empty BPEL process getting lost.

    Hi
    I have an empty BPEL process calling an asynchronous BPEL process. The empty process is triggered by a read file activity. It finishes successfully and even calls the asynchronous process. There is no error thrown but the called asynchronous process does not show up in the dashboard.
    When this asynchronous process is manually run from the console I get the page stating 'Cannot find the specified instance'.
    I am using Jdev 10.1.3.2 and SOA Suit 10.1.3.1.
    Any suggestion as to why this is happening and what is the remedy?
    Buddhadev.

    Check your log as soon as you find that the parent process has found its way into the console. More information on logging can be found here - http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/logging.htm
    Not quite sure why its so, but since 10.1.3, I've observed that the console simply doesn't show errored processes at times. So, checking the log can be a starting point in diagnosing the real issue.
    HTH
    Antony

  • Empty BPEL Process in SOA 11g.

    HI,
    We created all bpel processes using Empty BPEL Process template Available in the jdeveloper. Then we add AQ adapter to read the data and calling some third party webservices.
    Is empty Bpel Processes option act as synchronous or asynchronous?
    as for my understanding its always act as a asynchronous.
    Please clear my doubt.

    Hi Pablo,
    Thanks For the reply.
    we are using DB adapter which will poll on table,that means this is the service which creates the bpel instance.
    the only prob we are facing is sometimes BPEL instances are never comeout from the RUNNING state and error its showing error as"The transaction was rolled back. The work performed for bpel instance "290086" was rolled back to the previous dehydration point, but the audit trail has been saved.You can recover the instance from the recovery console by resubmitting the callback message or activity for execution"
    Oracle suggested this problem occurs when you are using Synchronous processes. increase the timeout settings.
    DB adapter Polling is always Asynchronous?
    can you just share your thoughts on this..
    Regards,
    Sudha

  • OWSM EMPTY BPEL PROCESS VIRTUALIZATION PROBLEM!!!!!!!!!!

    Hi,
    I developed an EMPTY BPEL PROCESS which gets instantiated by a FILE ADAPTER . I am trying to virtualize the process by using OWSM GATEWAYS, but get error when i test it in the test page option unders tools link in OWSM MONITOR.
    I am also not sure about the efficacy of using gateways to virtualize an EMPTY BPEL PROCESS.
    CAN WE USE GATEWAYS TO VIRTUALIZE AN EMPTY BPEL PROCESS INITIATED BY A FILE ADAPTER???????
    Regards,
    Vishnu

    Hi,
    I developed an EMPTY BPEL PROCESS which gets instantiated by a FILE ADAPTER . I am trying to virtualize the process by using OWSM GATEWAYS, but get error when i test it in the test page option unders tools link in OWSM MONITOR.
    I am also not sure about the efficacy of using gateways to virtualize an EMPTY BPEL PROCESS.
    CAN WE USE GATEWAYS TO VIRTUALIZE AN EMPTY BPEL PROCESS INITIATED BY A FILE ADAPTER???????
    Regards,
    Vishnu

  • Use AQ Adapter Header Message ID Value in BPEL Process

    Hi guys,
    I'm trying to obtain the value of the message_id in a header variable created in a receive branch activity linked to an AQ Adapter, i've created the variable in the adapter tab of the receive activity and linked the message type variable with the InBound WSDL of the header. I want to use this message_id value obtained in the dequeue operation to set as correlation_id in a future enqueue. The question is, when i do a copy operation in an assign activity of the message_id in the first header variable (dequeue) to the second header variable (enqueue) the BPEL raises an error telling me that the variable was empty, can you help me with this? Am i doing the whole thing wrong? I'm using the 10g version on R3.
    Thanks a lot!

    Hi Anuj,
    I selected "Receive" while configuring B2B adapter. While creating the BPEL process to receive the message, i have created it as Empty BPEL process "Define WSDL later". Then i configured the B2B adapter. In the Empty BPEL process i place a receive activity and wire the B2B adapter. Operation available in Receive activity is "Receive". I'm i configuring wrongly?
    Thanks,
    Terry

  • Dynamic addressing in Empty BPEL

    hi
    I am trying to implement dynamic addressing in Empty BPEL(because my BPEL gets input from JMS queue so there is no requirement of Client)
    But without the client partner link(which BPEL generates in case of syn or async BPEL) i am not able to implement dynamic addressing.
    While transform activity it doesn't recognize the variable which is of ws-addressing.xsd type
    it gives the error "information about variable can not be reached"
    Please suggest something.
    Thanks in advance

    But, why would you need dynamic addressing in empty bpel process ?
    Cheers,
    AR

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

  • Database polling adapter within an asynchronous BPEL process

    Hi,
    I have a requirement to poll a database table withing an asynchronous process. The reason I want to use a receive within an asynchronous BPEL is because the process needs to be notified many times thru polling. So might need many receive activities.
    I have developed a process as described below :-
    1. Created an asynchronous process.
    2. Created a Database adapter for polling a table. Logical delete strategy is being used.
    3. Have put a receive activity from the DB Adapter created.
    4. Created a correlation set consisting of a single property(String)
    5. Created a property alias to refer to
    a. the input string of the asynchronous process. (unique for this process)
    b. the input from the database adapter (unique for this process)
    I initiate this process from the console. Then I inserted a record the table with proper inputs.
    But the BPEL waits indefinitely at the receive activity.
    When I try to poll the table from an empty BPEL process, it works perfectly fine.
    Could someone please help me here.
    Thanks in advance
    Saptarishi

    Hi,
    Could someone pls answer this query.
    Regards,
    Saptarishi

  • BPEL Process not initiated.

    Hi,
    I created a empty BPEL process. My process is as follows: I have a file adapter which reads a csv file. Then I invoke a database adapter which calls a procedure to insert data into the table. It is fairly a simple process.
    I have the file adapter set as follows: Selected the physical path and the direcotry of incoming data is specified to a directory path on the BPEL server (/home/temp/data) where the process is deployed. I have places a csv file in that directory.
    I deployed the process onto the server and it was deployed succesfully, but in the console, I do not see any process getting initiated....Can anyone please let me know if I'm doing anything wrong or missing anything.
    Thanks so much
    -Prapoorna

    I have this message in the domain.log. I removed the / after the temp but still the same error. Are there any setups we need to do on the server so it reads from this path?
    Thanks
    -Prapoorna
    <2008-11-11 18:14:45,011> <INFO> <newdomain1.collaxa.cube.activation> <File Adapter::Inbound> Recovery still not possible after 50 attempts due to ORABPEL-11001
    Invalid Input Directory.
    The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "/home/temp".
    Ensure that the following conditions are satisfied for the input directory :
    1) It exists and is a directory (not a file). and
    2) It is readable (file read permissions). and
    3) If activation parameter "DeleteFile" is set to "true" then the directory should also have granted write permissions. and
    4) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor.

  • How to return stream from bpel process

    Hi,
    As per my requirement I need to generate a file it could be pdf /text and then send this file as output of my bpel process.
    I am not getting any document which provide me any solution.
    Please help me out ASAP.
    Thnaks,
    Ana

    To try and make myself clearer on what I'm trying to say, create a simple use case
    1. create an empty BPEL process
    2. Create a read file adapter using the opaque schema
    3. Create a receive to that partner link
    4. create a write file adapter using the opaque schema
    5. create an invoke for that write partner link
    6. create an assign that copies the receive varible to the write variable.
    Now test this, you can place any file in the read location and the file should look exactly the same in the write location. Hopefully this explaind the opaque schema.
    If you want to convert to pdf then you need to create a custom app to do this this can be placed in the middle of the process. Create a java web service that accepts base64binary and reponds bas64binary. You java app will need to convert what this is into pdf format and respond in binary format.
    You just use simple assign activities to map opaque with base64Binary.
    hope this helps
    James

  • DBAdapter polling for new or changed records not issuing callback within an asynchronous BPEL process?

    Hi,
    I have a requirement to poll a database table withing an asynchronous process. The reason I want to use a receive within an asynchronous BPEL is because the process needs to be notified many times thru polling. So might need many receive activities.
    I have developed a process as described below :-
    1. Created an asynchronous process.
    2. Created a Database adapter for polling a table. Logical delete strategy is being used.
    3. Have put a receive activity from the DB Adapter created.
    4. Created a correlation set consisting of a single property(String)
    5. Created a property alias to refer to
    a. the input string of the asynchronous process. (unique for this process)
    b. the input from the database adapter (unique for this process)
    I initiate this process from the console. Then I inserted a record the table with proper inputs.
    But the BPEL waits indefinitely at the receive activity.
    When I try to poll the table from an empty BPEL process, it works perfectly fine.
    Regards
    Kabir

    Hi Kabir,
    Please refer the following sample for your usecase.
    Though Please be aware that one instance of BPEL process will correlate with only one message if you have one receive activity. Not all the messages tht DBAdapter polls.
    bpel-305-InboundCorrelationShows how to perform message correlation within BPEL
    Also Refer the following in Developer guide.
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_correlate.htm#CHDFHAAE
    If you want to keep polling and receiving the messages in the same BPEL process you might have to put the receive activity in a while loop construct. But as a design this is not a good design.
    Can you elaborate your requirement to understand better and suggest better solution.

  • .wsdl is not created for Empty BPEL Project in 10.1.3

    Hi,
    In BPEL Designer 10.1.3, Whenever I am creating the Synchronous or Asynchronous BPEL Process project, by default bpel.xml, .bpel, .wsdl file are created. But if I create the Empty BPEL process project, only bpel.xml and .bpel files are created, but .wsdl file are not created.
    But in the BPEL Designer 10.1.2, for Empty project all bpel.xml, .bpel, .wsdl files are created.
    Can you let me know, if it is known issue of 10.1.3

    The application has to access all the events in the library. Have you tried trashing prefs and repairing permissions?

  • How to Invoke a BPEL process when Insert/Update/Delete happens

    Hi
    As client requirement is we want to execute a BPEL process when there is a DML Operation (Insert/Update/Delete) on a particular table.
    How do we handle this situation. Is there any alternatives if it is not possible.
    Please point me if any documentaion is available.
    Regards
    Kiran

    Hi Kiran,
    What integration tool you are using.
    In Oracle BPEL PM, you can create an empty BPEL process with a "receive" activity and a database adapter partnerlink which polls for change in table records every specified time interval.
    After receiving the table change, you can fire the appropriate BPEL process through "invoke" activity.
    thanks
    Saurabh

  • BPEL Process returns "empty variable/expression result."

    Hi,
    I have an Asynchronous BPEL Process which uses a DB Adapter (which in turn uses a custom SQL Procedure) to insert a value in to a table and return a sequence value generated in the procedure back to the BPEL Process. The process inserts the value in to the table but the sequence is not returned back and i get the below error,
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/ns2:OutputParameters/ns2:X_NO" is empty at line 94, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns2:OutputParameters/ns2:X_NO" is not empty.
    </summary>
    </part>
    </selectionFailure>
    If i see the process flow the invoke activity shows the sequence value is returned from the procedure but when the invoke activity passes that value to the Assign activity its lost and the above error is displayed.
    The details i see in Invoke activity is below,
    <messages>
    <Invoke_1_DBProcWrite_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    <InputParameters
    xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/SUR_NEW_BPEL_PROC/">
    <P_NAME>Vivek</P_NAME>
    </InputParameters>
    </part>
    </Invoke_1_DBProcWrite_InputVariable>
    <Invoke_1_DBProcWrite_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    <db:OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/SUR_NEW_BPEL_PROC/">
    <X_NO>9</X_NO>
    </db:OutputParameters>
    </part>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    name="response-headers">[]</part>
    </Invoke_1_DBProcWrite_OutputVariable>
    </messages>
    I use Jdeveloper version 10.1.3.3.0.4157. I did not recieve this error in Jdeveloper 10.1.3.1.
    Please let me know how to resolve this issue.
    Regards, Suresh

    I have exactly the same problem!!!! I would appreciate someone from Product or other to explain why I can see the incoming variable being created but when XPath expression is attempted to extract a value so I can do an assignment I get a "empty variable/expression result".
    Using JDEV10.1.3.3 and SOA 10.1.3.3 advanced install. My process is receiving a R12 Business Event listed here:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <WF_EVENT_T xmlns="http://xmlns.oracle.com/xdb/APPS/BES_EVENT/BES_EVENT">
    <PRIORITY xmlns="">50</PRIORITY>
    <SEND_DATE xmlns="">2008-04-30T13:40:33.000-05:00</SEND_DATE>
    <RECEIVE_DATE xmlns="">2008-04-30T13:40:40.000-05:00</RECEIVE_DATE>
    <CORRELATION_ID xmlns="" />
    - <PARAMETER_LIST xmlns="">
    - <PARAMETER_LIST_ITEM>
    <NAME>BO_ID</NAME>
    <VALUE>123456</VALUE>
    </PARAMETER_LIST_ITEM>
    - <PARAMETER_LIST_ITEM>
    <NAME>#CURRENT_PHASE</NAME>
    <VALUE>201</VALUE>
    </PARAMETER_LIST_ITEM>
    </PARAMETER_LIST>
    <EVENT_NAME xmlns="">oracle.apps.ar.hz.PersonBO.create</EVENT_NAME>
    <EVENT_KEY xmlns="">777666</EVENT_KEY>
    <EVENT_DATA xmlns="" />
    - <FROM_AGENT xmlns="">
    <NAME>WF_BPEL_QAGENT</NAME>
    <SYSTEM>VIS12.US.ORACLE.COM</SYSTEM>
    </FROM_AGENT>
    <TO_AGENT xmlns="" />
    <ERROR_SUBSCRIPTION xmlns="">TBo0FQQPy6ngQKjAuQAXWA==</ERROR_SUBSCRIPTION>
    <ERROR_MESSAGE xmlns="" />
    <ERROR_STACK xmlns="" />
    </WF_EVENT_T>

Maybe you are looking for