Re: [rules-users] Persistence in fireUntilHalt() loop

2012-09-19 Thread crvdmerwe
e and trouble! -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Persistence-in-fireUntilHalt-loop-tp3809352p4019838.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-19 Thread Alberto R. Galdo
Sure! Drools does JPA persistence using this set of managers: https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/JpaPersistenceContextManager.java https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-19 Thread Marco Rietveld
Sorry, to be clear: a github link to the code you quoted is what I was after. 03/19/2012 10:33 PM, Marco Rietveld: Alberto, Sorry to hear that the bug isn't fixed. Could you clarify what you mean by these points?    - Dro

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-19 Thread Marco Rietveld
Alberto, Sorry to hear that the bug isn't fixed. Could you clarify what you mean by these points?    - Drools and JBPM have different persistence managers.    - Drools uses JTA for persistence and JBPM does not. I was pretty sure you could specify a

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-19 Thread Alberto R. Galdo
I'm afraid this bug is not resolved and doesn't have nothing to do with lazy evaluation. We've been able to get to the source of the problem and this are the facts: - Drools and JBPM have different persistence managers. - Drools uses JTA for persistence and JBPM does not. - When any JPA

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-14 Thread Alberto R. Galdo
Great news! We were in the process of debugging JBPM trying to find the source of the bug ... and maybe days away from the solution ... Is there any bug report in Jira and/or a patch we can apply without having to wait for the next release so we can quick-patch our systems? Alberto R. Galdo arg

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-14 Thread Marco Rietveld
Hi Alberto, This is a bug that has been fixed in jBPM. It had to do with lazy initialization of a JPAProcessInstanceManager field. We'll be releasing a new jBPM version sometime soon (synchronous with Drools, I think). The bug is fixed in there.

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-12 Thread Mark Proctor
it should work, if it doesn't then it seems like a bug. We are gearing up for release 5.4 now, so might be a while before we can address this. Unless there is a pull request with a suggested fix :) Mark On 08/03/2012 10:32, Alberto R. Galdo wrote: Hi, We're running an application that uses

Re: [rules-users] Persistence in fireUntilHalt() loop

2012-03-09 Thread Alberto R. Galdo
Any info on the subject? Does anyone suffers the same problem? Anyone doing persistence on a fireUnitHalt loop? Alberto R. Galdo arga...@gmail.com On Thu, Mar 8, 2012 at 11:32, Alberto R. Galdo wrote: > Hi, > > We're running an application that uses Drools + JBPM 5 + Drools > integration o

[rules-users] Persistence in fireUntilHalt() loop

2012-03-08 Thread Alberto R. Galdo
Hi, We're running an application that uses Drools + JBPM 5 + Drools integration our set-up can be seen as: Some rule fires and creates a JBPM process ( a fact gets inserted into drools using "kcontext.getKnowledgeRuntime().startProcess("testProcess")" ). We have a problem with the persistence