aspose file tools*
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
Author

Tomcat 6.0.33 Freezes after hard reset

jd wong
Greenhorn

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

Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 6.0.33 Freezes after hard reset