Hi,

Maybe you forgot to turn resource polling off before deployement. Try removing it before deployment. I always develop with the folloeing line in my Application servlet.
getSettings().setResourcePollFrequency(Duration.ONE_SECOND);
Then before deployement I put it in comments.
Hope this helps.
Francis


On 9/26/05, Dan Gould <[EMAIL PROTECTED]> wrote:
I've just moved my wicket app over to a server with Tomcat for deployment.
After leaving it up for a few days, I can no longer connect.  The error
logs say I'm out of file descriptors.

When I got to /proc/[PID]/fd and ls -l, I see a whole bunch of lines like:
lr-x------  1 dlg dlg 64 Sep 25 05:20 223 ->
/home/dlg/tomcat/jakarta-tomcat-5.5.9/webapps/norgould/WEB-INF/lib/wicket-1.1-rc1.jar
lr-x------  1 dlg dlg 64 Sep 25 05:20 224 ->
/home/dlg/tomcat/jakarta-tomcat-5.5.9 /webapps/norgould/WEB-INF/lib/wicket-1.1-rc1.jar

So, it looks like Tomcat keeps trying to load wicket and never releases
the old ones.

conf/context.xml just has:
<WatchedResource>WEB-INF/web.xml</WatchedResource> in the Context

While web.xml has this (from the SpringApplication2 example:
         <servlet>
                 <servlet-name>SpringApplication2</servlet-name>
                 <!-- DO NOT USE YOUR WICKET APPLICATION. USE SPRING'S
DISPATCHER
  SERVLET -->
                 <servlet-class>
                         org.springframework.web.servlet.DispatcherServlet
                 </servlet-class>
         </servlet>

I'm completely lost (and know nothing about servlets/Tomcat).  Any ideas?

Thank you very much,
Dan


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to