-----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">
>               <Alias>domain.com</Alias>
> [...]
>       </Host>
>
>         <Host name="www.domain2.com" debug="0" appBase="webapps"
>          unpackWARs="true" autoDeploy="true"
>          xmlValidation="false" xmlNamespaceAware="false">
>               <Alias>domain2.com</Alias>
> [...]
>         </Host>
> 
>         <Host name="www.domain4.com" debug="0" appBase="webapps"
>          unpackWARs="true" autoDeploy="true"
>          xmlValidation="false" xmlNamespaceAware="false">
>               <Alias>domain4.com</Alias>
>               <Alias>xx.xx.xx.xx</Alias>
> [...]
>         </Host>
> 
>         <Host name="www.domain5.com" debug="0" appBase="webapps"
>          unpackWARs="true" autoDeploy="true"
>          xmlValidation="false" xmlNamespaceAware="false">
>               <Alias>domain5.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

Reply via email to