This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat startup delay in debug mode via WTP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat startup delay in debug mode via WTP" Watch "Tomcat startup delay in debug mode via WTP" New topic
Author

Tomcat startup delay in debug mode via WTP

Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 302

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Tomcat startup delay in debug mode via WTP
 
Similar Threads
Running Tomcat server in Debug mode?
Running Tomcat server in Debug mode?
* Welcome Javid Jamae and Peter Johnson
PermGen error in Tomcat using Eclipse
Filters in java