I assume that your java method from flowscript generates a temporary xml file 
and writes that one to disk? 

You could make of course a cron job scanning the temporary file and delete 
files with an old timestamp. Or instead writing the file to disk, you generate 
the xml in the cocoon DefaultTransientStore with an expires Validity, and use 
in the next generator this cached xml file. 

Regards Ard



> 
> Hello
> 
> From a flowscript I call a java method that has to generate a 
> temporary
> xml file. 
> After that I call cocoon.sendPage() and the invoked generator uses the
> temporary xml file.
> 
> I'm afraid that I will get a lot of temporary files if I don't
> automatically delete them in some way.
> 
> Is there a special folder for temporary files that gets 
> cleaned up once
> in a while?
> Or is there some way to tell cocoon to dispose the file at the end of
> the request (as cocoon does with uploaded files)?
> Is there something else?
> 
> Thanks in advance
> 
> Philippe
> 

-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
-------------------------------------------------------------- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to