Hey david, also thank you for the fast answer.

How can I handle that with my situation? 

I heard from you about --> use-transaction="false"
and from another thread sth. like: --> require-new-transaction=true.

so I understand it like my situation uses one single transaction what in my
eyes is not that good concerning memory.

my situation is:

a screen includes a submit button to call a ftl with groovy logic. The
groovy file calls the opencsv classes in java and gives back an iterator for
the array (each line is one array, ittereated with the while loop). within
this loop (groovy) I call the service to store the data in database
(dispatcher.runSync("createPlSummary", [someData:someData])), service is
written in xml. so I think here i sould say sth like
require-new-transaction, but where do i put that? And is this the right way?

btw. the transaction stops after 180seconds (measured again :) )…



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641440.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to