Why are you running the war file on Tomcat? It's not wrong of course.
However, I believe that most users use the standalone jar and
therefore help may be more readily available for that setup.

Regards
Julian


On Wed, Jan 11, 2017 at 4:19 AM, lancedolan <lance.do...@gmail.com> wrote:
> I cannot change run mode using the process I have in the past, with Sling8.
>
> The only thing that has worked for me was to crack open the
> org.apache.sling.launchpad-8-webapp.war file, crack open the oak jar file
> within it, edit sling_install.properties
> (sling.run.mode.install.options=oak|oak_mongo), and then zip it all back up
> again. This feels _wrong_ haha.
>
> Things I tried, which failed:
>
> -The Apache Sling Settings Service in OSGI console. It even says "The
> settings service manages some basic settings of Sling like run modes."
> However, there is no run mode config there.
>
> -JVM arguments. I've tried -Dsling.run.mode.options=oak,oak_mongo and
> -Dsling.run.modes=oak,oak_mongo. No luck.
>
> -Searched for other configurations in the configMgr console.
>
> How do I just tell a Sling instance to stop running oak_tar and start
> running oak_mongo?
>
>
>
> --
> View this message in context: 
> http://apache-sling.73963.n3.nabble.com/How-to-change-run-mode-in-Sling8-tp4069494.html
> Sent from the Sling - Users mailing list archive at Nabble.com.

Reply via email to