Calling ApplicationStop on All Running Applications on Lucee

I was wondering if anyone knew a way to find all applications running on an
instance of Lucee so we can call applicationstop on them. We’re running a
clustered environment hosting a lot of apps, currently only 30, but will
scale up to 200-300 within the next 6 months but not every app is running
on every instance - we have our load balancer split them up based on host
name to avoid duplicating the application scope. Our goal is to
reinitialize each application that is already started without having to
actually start it on each instance in the process and without having to
restart Tomcat. That’s certainly an option now, though a slower one than
we’d prefer. With our old CF 9 staging servers, it was fairly easy to get
a list of them, impersonate the app and then call applicationstop and this
was exponentially faster than restarting the server or triggering a
reinitialization on apps that weren’t actively being used. I’m looking for
something similar for Lucee.

Ben,

Take a look at this issue https://luceeserver.atlassian.net/browse/LDEV-99

Seems like it may be of use for what you’re trying to do.On Tuesday, October 6, 2015 at 2:37:02 PM UTC-7, Ben Rosamond wrote:

I was wondering if anyone knew a way to find all applications running on
an instance of Lucee so we can call applicationstop on them. We’re running
a clustered environment hosting a lot of apps, currently only 30, but will
scale up to 200-300 within the next 6 months but not every app is running
on every instance - we have our load balancer split them up based on host
name to avoid duplicating the application scope. Our goal is to
reinitialize each application that is already started without having to
actually start it on each instance in the process and without having to
restart Tomcat. That’s certainly an option now, though a slower one than
we’d prefer. With our old CF 9 staging servers, it was fairly easy to get
a list of them, impersonate the app and then call applicationstop and this
was exponentially faster than restarting the server or triggering a
reinitialization on apps that weren’t actively being used. I’m looking for
something similar for Lucee.