| Author |
tomcat takes forever to start
|
Taylor Simpson
Greenhorn
Joined: Oct 06, 2010
Posts: 5
|
|
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
Joined: Jul 26, 2007
Posts: 8430
|
|
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]
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Taylor Simpson
Greenhorn
Joined: Oct 06, 2010
Posts: 5
|
|
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
Joined: Jul 26, 2007
Posts: 8430
|
|
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
Joined: Oct 06, 2010
Posts: 5
|
|
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
Joined: Jul 26, 2007
Posts: 8430
|
|
Can you post the full log till the line which says something like
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
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.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: tomcat takes forever to start
|
|
|