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 Tue, 04 Nov 2014 15:37:43 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Neven,

On 11/3/14 6:42 PM, Neven Cvetkovic wrote:
> Vince, the current configuration works great:
> 
> 1) If you are a newbie administrator you are going to use 
> "easy-to-use-newbie-friendly" configuration. It will get you
> started, it will get your application working, etc... Great
> starting point.
> 
> 2) If you are developer (newbie or expert) and using IDE (Eclipse, 
> Netbeans, IntelliJ) - you are going to use out-of-box tomcat
> configuration. Single Tomcat instance, no-split configuration.
> 
> 3) If you are administrator that is upgrading Tomcat, you will just
> create a process to configure your instance with new Tomcat
> binaries and copy over the configuration file (most of the stuff is
> backwards compatible in server.xml within the point-version) + add
> any shared libraries to new tomcat/lib folder (JDBC drivers,
> etc...). Again, single-tomcat instance, no-split configuration
> necessary. Although, may people do like to split for "easier"
> upgrades and separation of concerns.
> 
> 4) If you are administrator that is managing multi-instance
> environment, you can still get away with copying standard
> out-of-box Tomcat directory over and over again, for each instance
> separately. The hassle would be to do the upgrades on many
> instances. That's why we have CATALINA_HOME for shared stuff
> (binaries+libraries) and CATALINA_BASE for instance-specific 
> configuration. And in this case you would know about the split
> directory setup option and would research how to do that
> effectively.
> 
> My question is - why do you use CATALINA_BASE if you are using IDE 
> (Netbeans)? If you are developer, there is no need to use split 
> configuration.
> 
> 
> SLIGHTLY-OFFTOPIC:
> 
> Although, I would love to see out-of-box setup for additional
> shared-lib folder, something other than TOMCAT/lib with Tomcat
> default libraries. Essentially, I would love to separate my
> customer shared libraries from Tomcat default libraries. I guess -
> question would be where are CATALINA_HOME/lib JAR files being
> loaded from? Can we add another directory to scan for libraries to
> be loaded? Is that configurable?

I'm not sure about that, but if the Windows installer could ask the
user if they want a "unified" versus "split" configuration, that might
be nice. The installer could then ask for the location of
CATALINA_BASE and offer to create it if necessary. That way, users
performing "upgrades" could specify their existing CATALINA_BASE
during installation and not have to go back and re-configure the
Windows Service. It would also allow newbies to know that there is an
"advanced" configuration and perhaps go learn about it.

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

iQIcBAEBCAAGBQJUWPLHAAoJEBzwKT+lPKRYNmsP/3RR7xpKGttbs7iDwAzf29qu
EwmQTJd063qcKiDABAkyFfwMy1IQL2/HMM30SL8XFGKhC0kFJZsr/r6kd/Y60cyN
Q7+7uDNmvTtDvI4/3j2lTZ4e6gXo7UwTECxYcXinbM+eFnwZFH3xy/u1uC7vv4jV
gcJ6TFZInqbArwJGDiCuKsaoPGZe1uqEGhCLJjSAz0Yx3gMZBkhi3wQHIGsZkknA
Y9gVw0XAr3oAZHVZMf0bwP+ASH1RwwmRfn5dTgyxnQlAHiJCuA5AKdPtS0L/mkKj
m0qk4MLx5+yWJw+Zll0qNkjgCVbZZ44qaDPwQiG2IFQjSj2dRU7a8PTtDjkPtklw
SUZN1gqEdozuQPqivePN/QEZWqsnSGUtwRQvfr1cmpi4zcucgS7nyK+HE9ySX9/W
H8y61BsTWRV/HHd/d+72/ZxQWH6qR0RKkRQDdwi116bdYb+gRp5B94l0EQ3MHMvB
UemvCqvG6sxlB4gKdLjBbFYkn8YUjwRTSrQFbOmpGykW3hAbSnC1qHuwUPQ/ZM2T
dqv1cnUn/BCGRUD+0xmiU/8UXim3DAxqaRknwfsWj5Lc5bOkdzWJKvg36fKHI/WD
SB7Pcg9vyaV2NFFZh5kJU1xU4DhJ+ZWHqAOW+zzmB0wXqo+mlafkn3YidtMWRTYJ
CKZvkdKcmf/6rIiIwRMJ
=w+SD
-----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