Expand my Community achievements bar.

SOLVED

nosamplecontent (production ready mode) AEM on JBoss

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

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

Avatar

Level 3
We did leave "Install AEM Samples" unchecked but We.Retail was still deployed.

Avatar

Employee

Hi @GPhillips58,

 

I believe you unchecked Install "AEM Samples" when the first time you did the installation and ran configuration Manager. 

Please confirm.

 

Regards

Sameer Dhawan