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

Reply via email to