This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

tomcat takes forever to start

 
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
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • 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
  • 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: 22479
151
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
Is that a spider in your hair? Here, threaten it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic