[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-12-01 Thread funkymac
Thanks kukeltje, bad wording on my part... should have said automatic 
activities, sorry about that.  In our case we have a number of java activities 
that transition from one to another.  Looking to restart the java activity 
(basically transition again) if we shutdown while a given java activity is 
processing.  Guessing I need to manually transition these, just unclear how to 
go about.  Any guidance much appreciated!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268260#4268260

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268260
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-12-01 Thread saraswati.santanu
If I understand correctly, the transaction will rollback when you do a 
shutdown. If the transaction rolls back JBPM anyway will forget whatever 
happened during this period. So you have to do the same signalling again which 
has resulted in that automated java activity to trigger. You have to do this 
explicitly, it will not happen automatically.

You seem to need some transaction recovery system...is it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268268#4268268

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268268
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-12-01 Thread kukeltje
If jBPM runs in the same transaction as the calling method (the one that 
signals in the first case) that will be rolled back as well. So 'transaction 
management' is fully supported. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268310#4268310

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-12-01 Thread funkymac
Thanks saraswati.santanu and kukeltje.  Verified the rollback on shutdown / 
restart and now starting process instances again on restart of application for 
those items deemed in-progress when application was shutdown (re-running entire 
workflow again from start).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268396#4268396

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268396
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-12-01 Thread kukeltje
Cool, great it works.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268402#4268402

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-11-30 Thread kukeltje
tasks are never started automatically but always manual. If a task was in 
progress when the server was shut down, the transaction should be rolled back 
and the task should be available in the tasklist again.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268229#4268229

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268229
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user