Error Flushing Page because of java.io.FileNotFoundException

2010-12-02 Thread ft

Hello,

I have the following error (seemingly without further influence on the
application) in an application that runs on a tomcat 5.5.20 server. The disk
is not full or something.

When I look in the directory
work/Catalina/localhost/idp2009/IdpApplication-filestore it is empty...

Does anyone have an idea what might be the cause?


2010-12-02 16:27:08,430 ERROR
[org.apache.wicket.protocol.http.pagestore.DiskPageStore] Error flushing
page
java.lang.RuntimeException: java.io.FileNotFoundException:
/usr/local/apache-tomcat-5.5.20/work/Catalina/localhost/idp2009/IdpApplication-filestore/6432/1402/2C47AFD3CCE8EFB724777A0B780EC109/pm-null
(No such file or directory)
at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
at
org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
at
org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:924)
at
org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:996)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
/usr/local/apache-tomcat-5.5.20/work/Catalina/localhost/idp2009/IdpApplication-filestore/6
432/1402/2C47AFD3CCE8EFB724777A0B780EC109/pm-null (No such file or
directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
at
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
... 5 more
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-Flushing-Page-because-of-java-io-FileNotFoundException-tp3069562p3069562.html
Sent from the Users forum 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



Re: Error flushing page

2009-09-17 Thread konsul



igor.vaynberg wrote:
 
 firstly, wicket 1.4.1 is out.
 
 secondly, it looks like you need to increase the number of open file
 handles allowed on your system because you are running out. one cause
 may be that a wicket app is deployed in development mode instead of
 deployment mode.
 
 -igor
 
 On Fri, Sep 11, 2009 at 1:35 AM, Anton Komratov a.komra...@gmail.com
 wrote:
 I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and
 have got the following exception:

 2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page
 java.lang.RuntimeException: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:898)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:970)
      at java.lang.Thread.run(Thread.java:619)
 Caused by: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
      ... 5 more


 I did not find solutions in this forum. S-o-s. It happened in production
 system.

 -
 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
 
 
 

Thanx. The old value was 1024. I've increased it to 65535.
But any way, would you like to explain me briefly why could that happened? 
1) the server runs only for the application server (geronimo). no more
services. server runs without rebooting for a 2-3 weeks with permanent
workload (amount of user connections per day).
2) how the wicket development/deployment mode affects to the amount of
opened files. 

-- 
View this message in context: 
http://www.nabble.com/Error-flushing-page-tp25397097p25491295.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



Re: Error flushing page

2009-09-17 Thread Igor Vaynberg
you can search this list to find answers to those questions.

-igor

On Thu, Sep 17, 2009 at 6:31 AM, konsul a.komra...@gmail.com wrote:



 igor.vaynberg wrote:

 firstly, wicket 1.4.1 is out.

 secondly, it looks like you need to increase the number of open file
 handles allowed on your system because you are running out. one cause
 may be that a wicket app is deployed in development mode instead of
 deployment mode.

 -igor

 On Fri, Sep 11, 2009 at 1:35 AM, Anton Komratov a.komra...@gmail.com
 wrote:
 I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and
 have got the following exception:

 2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page
 java.lang.RuntimeException: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:898)
      at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:970)
      at java.lang.Thread.run(Thread.java:619)
 Caused by: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
      at
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
      ... 5 more


 I did not find solutions in this forum. S-o-s. It happened in production
 system.

 -
 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




 Thanx. The old value was 1024. I've increased it to 65535.
 But any way, would you like to explain me briefly why could that happened?
 1) the server runs only for the application server (geronimo). no more
 services. server runs without rebooting for a 2-3 weeks with permanent
 workload (amount of user connections per day).
 2) how the wicket development/deployment mode affects to the amount of
 opened files.

 --
 View this message in context: 
 http://www.nabble.com/Error-flushing-page-tp25397097p25491295.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



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



Error flushing page

2009-09-11 Thread Anton Komratov
I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and
have got the following exception:

2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page
java.lang.RuntimeException: java.io.FileNotFoundException:
/usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
(Too many open files)
  at 
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
  at 
org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
  at 
org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
  at 
org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:898)
  at 
org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:970)
  at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
/usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
(Too many open files)
  at java.io.RandomAccessFile.open(Native Method)
  at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
  at 
org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
  ... 5 more


I did not find solutions in this forum. S-o-s. It happened in production system.

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



Re: Error flushing page

2009-09-11 Thread Igor Vaynberg
firstly, wicket 1.4.1 is out.

secondly, it looks like you need to increase the number of open file
handles allowed on your system because you are running out. one cause
may be that a wicket app is deployed in development mode instead of
deployment mode.

-igor

On Fri, Sep 11, 2009 at 1:35 AM, Anton Komratov a.komra...@gmail.com wrote:
 I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and
 have got the following exception:

 2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page
 java.lang.RuntimeException: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at 
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
      at 
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
      at 
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
      at 
 org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:898)
      at 
 org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:970)
      at java.lang.Thread.run(Thread.java:619)
 Caused by: java.io.FileNotFoundException:
 /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
 (Too many open files)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
      at 
 org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
      ... 5 more


 I did not find solutions in this forum. S-o-s. It happened in production 
 system.

 -
 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



Re: ERROR - DiskPageStore - Error flushing page

2009-01-17 Thread Johan Compagner
What kind of dirs doe jou see in that dir under tomcat? How many entries?
Do you have it for all your sessions? Is the filename incorrect?

On 16/01/2009, ragu_sree ragu.indiakh...@gmail.com wrote:

   I am using wicket1.3.5 version only , but still getting the problem , any
 one please provide me the solution
 --
 View this message in context:
 http://www.nabble.com/ERROR---DiskPageStoreError-flushing-page-tp21498004p21499158.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



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



ERROR - DiskPageStore - Error flushing page

2009-01-16 Thread ragu_sree

I am getting the above problem , can any one of please provide me the
solution as to how to fix this issue

ERROR - DiskPageStore  - Error flushing page
java.lang.RuntimeException: java.io.FileNotFoundException:
/opt/jakarta-tomcat-5.0.25/work/Catalina/localhost/_/wicket.indiakhelo-filestore/63710B296A9918BCE0B2DD92747962AF/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:619)
Caused by: java.io.FileNotFoundException:
/opt/jakarta-tomcat-5.0.25/work/Catalina/localhost/_/wicket.indiakhelo-filestore/63710B296A9918BCE0B2DD92747962AF/pm-null
(No such file or directory)
-- 
View this message in context: 
http://www.nabble.com/ERROR---DiskPageStoreError-flushing-page-tp21498004p21498004.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



Re: ERROR - DiskPageStore - Error flushing page

2009-01-16 Thread Jan Kriesten

Hi,

 I am getting the above problem , can any one of please provide me the
 solution as to how to fix this issue

since you didn't provide any further hints on what version of wicket you're
using, I suppose this issue has already been resolved with 1.3.5:

https://issues.apache.org/jira/browse/WICKET-1773

Regards, --- Jan.



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



Re: ERROR - DiskPageStore - Error flushing page

2009-01-16 Thread ragu_sree

  I am using wicket1.3.5 version only , but still getting the problem , any
one please provide me the solution
-- 
View this message in context: 
http://www.nabble.com/ERROR---DiskPageStoreError-flushing-page-tp21498004p21499158.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