[jboss-user] [JBoss jBPM] - Multithreaded JobExecutor with ForEachForkActionHandler prob

kadlecp do-not-reply at jboss.com
Sun Jun 8 11:26:47 EDT 2008


Hello,

I would like to have multihreaded JobExecutor. I allowed more threads by increasing nbrOfThreads attribute in jbpm.cfg.xml. I use http://wiki.jboss.org/wiki/ForEachForkActionHandler

I have simple process 

Start State>MyNodeActionHandler->ForEachForkActionHandler Node->ESB Service->Join->End State

(ESB service is jms message consumer and jms message producer)

When I have singlethreaded JobExecutor, everything works. If I have multitheaded JobExecutor I sometimes get

  | 17:05:06,365 ERROR [GraphElement] action threw exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):
  | [org.jbpm.graph.exe.Token#120]
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.e
  | xe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.forceVersionIncrement(AbstractEntityPersister.java:1239)
  |         at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:82)
  |         at org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64)
  |         at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584)
  |         at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576)
  |         at org.jbpm.graph.node.Join.execute(Join.java:116)
  |         at org.jbpm.graph.def.Node.enter(Node.java:319)
  |         at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.graph.def.Node_$$_javassist_49.enter(Node_$$_javassist_49.java)
  |         at org.jbpm.graph.def.Transition.take(Transition.java:151)
  |         at org.jbpm.graph.def.Node.leave(Node.java:394)
  |         at sun.reflect.GeneratedMethodAccessor302.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.graph.def.Node_$$_javassist_49.leave(Node_$$_javassist_49.java)
  |         at org.jbpm.graph.exe.Token.signal(Token.java:195)
  |         at org.jbpm.graph.exe.Token.signal(Token.java:140)
  |         at sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.graph.exe.Token_$$_javassist_64.signal(Token_$$_javassist_64.java)
  |         at org.jbpm.command.SignalCommand.execute(SignalCommand.java:91)
  |         at org.jboss.soa.esb.services.jbpm.cmd.AsyncProcessSignal$AsyncSignalAction.execute(AsyncProcessSignal.java:287)
  |         at org.jbpm.graph.def.Action.execute(Action.java:122)
  |         at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.graph.def.Action_$$_javassist_63.execute(Action_$$_javassist_63.java)
  |         at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
  |         at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.graph.def.Node_$$_javassist_49.executeAction(Node_$$_javassist_49.java)
  |         at org.jbpm.job.ExecuteActionJob.execute(ExecuteActionJob.java:32)
  |         at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  |         at org.jbpm.job.Job_$$_javassist_54.execute(Job_$$_javassist_54.java)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:164)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | 17:05:06,567 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.e
  | xe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  |         at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  |         at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  |         at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  |         at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  |         at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37)
  |         at org.jbpm.svc.Services.close(Services.java:225)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | 17:05:06,682 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arj
  | una.ats.internal.jta.resources.arjunacore.SynchronizationImple at 12030bc
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.e
  | xe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  |         at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  |         at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  |         at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  |         at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  |         at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37)
  |         at org.jbpm.svc.Services.close(Services.java:225)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | 17:05:06,797 ERROR [Services] problem closing service 'persistence'
  | org.jbpm.JbpmException: couldn't commit JTA transaction
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:78)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37)
  |         at org.jbpm.svc.Services.close(Services.java:225)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.tr
  | ansaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1401)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  |         at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  |         at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76)
  |         ... 5 more
  | Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.j
  | bpm.graph.exe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  |         at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  |         at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  |         at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  |         ... 9 more
  | 17:05:06,925 ERROR [JobExecutorThread] problem committing job execution transaction
  | org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.JbpmException: couldn't commit JTA transaction}
  |         at org.jbpm.svc.Services.close(Services.java:245)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | Caused by: org.jbpm.JbpmException: couldn't commit JTA transaction
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:78)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37)
  |         at org.jbpm.svc.Services.close(Services.java:225)
  |         ... 3 more
  | Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.tr
  | ansaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1401)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  |         at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  |         at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76)
  |         ... 5 more
  | Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.j
  | bpm.graph.exe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  |         at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  |         at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  |         at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  |         ... 9 more
  | 17:05:07,057 ERROR [JobExecutorThread] exception in job executor thread. waiting 5000 milliseconds
  | org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.JbpmException: couldn't commit JTA transaction}
  |         at org.jbpm.svc.Services.close(Services.java:245)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  |         at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184)
  |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64)
  | Caused by: org.jbpm.JbpmException: couldn't commit JTA transaction
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:78)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37)
  |         at org.jbpm.svc.Services.close(Services.java:225)
  |         ... 3 more
  | Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.tr
  | ansaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1401)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  |         at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  |         at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  |         at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76)
  |         ... 5 more
  | Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.j
  | bpm.graph.exe.Token#120]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  |         at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  |         at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  |         at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  |         at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  |         at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  |         ... 9 more
  | 
  | 

This is my  jbpm-ds.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <datasources>
  | 
  |    <local-tx-datasource>
  |          <jndi-name>JbpmDS</jndi-name>
  |          <connection-url>jdbc:h2:${jboss.server.data.dir}${/}h2${/}jbpmDB;MVCC=TRUE</connection-url>
  |          <driver-class>org.h2.Driver</driver-class>
  |          <user-name>sa</user-name>
  |          <password/>
  |          <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
  |          <min-pool-size>5</min-pool-size>
  |          <max-pool-size>20</max-pool-size>
  |          <idle-timeout-minutes>0</idle-timeout-minutes>
  |          <prepared-statement-cache-size>32</prepared-statement-cache-size>
  |          <depends>jboss:service=h2,database=jbpmDB</depends>
  |    </local-tx-datasource>
  |    <mbean code="org.jboss.internal.soa.esb.dependencies.H2Database"
  |         name="jboss:service=h2,database=jbpmDB">
  |         <attribute name="Database">jbpmDB</attribute>
  |    </mbean>
  | </datasources>
  | 

Can I do something with that? I tried it with Oracle as well with the same result. I use jBPM 3.2.2.

Thank you for help.
Regards
Pavel

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

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



More information about the jboss-user mailing list