0

Whenever I restart tomcat and reload my site, It takes a lot of time. Is there a way around? like not having to restart tomcat. I have already tried reloadable="true" but that doesn't help.

Community
  • 1
  • 1
prongs
  • 9,422
  • 21
  • 67
  • 105
  • 1
    Can you elaborate "but that doesn't help" more ? – Hardik Mishra Jul 06 '12 at 11:13
  • Did you try to trace or use a profiler to find out what code exactly is taking so much time to execute ? – David Levesque Jul 06 '12 at 12:43
  • Take several thread dumps during startup to find out what is taking your webapp so long. An otherwise unconfigured Tomcat stock Tomcat 7.0.28 takes about 2.5sec to come up on moderately modern hardware (2GHz CPU, multi-processor doesn't matter since starting up with no webapps is single-threaded), so this is definitely your webapp's problem. – Christopher Schultz Jul 07 '12 at 11:39

0 Answers0