RE: Why is tomcat taking so long to start?

2010-03-26 Thread Caldarale, Charles R
 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



Re: Why is tomcat taking so long to start?

2010-03-26 Thread Juha Laiho

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?

2010-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mon,

On 3/25/2010 8:30 PM, Mon Cab wrote:
 Engine name=Catalina defaultHost=localhost debug=0

Note that you never define the host localhost which is why you are
getting those warning messages in your log file.

   Host name=www.domain.com debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
   Aliasdomain.com/Alias
 [...]
   /Host

 Host name=www.domain2.com debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   Aliasdomain2.com/Alias
 [...]
 /Host
 
 Host name=www.domain4.com debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   Aliasdomain4.com/Alias
   Aliasxx.xx.xx.xx/Alias
 [...]
 /Host
 
 Host name=www.domain5.com debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   Aliasdomain5.com/Alias
 [...]

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?

2010-03-25 Thread Caldarale, Charles R
 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



RE: Why is tomcat taking so long to start?

2010-03-25 Thread Mon Cab
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 chuck.caldar...@unisys.com wrote:

 From: Caldarale, Charles R chuck.caldar...@unisys.com
 Subject: RE: Why is tomcat taking so long to start?
 To: Tomcat Users List users@tomcat.apache.org
 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?

2010-03-25 Thread Caldarale, Charles R
 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