Chris and Chris (but not Chris) -----Original Message----- From: Chris Cheshire [mailto:yahoono...@gmail.com] Sent: Friday, September 08, 2017 9:16 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: 8.5 - multiple host configuration question
On Thu, Sep 7, 2017 at 5:29 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Chris, > > On 9/5/17 3:39 PM, Chris Cheshire wrote: >> On Tue, Sep 5, 2017 at 2:07 PM, Christopher Schultz >>> If I were king, I'd set things up like this: >>> >>> 1. Tomcat is installed in /usr/local/tomcat (or >>> /usr/local/tomcat-x.y.z, or /opt/whatever, etc.). 2. Tomcat is never >>> launched with CATALINA_BASE=/usr/local/tomcat 3. Each user has their >>> own CATALINA_BASE directory in their own home directory (or wherever >>> in the fs tree). No need to put anything in /usr/local which is >>> usually considered to be shared and read-only. CATALINA_BASE is just >>> a directory with the following directories in it: work/ logs/ conf/ >>> lib/ webapps/. Anything in there overrides anything in the >>> CATALINA_HOME where Tomcat is installed. I'd recommend using a >>> custom conf/server.xml and leaving everything else pretty much alone >>> except maybe a JDBC driver in CATALINA_BASE/lib that isn't necessary >>> for all the other Tomcats that will be running on the server. >>> >>> This gives you a LOT of flexibility: >>> >>> [SNIP] >>> > Thank you for the explanations, this helps considerably. Ditto! I saved a copy in my archives of accumulated Tomcat wisdom. The problem is that the info is still stored in my computer and not in my brain. -- Cris Berneburg CACI Lead Software Engineer