• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tomcat 6.0.33 Freezes after hard reset

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Posts: 20836
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!