I'm seeing some unexpected behaviour in my application;
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) -->
<!-- JTA transaction properties (end) -->
Any insight would be most welcome
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.