You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Lon Varscsak <lo...@gmail.com> on 2017/08/23 21:58:36 UTC

DiskDataStore error

Hey guys, I’m getting this error on an app (on my dev/Mac machine):

java.io.FileNotFoundException:
/var/folders/3g/vcn2yyls05q249yzkbp457qm0000gn/T/wicket-filestore/8289/6329/1rjb8e27m1orf1mnxttof0qy22/data
(No such file or directory)

at java.io.RandomAccessFile.open0(Native Method)

at java.io.RandomAccessFile.open(RandomAccessFile.java:316)

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:340)

at java.lang.Thread.run(Thread.java:745)


That file does exist which means it must be locked, but I don’t know why I
would be getting this error.  I’m not really sure what I’d be doing in this
application to trigger this error.  Thoughts?

Thanks!

-Lon

Re: DiskDataStore error

Posted by Lon Varscsak <lo...@gmail.com>.
Hey Martin, yeah the file is owned by me and it’s a file not a directory.
I upgraded to M7 and I don’t seem to get the error anymore.

-Lon

On Wed, Aug 23, 2017 at 11:11 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> The same error can happen if the Tomcat/Jetty process doesn't have
> permissions to read/write this file.
> Check that this file is owned by the Tomcat user and that it is a file, not
> a directory.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Aug 24, 2017 at 1:38 AM, Lon Varscsak <lo...@gmail.com>
> wrote:
>
> > As always, I forgot to include the version. :)* 8.0.0-M6*
> >
> > On Wed, Aug 23, 2017 at 2:58 PM, Lon Varscsak <lo...@gmail.com>
> > wrote:
> >
> > > Hey guys, I’m getting this error on an app (on my dev/Mac machine):
> > >
> > > java.io.FileNotFoundException: /var/folders/3g/
> > > vcn2yyls05q249yzkbp457qm0000gn/T/wicket-filestore/8289/6329/
> > > 1rjb8e27m1orf1mnxttof0qy22/data (No such file or directory)
> > >
> > > at java.io.RandomAccessFile.open0(Native Method)
> > >
> > > at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
> > >
> > > 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(DiskDa
> > > taStore.java:188)
> > >
> > > at org.apache.wicket.pageStore.AsynchronousDataStore$
> > > PageSavingRunnable.run(AsynchronousDataStore.java:340)
> > >
> > > at java.lang.Thread.run(Thread.java:745)
> > >
> > >
> > > That file does exist which means it must be locked, but I don’t know
> why
> > I
> > > would be getting this error.  I’m not really sure what I’d be doing in
> > this
> > > application to trigger this error.  Thoughts?
> > >
> > > Thanks!
> > >
> > > -Lon
> > >
> >
>

Re: DiskDataStore error

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

The same error can happen if the Tomcat/Jetty process doesn't have
permissions to read/write this file.
Check that this file is owned by the Tomcat user and that it is a file, not
a directory.

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

On Thu, Aug 24, 2017 at 1:38 AM, Lon Varscsak <lo...@gmail.com>
wrote:

> As always, I forgot to include the version. :)* 8.0.0-M6*
>
> On Wed, Aug 23, 2017 at 2:58 PM, Lon Varscsak <lo...@gmail.com>
> wrote:
>
> > Hey guys, I’m getting this error on an app (on my dev/Mac machine):
> >
> > java.io.FileNotFoundException: /var/folders/3g/
> > vcn2yyls05q249yzkbp457qm0000gn/T/wicket-filestore/8289/6329/
> > 1rjb8e27m1orf1mnxttof0qy22/data (No such file or directory)
> >
> > at java.io.RandomAccessFile.open0(Native Method)
> >
> > at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
> >
> > 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(DiskDa
> > taStore.java:188)
> >
> > at org.apache.wicket.pageStore.AsynchronousDataStore$
> > PageSavingRunnable.run(AsynchronousDataStore.java:340)
> >
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> > That file does exist which means it must be locked, but I don’t know why
> I
> > would be getting this error.  I’m not really sure what I’d be doing in
> this
> > application to trigger this error.  Thoughts?
> >
> > Thanks!
> >
> > -Lon
> >
>

Re: DiskDataStore error

Posted by Lon Varscsak <lo...@gmail.com>.
As always, I forgot to include the version. :)* 8.0.0-M6*

On Wed, Aug 23, 2017 at 2:58 PM, Lon Varscsak <lo...@gmail.com>
wrote:

> Hey guys, I’m getting this error on an app (on my dev/Mac machine):
>
> java.io.FileNotFoundException: /var/folders/3g/
> vcn2yyls05q249yzkbp457qm0000gn/T/wicket-filestore/8289/6329/
> 1rjb8e27m1orf1mnxttof0qy22/data (No such file or directory)
>
> at java.io.RandomAccessFile.open0(Native Method)
>
> at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
>
> 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(DiskDa
> taStore.java:188)
>
> at org.apache.wicket.pageStore.AsynchronousDataStore$
> PageSavingRunnable.run(AsynchronousDataStore.java:340)
>
> at java.lang.Thread.run(Thread.java:745)
>
>
> That file does exist which means it must be locked, but I don’t know why I
> would be getting this error.  I’m not really sure what I’d be doing in this
> application to trigger this error.  Thoughts?
>
> Thanks!
>
> -Lon
>