Hi,
When using persistence what is the best approach to creating sessions?
I can resume a session if the service was shutdown based on the session ID, but
how often should I be creating new sessions?
Can I have multiple sessions writing to the same database?
Any guidance appreciated.
Greg
__
Hi,
Every process in my webapplication creates a session and this session is
persisted to the database. I don’t know what is the best practice. But all
seems to works. One problem is only with loading the session from the database…
So I will wait for the community answer.
Thanks Mila
Hi Kris,
Thanks very much for your clarification...
Now I thinking I know how I will use Drools Flow... :-D
and thanks for the Savara tips...
And again thanks for this amazing tool...
Cristiano
Kris Verlaenen escreveu:
> Cristiano,
>
> Drools Flow allows you to run executable BPMN2 proces
When you say "every process in my webapplication" do you mean everytim you need
to start a new ProcessInstance of a workflow?
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Vlach Miloslav
Sent: 07 September 2010 12:23
To: Rules Users List
Subj
Yes, every process – I don’t know if this is best practice.
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Chrystall, Greg
Sent: Tuesday, September 07, 2010 2:02 PM
To: Rules Users List
Subject: Re: [rules-users] Drools FLow Persistence and
Hi,
If I have many processes (one starts every minute or so) and I pass
parameters as a map in startProcess and then I am inserting facts into the
working memory. These are local variables (both parameters and facts) in my
code which will eventually come out of scope when leaving their block and
w
Hi,
I'm attempting to track down an out of memory error.
I have ~400 rules that operate on ~1 facts. One set of facts throws an
out of memory error while other sets process w/o an error. It is easy to
reproduce.
When the system runs out of memory there are about 22,000,000 ReteTuple
objects
Jared,
Which version of Drools are you using? Drools 5.1 massively
reduces memory consumption for long-running stateful sessions, when
there are lots of update/modify calls, when compared to Drools 5.0.
Also, in 5.1 there is an internal report you can run. I did not
exposed this in dr
You yourself can decide how many sessions you want. Sessions are rather
lightweight (so yes, you could simply create a new session for each
process instance) and simply act as an independent processing unit.
So then the question is, how many sessions do you normally need? Well,
simple applicatio
Hi,
I'm testing the ProcessEventListener on a simple process and I get the
"after" events in reverse order.
For example,
Process completed : 1283915643204
Node left: 5: 1283915643268
Node triggered: 5: 1283915643268
Node left: 4: 1283915643268
Node triggered: 4: 1283915643269
Node left: 3: 128
On 7 September 2010 01:14, Tina Vießmann wrote:
> Hi,
>
> I'm using JMS (especially Apache ActiveMQ) in my application. Right
> now, I'm manually establishing the JMS connection, extracting my Java
> objects from the JMS messages and inserting the objects into the
> knowledge base. It's simple w
11 matches
Mail list logo