Alan Nisbet [https://community.jboss.org/people/nizzy] created the discussion

"Remote lookup within JBPM Action Handler does not join existing transaction"

To view the discussion, visit: https://community.jboss.org/message/724374#724374

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/724374#724374]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to