Multiple Instances, Same Machine

Hello,

Is it safe for multiple Lucee instances (in multiple Tomcat containers) to
point to the same document root, such that they’d end up sharing the same
WEB-INF?

Failing that, will there be issues from both of them sharing the same
railo-config destination? If I have N instances on the same box, I’d rather
not have to make N changes to the configuration…

Thanks!

Is it safe for multiple Lucee instances (in multiple Tomcat containers) to
point to the same document root

Yes

such that they’d end up sharing the same WEB-INF?

No.

Failing that, will there be issues from both of them sharing the same

railo-config destination?

No. But there will be issues if they share the same lucee-config
destination.

JochemOn Tue, Mar 24, 2015 at 11:18 PM, Asher Densmore-Lynn wrote:


Jochem van Dieten
http://jochem.vandieten.net/

You can point multiple tomcat containers to same doc root but have a
different subdir under WEB-INF.

To achieve this, in the web.xml I have this (for example, node1):

    <init-param>
        <param-name>configuration</param-name>

{web-root-directory}/WEB-INF/lucee/node1
Configuration directory

To save yourself from updating multiple configs it is possible to use a
symlink in each of these dirs to point a single lucee-web.xml.cfm

There’s probably a way to do this without hard coding ‘node1’ in config
too… I should look into that.

Phil

PhilOn Wednesday, March 25, 2015 at 9:18:30 AM UTC+11, Asher Densmore-Lynn wrote:

Hello,

Is it safe for multiple Lucee instances (in multiple Tomcat containers) to
point to the same document root, such that they’d end up sharing the same
WEB-INF?

Failing that, will there be issues from both of them sharing the same
railo-config destination? If I have N instances on the same box, I’d rather
not have to make N changes to the configuration…

Thanks!