This solves the problem of course. However, why does the ModificationWatcher look for modified resources within wicket jars? If component A extends component B, the MarkupCache should indeed verify watch B as well unless it is a wicket component. Why would anyone replace markup inside a wicket jar?
Eelco Hillenius wrote: > You probably run in development mode? Set it to development and your > problems should be gone. > > <context-param> > <param-name>configuration</param-name> > <param-value>deployment</param-value> > </context-param> > > Upgrading shouldn't solve any particular problems here I think, though > we solved enough issues to upgrade to the latest anyway :) > > Eelco > > > > On 11/13/06, Nili Adoram <[EMAIL PROTECTED]> wrote: > >> Hi all, >> When running our Wicket based web application as well Nagios on the same >> machine >> we come across "Too many open files" problem. >> We are using soft limit of 4096 and hard limit of 63536. >> However, we are monitoring the number of file handles open and it is >> gradually increasing. >> >> >> The files - /opt/qrm/java/webapp/WEB-INF/lib/wicket-1.2.2.jar & >> /opt/qrm/java/webapp/WEB-INF/lib/wicket-extensions-1.2.2-patch.jar are >> being opened repeatedly. >> >> Eventually we see the following problem and the web server is stuck. >> >> Any ideas? >> >> >> 2006-11-08 19:42:22,104 ERROR [ManagerBase] (Thread-29:) IOException >> while saving persisted sessions: java.io.FileNotFoundException: >> /opt/qrm/usr/tomcat/work/Catalina/localhost/host-manager/SESSIONS.ser >> (Too many open files) >> >> java.io.FileNotFoundException: >> /opt/qrm/usr/tomcat/work/Catalina/localhost/host-manager/SESSIONS.ser >> (Too many open files) >> >> at java.io.FileOutputStream.open(Native Method) >> >> at java.io.FileOutputStream.<init>(FileOutputStream.java:179) >> >> at java.io.FileOutputStream.<init>(FileOutputStream.java:70) >> >> at >> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:488) >> >> at >> org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) >> >> at >> org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) >> >> at >> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4337) >> >> at >> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) >> >> at >> org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1153) >> >> at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1125) >> >> at >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) >> >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> >> at >> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) >> >> at >> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066) >> >> at >> org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) >> >> at >> org.apache.catalina.core.StandardService.stop(StandardService.java:512) >> >> at >> org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) >> >> at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) >> >> at >> org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644) >> >> >> >> ------------------------------------------------------------------------- >> 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-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> > > ------------------------------------------------------------------------- > 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-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- 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-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
