Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-23 Thread Pardeep . Ruhil
Hi , Krish and Vijay. Thank you for you help. Now I am able to restore the StateFulKnowledgeSesssion by the suggestion you have given. Thank you very much. Thanks Regards Pardeep Ruhil

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-22 Thread Kris Verlaenen
...@lntinfotech.com pardeep.ru...@lntinfotech.com, rules-users@lists.jboss.org rules-users@lists.jboss.org cc kris.verlae...@cs.kuleuven.be kris.verlae...@cs.kuleuven.be Subject RE: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database I

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-18 Thread Vijay K Pandey
@lists.jboss.org Cc: kris.verlae...@cs.kuleuven.be; Vijay K Pandey Subject: Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database Hi Kris, Thanks for you valuable input and Vijay of course clearing some of my doubts by asking question on this. Much

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-18 Thread Pardeep . Ruhil
...@lntinfotech.com pardeep.ru...@lntinfotech.com, rules-users@lists.jboss.org rules-users@lists.jboss.org cc kris.verlae...@cs.kuleuven.be kris.verlae...@cs.kuleuven.be Subject RE: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database You have to load

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-18 Thread Vijay K Pandey
...@lntinfotech.com [mailto:pardeep.ru...@lntinfotech.com] Sent: Wednesday, November 18, 2009 10:15 PM To: Vijay K Pandey; rules-users@lists.jboss.org Cc: kris.verlae...@cs.kuleuven.be Subject: RE: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database Hi Vijay

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-18 Thread Pardeep . Ruhil
@lists.jboss.org rules-users@lists.jboss.org cc kris.verlae...@cs.kuleuven.be kris.verlae...@cs.kuleuven.be Subject RE: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database I don’t understand what you meant by storing the HttpServletRequest object

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-17 Thread Kris Verlaenen
] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database Pardeep, The behavior you are describing is indeed correct. The session in this case is a global session, meaning that it will be used for all process instances. Note however that, unless you are using timers

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-17 Thread Vijay K Pandey
...@lntinfotech.com Subject: Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database Preferably you should cache the session itself as well (so you don't have to recreate it all the time) and reuse that across you application. Or you could have multiple

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-17 Thread Kris Verlaenen
Quoting Vijay K Pandey vpan...@mdes.ms.gov: Is session (StatefulKnowledgeSession) thread safe? Yes Kris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-17 Thread Pardeep . Ruhil
...@lntinfotech.com Subject: Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database Pardeep, The behavior you are describing is indeed correct. The session in this case is a global session, meaning that it will be used for all process instances. Note

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-16 Thread Kris Verlaenen
Pardeep, The behavior you are describing is indeed correct. The session in this case is a global session, meaning that it will be used for all process instances. Note however that, unless you are using timers, all other state (process instance state, work items, etc.) is persisted separately

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-16 Thread Vijay K Pandey
-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Kris Verlaenen Sent: Monday, November 16, 2009 5:12 PM To: Rules Users List; pardeep.ru...@lntinfotech.com Subject: Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-12 Thread Mauricio Salatino
Hi, The persistence will work if you have save points (wait states) in your process where all the process status is persisted. If you have only automatic activities and your server crash, none of the state will be persisted. Greetings. 2009/11/12 pardeep.ru...@lntinfotech.com Hi, I have a

Re: [rules-users] Drools Flow :Persistence Problem : Restore StatefulKnowledgeSession from database

2009-11-12 Thread Pardeep . Ruhil
Hi Mauricio, Thanks for you reply. I have one more doubt in this. Will the drool-persistence will work for two or more workflow running simultaneously ? Also these workflow will use the same schema for all the workflows. Looking from the table that are generated in the database, it seems that