• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat startup delay in debug mode via WTP

 
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi !
I am using tomcat 6 and am having huge delay in server startup under the debug mode (time>200 seconds).
My application uses spring based services built around hibernate. During startup, it just stops at :
INFO: Initializing Spring root WebApplicationContext

Even after increasing log verbosity, there was no apparent reason for this delay.
I have tried to increase the heap space and have run it offline (without database connectivity) but without any success.
The application is added to the tomcat context via configuration file in the conf folder.

If I try to run this normally via run mode, it starts normally around 30 seconds.

However, this problem does not happen during every server startup.
Following are my VM parameters:
-Xms512m -Xmx512m -XX:+UseConcMarkSweepGC
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic