• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat takes forever to start

 
Taylor Simpson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all.i got a tomcat 6 and installed as window services. after i update my server firmware and start my tomcat it takes long time to start..nearly 1 hour..the log is clean, no error but it just slow.

anyone have any idea how to investigate further?

thanks alot
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One hour!!! That's ridiculous.
Way I look at things, you got these options
1) Reinstall the existing service. The upgrade might have messed up something
2) If that doesn't work, try using it as a non service and observe what happens
3) If that doesn't work, consider moving to [url=http://www.ubuntu.com/]Ubuntu[url]
 
Taylor Simpson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:One hour!!! That's ridiculous.
Way I look at things, you got these options
1) Reinstall the existing service. The upgrade might have messed up something
2) If that doesn't work, try using it as a non service and observe what happens
3) If that doesn't work, consider moving to [url=http://www.ubuntu.com/]Ubuntu[url]


yes..that's freaking me out..i not sure what is happening..i tried reinstall tomcat service - no help

run as console still slow..how can i drill down to see whats holding tomcat start up so slow??
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Taylor Simpson wrote:
run as console still slow..how can i drill down to see whats holding tomcat start up so slow??

Can you copy paste the log for the console?
Also, how are you checking if Tomcat is up? http://localhost:8080 ?
 
Taylor Simpson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:
Taylor Simpson wrote:
run as console still slow..how can i drill down to see whats holding tomcat start up so slow??

Can you copy paste the log for the console?
Also, how are you checking if Tomcat is up? http://localhost:8080 ?


this the log



its like forever stop at starting servlet engine

yes i use http://localhost:8080 and also my application http://localhost:8080/my_aps/
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the full log till the line which says something like
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this was my problem I would remove all applications but a simple index.html at ROOT - if THAT is slow to boot something is very wrong.

If that is fast, add back applications one at a time.

Bill
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18154
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never actually seen a damaged Tomcat take long periods of time to start. They generally simply fail, instead.

On the other hand, some yokel handed me a webapp that essentially uploaded an entire database into RAM at startup time. That one took over half an hour per restart.

I fixed the app. Changed the way it fetched data and dropped the startup time for server plus app to 23 seconds.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic