Hi All,
I'm seeing some unexpected behaviour in my application;
ENV
--
JBoss 4.2.3
JBPM 3.2.3
Java6
Windows7
The issue is manifesting itself in a StaleObjectException, when doing an RMI lookup of a remote session bean from within a JBPM Action Handler, the transaction created in call to the session bean does not join the existing transaction. I understand fully the cause of the exception, however I'm currently unaware of how to fix it.
I have configured JBPM to use JTATransactionFactory
<!-- JTA transaction properties (begin) -->
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
<property name="jta.UserTransaction">UserTransaction</property>
<!-- JTA transaction properties (end) -->
Any insight would be most welcome
Regards Alan.
Hi,
Has no one anything to suggest? Is there more nformation I can provide? Is this a common issue?
Seems to me to be a setup issue.
Appreciate any help or pointers.
Alan.