Hi,

I would like to get a hint whether (and possibly how) the following
use-case is implementable using a karaf server:

We have an karaf-based server running and the installation program also
installs a JRE in a specific directory that should be used to start the
server. The information where the JRE is located is stored in an
application-specific registry key (OS: Windows).

The machine where the server is running is also used by certain users
which may or may not decide to install a JRE or JDK for other
applications, but we want to be sure that the karaf server is *always*
started with the JRE which is configured by our specific registry key,
regardless of such additional JRE user installations.

Does there exist a way to inform the karaf server on startup via a
dynamical mechanism that would in our case  inspect the content of the
above mentioned registry key and transfers this information to karaf to
start with?

Maybe karaf provides a special built-in mechanism that is specifically
designed for such a dynamical start decision?

Thanks for your help,

- Daniel

Reply via email to