[jboss-user] [jBPM] - Re: Does jBPM support clustering for load balancing?

Marian Buzdugan do-not-reply at jboss.com
Mon Nov 14 12:45:38 EST 2011


Marian Buzdugan [http://community.jboss.org/people/mbuzdugan] created the discussion

"Re: Does jBPM support clustering for load balancing?"

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

--------------------------------------------------------------
Maciej

Wanted to add another thing that you might want to address and also let other know. Perhaps it will also help you with the Quartz work that you are experimenting.

If you are scheduling the task with Quartz for example using a global scheduler, that means is persisted, the scheduling would be done in a different transaction. 
This is because in *TaskServiceSession::addTask()* the persistence of task data is done in one transaction - *doOperationInTransaction()*, and the scheduling is done afterwards. So, if the scheduling fails from some reason the task won't be scheduled anymore as it isn't possible to rollback the persistence of task data.

There are a couple of alternatives in short term and conceivably in long term (which is what I consider).
In long term perhaps this can be addressed inside of the TaskServiceSession (for example by allowing custom persistence activites be included as needed - with diligence of course).

Regards
Marian B
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111114/6abaea5f/attachment.html 


More information about the jboss-user mailing list