Hi All,

I know this issue was discussed in some depth in:

http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--td13638411.html#a13644332
How To Change Page Store Size in DiskPageStore? 

but I'm still not clear as to the best practice. I have a Wicket-based
application that was
recently launched into production. It is based on v1.3.5 of Wicket and
operates within
WebSphere 6.1 on an AIX o/s. It is regularly throwing a
FileNotFoundException; an
example is shown at the bottom of this message.

Based on the above DiskPageStore post, I am assuming that the available file
handles 
are being used as expired sessions are not being cleaned up properly in the
file store
-- is that correct? If so, is the recommended best practice to create a cron
job to clean
up 'old' folders in the file store?

Thanks,
Steve


[2/11/09 8:04:46:867 EST] 00000076 SystemOut     O 08:04:46,867 ERROR
DiskPageStore:424 - Failed to make directory
/opt/IBM/WebSphere/mastodon/profiles/prd1.
node2/temp/prd1.node2/prd1.node2.eob/eob/EobWeb.war/WicketServlet-filestore/GPfJlRcX_H4dda4AdcVtmHU
[2/11/09 8:04:46:867 EST] 00000076 SystemOut     O 08:04:46,867 ERROR
DiskPageStore:901 - Error flushing page
java.lang.RuntimeException: java.io.FileNotFoundException:
/opt/IBM/WebSphere/mastodon/profiles/prd1.node2/temp/prd1.node2/prd1.node2.eob/eob/EobWeb.war/Wick
etServlet-filestore/GPfJlRcX_H4dda4AdcVtmHU/pm-null (No such file or
directory)
        at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:104)
        at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:171)
        at
org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
        at
org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:895)
        at
org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:965)
        at java.lang.Thread.run(Thread.java:810)
Caused by: java.io.FileNotFoundException:
/opt/IBM/WebSphere/mastodon/profiles/prd1.node2/temp/prd1.node2/prd1.node2.eob/eob/EobWeb.war/WicketServlet-filesto
re/GPfJlRcX_H4dda4AdcVtmHU/pm-null (No such file or directory)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
        at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:99)
        ... 5 more



-- 
View this message in context: 
http://www.nabble.com/WicketServlet-filestore-and-FileNotFoundException-tp21955499p21955499.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to