This is clearly a garbage collection in action. Happened to me many times on Tomcat in development. You're running out of Perm space. Try increasing the perm size to its max (256M - I believe with XX:MaxPermZize=256m). It will still happen but less often (every 10 reloads?), it is possible to get Tomcat to unload the WebappClassloader cleanly (I did it), but this is beyond the scope of one email. :-(

Alex

Rui Pacheco wrote:
Hi all

I am developing a web application with Java 5, Tapestry 4.0.2, Commons DBCP
1.2.1, Tomcat 5.5.17 and MySQL 5.0.19.

While I develop my application I noticed a strange behaviour: Java usage
suddenly climbs up to 99.9% and never goes down.
The server (RHLE) is fine and responsive, but Tomcat stops responding to
requests. If I deploy a new war file, he won't uncompact it, if I try to
access a web page, he won't serve it, if shut it down, the process will
continue running. I have to kill -9 to get rid of it.

I believe this problem is with Tapestry because it happens on all the
servers I deploy the application. It happens on the development server and
on my laptop running Ubuntu Dapper and Java 6.

My laptop has no problem running other Java applications for as long as I
need them, like JEdit and Aquadata Studio. The development server used to
have a JSP based website that also worked withouth a problem, except for the
common developer mistakes.

Is there a way for me to diagnose whats happening? Any special flags to pass
to the VM or some über-secret-hidden log you know about?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to