I also ran into this problem.

On 9/15/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
Hi,

When deploying a Wicket application  in DEVELOPMENT mode with only
JARs in  WEB-INF/lib (no WEB-INF/classes), and  templates included
in  JARs,  the  number  of file  descriptors  increases  steadily,
leading to an OS error: «Too many files open».

When  turning configuration  to DEPLOYMENT,  the problem  does not
arise.  So  it seems like  template reloading is leaking  JAR file
descriptors.

Note: another Wicket  user told me about this  exact problem.  I'm
not the only one apparently.  Are you aware of the problem?

Do you think the attached patch could fix the problem?  I will let
the  patched system  run  until tomorrow  to see  if  it is  still
leaking  files.

To watch the number of times the JARs are open I'm using the
following command:

   lsof -p <java-process-id> | grep WEB-INF/lib | cut -b60- | sort | uniq -c

FWIW I found a similar problem described at Sun:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4386865

Thanks for your help,
--
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to