Could you have separate work folders but have the appbase be the in the shared folder space?
Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell 515-988-2508 jonmcalexan...@wellsfargo.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. > -----Original Message----- > From: Christopher Schultz <ch...@christopherschultz.net> > Sent: Tuesday, October 10, 2023 5:59 AM > To: users@tomcat.apache.org > Subject: Re: Sharing catalina home among tomcat machines in a load > balanced environment gives problems with log files > > Mark, > > On 10/10/23 06:38, Mark Thomas wrote: > > Running multiple instances of Tomcat from the same CATALINA_BASE is > > totally unsupported. This isn't one of those "We don't technically > > support that but you should be OK situations". This is one of the rare > > "You do that and it *will* break and you will be on your own when it > > does." situations. > > +1 > > Both the logs/ and the work/ directories will overwrite each other, probably > to the point of not only corruption (e.g. log files) but also instability -- > because of the work/ directory. Files will appear and disappear surprisingly > to > one or the other running Tomcat and you WILL have errors, etc. > > > On 10/10/2023 06:51, Giuseppe Sacco wrote: > >> > >> I did not use different CATALINA_BASE and CATALINA_HOME since this > >> would have required to deploy all applications on two different > >> tomcats > > In this case, *you have two different Tomcats*, so it is appropriate to use > different CATALINA_BASE paths. > > >> and my > >> pipeline only allows to deploy to one tomcat putting an XML file in > >> $CATALINA_BASE/conf/Catalina/localhost directory. > > Maybe you can use a symlink from both directories? > > -chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org