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 16:36:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Leo,

On 11/4/14 10:46 AM, Leo Donahue wrote:
> On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz < 
> chris@christopherschultz.net> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
>> 
>> Neven,
>> 
>> On 11/3/14 6:42 PM, Neven Cvetkovic wrote:
>>> Vince, the current configuration works great:
>>> 
>>> 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
>> 
>> 
> The Tomcat zip file distribution could easily do this now. Add a 
> CATALINA_BASE directory pre-configured with a read-me file that 
> explains to users they can move this directory elsewhere, and 
> update a property that points back to the CATALINA_HOME directory 
> wherever they unzipped that. This would be an easy "optional" 
> configuration to include for a split configuration.

It already does that, now:

The CATALINA_BASE directory is preconfigured to be set to
CATALINA_HOME, which is auto-detected by catalina.sh (.bat).
CATALINA_BASE contains a readme file (RUNNING.txt) that explains how
to change that default.

I say that with all due snark, but it's really true: what you are
talking about basically exists exactly as you describe.

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

iQIcBAEBCAAGBQJUWQB0AAoJEBzwKT+lPKRYm5oP/i1vfUFBWIsUmdOxFWIt44fZ
ZL2Rco0+WFoUblC5JVjG+vfkv/ZFwUtJnbWVokm5ZZVtnD9LSwHvimeKMaq/wNSr
5yh+M/7cQXGmLEJV6tFf7eLLgHtEmH4WRgoWs/IJ827crxAjr2ae6w5HegWt8Yo1
r99g0x5ZFhlHBy8F1/xjykcTKZVYN3y7i47bcjgb0PDEC7rHB9RhLgveqwKPUU+x
wDqKCHj6vLomgLL3adbU/kg5CV6UIgRwuD2Y3xuxHG3a4x3MoPfRhgmAzeetvm4i
9JXZGRbJhqs2mVNTBS3Bzwdj2rAF6LIROGwV/V7wqYDqgEIijssHUnY4GLaYbYOa
kw+rpj7ZHfXfvmEFD5bo+7jc7v4Jp4SNQnES1bQJmhCytX/o/a0LjRuJ8H5WkTvA
2SobU1v9TMEtyu1esGjkcsibrCMqxfEmR3K8feKaRks1lCo2nlDKC5LsGrNykfW2
rI74FJyGCFP6sXOqckD6SGlyFXBrY4v6CI4sQc8iAsjPf8uWCyshfu7pWATC5C5g
gr3ibDAQEICZWWlz3dlQuQtuf4sSU+XoLTWwyMls3fPMy/9+4BcvSPdcCmSKbGG2
+F9imb8uhrUOpLEhGo5pFBPx3JpjP0eBm1lU3WM3cWwFFBjBqt4GVBO9wFN9fjDg
G+QWyQxZO/HdUUywyU6Z
=zAEu
-----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