Inside org.apache.karaf.management.cfg, only the lines that start with rmiRegistryHost and rmiServerHost should be updated, otherwise, the serviceUrl is accidentally updated leading to exceptions and undesired side effects at runtime (hence this PR).
For consistency, the same logic was applied to sshHost.
Inside
org.apache.karaf.management.cfg
, only the lines that start withrmiRegistryHost
andrmiServerHost
should be updated, otherwise, theserviceUrl
is accidentally updated leading to exceptions and undesired side effects at runtime (hence this PR).For consistency, the same logic was applied to
sshHost
.