@Tom, Sean has a valid point. I woulnd't be able to use his solution - if it is a solution, but that doesn't change the fact the he's trying to solve a real problem.
I've linked to my concurrency post 3-4 times in this thread (I wouldn't do it again :-), but my impression is: - lock on ProcessInstance: everythings is fine, but no concurrency - lock on TokenInstance (or not at all) and a Join MIGHT work, but there is no guarantee for that as Sean traced (Due to concurrent changes in the Tokens.) This would mean that jBPM cannot execute Tokens concurrently. (Even with messaging, etc.) @Alex, a J2EE spec conform solution would be very much appreciated. Sean approach wouldn't work in an app server. Greetings Rainer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911896#3911896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911896 ------------------------------------------------------- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user