This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat takes heaps of time to start" Watch "Tomcat takes heaps of time to start" New topic
Author

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.

Cheers
Jack
Stu Thompson
Hooplehead
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.

Stu


"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
Rancher

Joined: Mar 22, 2000
Posts: 12809
    
    5
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.

Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Tomcat takes heaps of time to start