This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat takes too long to start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat takes too long to start" Watch "Tomcat takes too long to start" New topic
Author

Tomcat takes too long to start

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
Technology : Spring and Hibernate, DWR, CAPTCHA

It gets stuck at,



There is no exception, but it just hangs there and I am very impatient man.

After 3-4 minutes pause , it prints,


Again, 2 minute pause,



And it finally completed ,


431352 ms = 7.18 minutes

We have large DB but the hibernated mapping comes and go real quick and gets stuck at above line.

Thank you.

Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
Wow. Does it take the same time on other servers like Jetty?
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
I have never used Jetty before.
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
Somebody some hint?

Should I repost it in Hibernate forum?
iuliana cosmina
Greenhorn

Joined: Jun 01, 2010
Posts: 3

Hi,

I am having the same problem but only with:

It takes about 4-5 minutes to pass this step.

I looked in all the logs. I found nothing. I am using Tomcat 6, Java 6, JCaptcha 1.0, spring 1.2.8. I don't know what other information to share.
Has anybody had an issue like this before?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat takes too long to start
 
Similar Threads
Hibernate exception problem
getting errors I can't explain...anyone can help out ?
Conneting to database but unable to save object.
Problem using hibernate
Help starting jboss server