By default Wicket uses "javax.servlet.context.tempdir"/... as a
location where these files are stored.
This by default is the work/ folder of the web container and is
managed by the web container itself.
You'll have to read the documentation of your web container (paxweb
tells me that this is OSGi but I don't know more about it).

You can change this locally programatically with
getServletContext().setAttribute("javax.servlet.context.tempdir","/my/own/location");
and manage it yourself.

On Mon, Jun 13, 2011 at 12:00 PM,  <johan.evel...@tieto.com> wrote:
> Hi Pedro,
>
> I use Wicket 1.4.5. The container is Paxweb with Jetty, and in my home 
> directory I get a lot of directorys like this:
> .paxweb..../wicket.filter-filestore/
>
> These directorys are never removed and that is filling up the temporary 
> directory.
>
> I have not configured the DiskPageStore at all, but I don't know if it will 
> help if I change the maximum size of the pagemap, since old pagemaps is the 
> problem.
>
> I read this discussion which is sort of the same problem:
> http://markmail.org/message/s26yx2asi3misxni#query:+page:1+mid:ohrigrswechv33t6+state:results
>
>
> Best regards,
> Johan Evelönn
>
>
> -----Original Message-----
> From: Pedro Santos [mailto:pedros...@gmail.com]
> Sent: den 10 juni 2011 17:55
> To: users@wicket.apache.org
> Subject: Re: Page serialization filling up disc space
>
> Hi Johan, DiskDataStore writes cyclic in data file storing pages, it
> will never exceed the defined limit. It also delete the file when
> session expires.
> In which Wicket version did you find this issue? Can you fill a ticket
> with a quickstart?
>
> On Fri, Jun 10, 2011 at 6:26 AM,  <johan.evel...@tieto.com> wrote:
>> Hi,
>>
>> My wicket application is filling up my temporary directory, which causes the 
>> application to finally crash due to no space available.
>> I have been looking for a setting in Wicket to clean old serializations, but 
>> haven't found it.
>>
>> Does wicket contain a cleanup system of old page serializations? If so, how 
>> do I configure it?
>>
>> Best Regards,
>> Johan Evelönn
>>
>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to