File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 6.0.33 Freezes after hard reset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6.0.33 Freezes after hard reset" Watch "Tomcat 6.0.33 Freezes after hard reset" New topic

Tomcat 6.0.33 Freezes after hard reset

jd wong

Joined: Apr 18, 2011
Posts: 9
Tomcat will occasionally freeze, which forces me to kill -9 the process. However, upon ./, it takes ages to load. Sometimes I have waited tens on minutes! How can I force tomcat to behave?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

It's very unlikely that it is "Tomcat" freezing. Tomcat is very reliable and very performant and doesn't have a history of such problems except in cases where Tomcat is either damaged or attempting to run in a severely constrained environment (for example, not enough RAM).

It's much more common that problems like the one you're describing come from one (or more) of the applications deployed within Tomcat. Meaning that the application(s) were poorly designed.

I once inherited an app that took over 20 minutes to come online. The idiot who wrote it made it load practically an entire database into RAM as part of the app startup process. A few changes reduced the Tomcat startup time to about 2 minutes.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Tomcat 6.0.33 Freezes after hard reset
It's not a secret anymore!