This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15959

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat 6.0.33 Freezes after hard reset
Similar Threads
Error reading resource Hibernate
This weeks giveaway
SSL + Servlet
Absolute path for jsp
Should I make my servlet sleep?