tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Separation of CATALINA_HOME and CATALINA_BASE
Date Thu, 16 Oct 2014 21:02:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 10/16/14 2:43 PM, Mark Thomas wrote:
> On 16/10/2014 19:11, vince.webb@thomsonreuters.com wrote:
>> Hello I'm coming back to Tomcat after years using GlassFish. The
>> little that I ever understood of Tomcat 3, 4 and 5 is now
>> decidedly rusty so I've been reading Tomcat 7's RUNNING.txt with
>> interest.
>> 
>> The section under the heading: Advanced Configuration - Multiple
>> Tomcat Instances Looks interesting to me even though I have no
>> desire to run multiple instances.
>> 
>> Configuring CATALINA_HOME and CATALINA_BASE to be separate
>> directories looks to me like such a winning idea that I'm left
>> wondering, why the default TOMCAT installation puts all that
>> stuff in one directory ?
> 
> I'm not sure that is any reason other than "it has always been that
> way".

It is a bit easier to configure when CATALINA_BASE = CATALINA_HOME,
especially for automated installers as well as the "ZIP installer"
(aka just unzip into apache-tomcat-x.y.z directory).

> It is something to consider for 9.0.x (work starting on that soon).
> An interesting question here is how smart should we / could we make
> the Windows installer?

If we added CATALINA_BASE ≠ CATALINA_HOME as default, the automated
installer would have to ask where to install Tomcat and also where to
install Tomcat's first deployment, which would be a bit confusing to
people. The ZIP "installer" would need to have apache-tomcat-x.y.z
plus something like "apache-tomcat-deploy" inside of it with Tomcat
defaulting to use that as CATALINA_BASE.

I don't see it working for novice users, and I don't see it working
for advanced users, either, because they already know what they are doing.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUQDJvAAoJEBzwKT+lPKRYsY4P/36Dcuq0+2L1nL7LdGJus6+p
5VkJvzmlwFY3pfRNR4MHsXjEu8iBJV/QwDoplivZHd3KhcjoxGC8R6HKYeVHGub/
kSN1xeRqyPF1pqUJw7ejGKQaHP17UI4YeygxYCb4AKkh+L02Tkdsn+/JFGG5URmA
NWlXFygxIE52HyXXfdEoV2KRY6M7frB2AFIVXOD/TpW36EO+O3QecCHQDTRZRDv1
1o5TQI++DzQeL/eBVYGg7bu/bC8jPAWC5cDBoQXE/H+iqBHbr9+C8tsSGEiYxZS+
mzC/UKhnfnNAp8PqzyLN/qLncwITE2A3QWxkDqFrk1sLlcKO2b2iXCkG+BiOewVw
Iv1x8PJihvE9Tz7YZyv1MC6tVUZq5lBBviOfW+M2iHGPM5gy6j2gYMq1cxlTi1rD
B2rs/0Ues0PPG7PjwDnSazZQtRrbiKYFIpLca8abgGQ8AUPlFqDtl7EN2azt+xjf
Tc07l1W+86JZIkXUvcKbACkHcsHQg2bCcJtnIVaNfkwUnkVIHll/OyffgE53tL7W
xzoBMGzxPNyp96mrvEbXhq+nyHRL+BCkEJDcbK2XSGKZWGTgWOxD4RUm9KUW3pNc
orH8p7YQ7bj2PwQV3qZktDQ1dJw0IPLdbkhX3Nbr5Lp/80eCZXa9BFnrRjgQsgd6
Xv94kVsiBJvoh84wzViV
=XhYF
-----END PGP SIGNATURE-----

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


Mime
View raw message