Johan Dykström [http://community.jboss.org/people/jody4711] replied to the 
discussion

"Is the simple fork/join with async execution paths broken in jBPM 4.0"

To view the discussion, visit: http://community.jboss.org/message/539992#539992

--------------------------------------------------------------
Hi,
Thanks for your answer! I have now found the time to try out your example 
project. Both scenarios worked.

However, I used the Job Executor to execute jobs, while you execute them 
programmatically. In my previous test I also had test activities that executed 
for some time, not just printing a line to stdout. I apologize for not 
attaching the full source code of my example from the start!

When I modified your test project to use the Job Executor, and having 
activities that execute for a while, X0504Exclusive2Test failed in the same way 
as my own test project. The Join activity is started three times, but the End 
activity is never started. I attach my modified project with this post.

One difference you can notice is that when you use the Job Executor, the 
activities are executed by different threads. When you execute jobs 
programmatically, the activities are actually executed in sequence by the main 
thread, even though you have specified in the process that they should be 
executed in parallel. I attach log files from the two different runs as well.

Regards, Johan

--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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