You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marieke Vandamme <ma...@tvh.com> on 2017/09/05 14:00:41 UTC

FileNotFoundException when saving page to disk

Hi,

This morning we release a new version of our website, and start getting
strange exceptions in the logfile.
*2017-09-05 15:49:06 ERROR DiskDataStore:438 -
/run/jetty/aaa/bbb.dir/cccFilter-filestore/6809/6405/11rhtvkkhzsiqk1jcfde055w23b/data
(No such file or directory)*
*java.io.FileNotFoundException:
/run/jetty/aaa/bbb.dir/cccFilter-filestore/6809/6405/11rhtvkkhzsiqk1jcfde055w23b/data
(No such file or directory)*
*        at java.io.RandomAccessFile.open(Native Method)*
*        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)*
*        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:432)*
*        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:350)*
*        at
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:188)*
*        at
org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)*
*        at java.lang.Thread.run(Thread.java:745)*

- With the previous version, wicket-7.6.0 we didn't have this problem. The
new version we are using is wicket-7.7.0.
- it can't really be related to filesystem permissions, because this error
only occurs once in a while.
- We don't know if it's related, but we also experience some strange
behavior with some ajax calls. Also, this behavior only happens once in a
while. The ajax call returns
*Ajax-Location:../PageExpired.html*
But the session isn't expired !

Anyone has any clue? Thanks in advance ! Kind Regards, Marieke

-- 


**** DISCLAIMER ****

http://www.tvh.com/glob/en/email-disclaimer

"This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message."

Re: FileNotFoundException when saving page to disk

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Recently another user complained with the same problem: http://markmail.org/
message/j7wcf6yididd6gpo
I think it is related to
https://issues.apache.org/jira/browse/WICKET-6356
https://issues.apache.org/jira/browse/WICKET-6387
https://issues.apache.org/jira/browse/WICKET-6457

If you upgrade to 7.8.0 then this issue will be fixed but a new one will
come (WICKET-6457).
7.8.1 with a fix should be released soon!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Sep 5, 2017 at 5:00 PM, Marieke Vandamme <ma...@tvh.com>
wrote:

> Hi,
>
> This morning we release a new version of our website, and start getting
> strange exceptions in the logfile.
> *2017-09-05 15:49:06 ERROR DiskDataStore:438 -
> /run/jetty/aaa/bbb.dir/cccFilter-filestore/6809/6405/11rhtvk
> khzsiqk1jcfde055w23b/data
> (No such file or directory)*
> *java.io.FileNotFoundException:
> /run/jetty/aaa/bbb.dir/cccFilter-filestore/6809/6405/11rhtvk
> khzsiqk1jcfde055w23b/data
> (No such file or directory)*
> *        at java.io.RandomAccessFile.open(Native Method)*
> *        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)*
> *        at
> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFi
> leChannel(DiskDataStore.java:432)*
> *        at
> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.saveP
> age(DiskDataStore.java:350)*
> *        at
> org.apache.wicket.pageStore.DiskDataStore.storeData(DiskData
> Store.java:188)*
> *        at
> org.apache.wicket.pageStore.AsynchronousDataStore$PageSaving
> Runnable.run(AsynchronousDataStore.java:355)*
> *        at java.lang.Thread.run(Thread.java:745)*
>
> - With the previous version, wicket-7.6.0 we didn't have this problem. The
> new version we are using is wicket-7.7.0.
> - it can't really be related to filesystem permissions, because this error
> only occurs once in a while.
> - We don't know if it's related, but we also experience some strange
> behavior with some ajax calls. Also, this behavior only happens once in a
> while. The ajax call returns
> *Ajax-Location:../PageExpired.html*
> But the session isn't expired !
>
> Anyone has any clue? Thanks in advance ! Kind Regards, Marieke
>
> --
>
>
> **** DISCLAIMER ****
>
> http://www.tvh.com/glob/en/email-disclaimer
>
> "This message is delivered to all addressees subject to the conditions
> set forth in the attached disclaimer, which is an integral part of this
> message."
>