nosamplecontent (production ready mode) AEM on JBoss | Community
Skip to main content
Level 3
Dec 18, 2019 9:23 PM UTC
Solved

nosamplecontent (production ready mode) AEM on JBoss

How is production ready mode (-r nosamplecontent) implemented in a JBoss installation?  The example given (java -jar aem-quickstart.jar -r nosamplecontent) doesn't apply to JBoss and domain.bat -r nosamplecontent doesn't work.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SameerDhawanAccepted solution
Employee
Dec 19, 2019 11:57 PM UTC

Hi Philips,

Multiple runmode like publish, author, nosamplescontent are supported OOTB in JEE installation. ‘nosamplecontent’ can be configured through LCM while configuring CRX.  You need to uncheck "Install AEM Samples" checkbox for the same.

 

Alternately you may modify the web.xml of cq-author ear and update the runmodes section. Then deploy this modified ear. But the modified  EAR will be wiped off when patching the environment in the future.

So the best option is to uncheck "Install AEM Samples" checkbox while configuring CRX through LCM.

 

Regards

Sameer Dhawan

4 replies

SameerDhawanAccepted solution
Employee
Dec 19, 2019 11:57 PM UTC

Hi Philips,

Multiple runmode like publish, author, nosamplescontent are supported OOTB in JEE installation. ‘nosamplecontent’ can be configured through LCM while configuring CRX.  You need to uncheck "Install AEM Samples" checkbox for the same.

 

Alternately you may modify the web.xml of cq-author ear and update the runmodes section. Then deploy this modified ear. But the modified  EAR will be wiped off when patching the environment in the future.

So the best option is to uncheck "Install AEM Samples" checkbox while configuring CRX through LCM.

 

Regards

Sameer Dhawan

Translate
Level 3
Dec 20, 2019 2:08 PM UTC
We did leave "Install AEM Samples" unchecked but We.Retail was still deployed.
Translate