OSGI Service variables are not persistent on AEM instance running on 4502.
AEM Community, I am facing an issue with OSGI service variables. I have two author instances of AEM v6.5.17 running on 4502 and 4504 ports. I use mvn clean install -PautoInstallPackage command to build and deploy the project on any of the two instances. I also have some configurations in place in the OSGI that work as environment variables for me.
The issue is when I target 4504, the OSGI service variables are persistent. However, when the target is 4502, the OSGI service variables are removed.
I have tried to remove instance on 4502 and run a fresh new instance on 4502, but still the same behaviour.
Any support regarding this is highly appreciated.