You can download it here:
http://dl.dropbox.com/u/2634115/drools-test.zip

You can just import that project into an eclipse workspace and run the unit 
test, the database should start when you do.

I am away until Tuesday next week, if you have any questions I will answer them 
then.

Thanks,

Greg

From: [email protected] 
[mailto:[email protected]] On Behalf Of Puigdomenech, David
Sent: 27 August 2010 16:20
To: Rules Dev List
Subject: Re: [rules-dev] A drools flow persistence example that behaves 
strangely

Please, could you be so kind to put the whole test project on an http server.

I was trying to persist the flow in a PostgreSQL database but I was receiving 
some Bitronix errors.

Have ever of you persist a flow in a database different from h2?

Thank at all.

David Puigdomenech

De: [email protected] 
[mailto:[email protected]] En nombre de Chrystall, Greg
Enviado el: viernes, 27 de agosto de 2010 16:45
Para: Rules Dev List
Asunto: [rules-dev] A drools flow persistence example that behaves strangely

I have written a test based as much as possible on the Drools Flow 5.1 
Persistence Documentation. You can see the code here:

http://pastebin.com/33QXK4iU

And I have attached my eclipse project but without the jars as its too big, if 
anyone wants a zip of the whole project ready to run, I can put it on an http 
server for you.

My question is why when I change the code from running without persistence to 
running with persistence does it become "single threaded"? You can see by 
toggling the persistence variable in the top of the test file that when 
persistence is enabled each flow will complete before the next one begins yet 
without persistence they run in parallel.

Any advice on what I am doing wrong or whether persistence simply does not 
support what I want to do is much appreciated.


Greg



________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

La informacion contenida en el presente e-mail es confidencial y esta reservada 
para el uso exclusivo de su destinatario. Se prohibe estrictamente la 
distribucion, copia o utilizacion de esta informacion sin el previo permiso de 
su destinatario. Si usted no fuera el destinatario, por favor notifiquelo 
inmediatamente al remitente y elimine el presente mensaje de su sistema 
informatico.

Information contained in this e-mail is confidential and is intended for the 
use of the addressee only. Any dissemination, distribution, copying or use of 
this communication without prior permission of the addressee is strictly 
prohibited. If you are not the intended addressee, please notify the sender 
immediately by reply and then delete this message from your computer system.

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to