This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat takes heaps of time to start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat takes heaps of time to start" Watch "Tomcat takes heaps of time to start" New topic

Tomcat takes heaps of time to start

jack nick
Ranch Hand

Joined: Jan 11, 2001
Posts: 96
Hello all,

I have run into a real strange problem with Tomcat. We are deploying an application into the Tomcat server and this works just fine on all the environments we have used till lately.

On a certain box using pretty much the same setup (hardware and software) as always tomcat serves the first page after a long time for the same application as above. Once this first page is served the application works just fine after that.

Has anybody come accross a situation like this? If so any feedback on what is happening would be great. The WAR file has got the JSPs already precompiled.

Stu Thompson
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hi Jack,

Do the log files show you anything interesting? Like a large amount of time between to discrete entries?

Also, which TC version.


"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13028
The first question that occurs to me is "how many other applications are hosted on the server?"
The last "as distributed" Tomcat install I did takes a long time to start because of all the applications it contains.

I agree. Here's the link:
subject: Tomcat takes heaps of time to start
It's not a secret anymore!