On 04.02.2006, at 06:48, Dominique wrote:

Hi all,

I have a Cocoon Action that takes a lot of time and
adds new entries to an XML document (Lenya's sitetree.xml).
I have put this action inside a different Thread so the user can
continue browsing without having to wait to long:

act(..) {

       Thread approveThread = new Thread(this);
       approveThread.start();
return null;
}

Autsch! Well, then you better don't have many user ;)

Every request generates a thread - that makes it really easy to bring down that machine

cheers
--
Torsten

Attachment: PGP.sig
Description: This is a digitally signed message part