Re: Why is tomcat taking so long to start?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mon, On 3/25/2010 8:30 PM, Mon Cab wrote: > Note that you never define the host "localhost" which is why you are getting those warning messages in your log file. > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > domain.com > [...] > > > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > domain2.com > [...] > > > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > domain4.com > xx.xx.xx.xx > [...] > > > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > domain5.com > [...] Why are you defining so many hosts and re-deploying the same webapps over and over again? Why not simply make all domains aliases of each other? You'll save startup time and memory, plus have fewer management headaches. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkus48cACgkQ9CaO5/Lv0PCiyACfapvTMMCiNkC0wrkYOYnuc6qz /88Aniouo3xV6PJzG+bl5HmGGtPQ0pPI =xzS1 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Why is tomcat taking so long to start?
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
RE: Why is tomcat taking so long to start?
> From: Steffen Heil [mailto:li...@steffen-heil.de] > Subject: AW: Why is tomcat taking so long to start? > > > While this may be an unsupported version of Tomcat, version support > > is not an issue for us here. > > Support is not an issue for you, still you are asking for support? Good that someone else noticed that disconnect... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: Why is tomcat taking so long to start?
> While this may be an unsupported version of Tomcat, version support is not an issue for us here. Support is not an issue for you, still you are asking for support? smime.p7s Description: S/MIME cryptographic signature
RE: Why is tomcat taking so long to start?
> From: Mon Cab [mailto:futo...@yahoo.com] > Subject: RE: Why is tomcat taking so long to start? > > While this may be an unsupported version of Tomcat, version support is > not an issue for us here. But it is for people who volunteer to support Tomcat - even the doc for that level is difficult to access. > What are the other problems you alluded to? Please upgrade to a supported version so we can discuss them. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Why is tomcat taking so long to start?
Charles While this may be an unsupported version of Tomcat, version support is not an issue for us here. I am guessing that Tomcat 5.0 should not be having these issues, just because it is no longer supported. What are the other problems you alluded to? --- On Thu, 3/25/10, Caldarale, Charles R wrote: > From: Caldarale, Charles R > Subject: RE: Why is tomcat taking so long to start? > To: "Tomcat Users List" > Date: Thursday, March 25, 2010, 5:56 PM > > From: Pid [mailto:p...@pidster.com] > > Subject: Re: Why is tomcat taking so long to start? > > > > You have some errors there, you're trying to start > multiple Connectors > > on port 8443, so the second one fails. > > To say nothing of several other problems, the most glaring > of which is using an unsupported version of Tomcat. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR > OTHERWISE PROPRIETARY MATERIAL and is thus for use only by > the intended recipient. If you received this in error, > please contact the sender and delete the e-mail and its > attachments from all computers. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Why is tomcat taking so long to start?
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Why is tomcat taking so long to start? > > You have some errors there, you're trying to start multiple Connectors > on port 8443, so the second one fails. To say nothing of several other problems, the most glaring of which is using an unsupported version of Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org