• 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 takes forever to start

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post the full log till the line which says something like
 
Author and all-around good cowpoke
Posts: 13078
6
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic