Is there a known issue with setting custom run modes in CQ5.5?
I've been trying to set a custom run mode on my local publish instance of "publish,local". I've been trying to do so by adding the sling.run.modes property to the sling.properties file under crx-quickstart/conf. CQ does not seem to pick that up. It appears the only way I can get my custom run mode to register is by changing the RUN_MODE variable in the startup script.
I'm verifying that my "run mode is registered" by checking my run modes in the Sling settings tab of "Configuration Status" in the Felix console. Could it be that this is not entirely accurate and that I actually AM registering these run modes?
Making the change to the "start" script is an acceptable solution, however the documentation insists that the sling.properties approach should work. I was wondering if anyone else has had problems or knows of an outstanding issue with this in 5.5.
Are you starting CQ server using start.bat or start.sh if yes, then if you see the script it sets default run mode to "author" which overrides the property set in sling.properties file. If you see quickstart.bat or quickstart.sh it does not set the run mode during script run so it picks up sling.run.modes property set in sling.properties file.
I hope it helps you.
With upgraded instance seen this issue. In case it is vanilla instance could you please file daycare for further investigation.