Ok, we solved it! The problem dissappeared by doing 2 changes to our code:
1. Persisting the process definition before saving the process instance 2. Putting calls to beginTransaction() and commitTransaction() around the saving of the process instance (and around the saving of the process definition) We didn't do 1 before because we'll have just one process definition, no more than one version of it, and we didn't see the part of docs where it says that we must persist process definition before its instances. We didn't do 2 because we were planning to put some transaction interceptor around those methods (which weren't in place yet). So, is this the expected way of this stuff to work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915491#3915491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915491 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
