On 26.3.2010 2:30, Mon Cab wrote:
Tomcat is taking 3 mins to start up, while it used to start up in a matter of 
seconds.
We have 2 containers set up with 7-9 hosts configured, each with its own 
docbase directory.

Looking at the working directory, it seems that there is a directory for each 
host and for some
unknown reason within that directory there are directories for each of the 
other hosts docbases

ie.

work
|
|-catalina
        -- domain1.com
                |
                |- docbase for domain1
                |- docbase for domain 2
                ...
                -- docbase for domain7
                
        -- domain2.com
                |
                |- docbase for domain1
                |- docbase for domain 2
                        ...
                -- docbase for domain7


Is this supposed to happen?

That's actually quite curious. Your configuration looks like you have
just one application running on each domain, but the log looks like
it is starting up all applications for all domains. That alone makes
it take quite some time. You might wish to check your deployment
practices.

A somewhat related thing is that the time seems to be consumed primarily
in the application startup phase. Once after you find and correct the
reason for this "all apps on all domains" issue, you might wish to
increase per-application logging to such a level that you can see
what is going on - unless just solving this primary problem is enough.

Of course, one way to find the solution would be to find "what changed"
at the time the response time increased from the old "seconds" to the
current.

--
..Juha

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to