nosamplecontent (production ready mode) AEM on JBoss

Avatar

Avatar
Ignite 1
Level 2
GPhillips58
Level 2

Likes

2 likes

Total Posts

29 posts

Correct reply

4 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
Affirm 3
View profile

Avatar
Ignite 1
Level 2
GPhillips58
Level 2

Likes

2 likes

Total Posts

29 posts

Correct reply

4 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
Affirm 3
View profile
GPhillips58
Level 2

18-12-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 5
Level 2
SameerDhawan
Level 2

Likes

11 likes

Total Posts

13 posts

Correct reply

7 solutions
Top badges earned
Affirm 5
Boost 10
Give Back 3
Give Back
Boost 5
View profile

Avatar
Affirm 5
Level 2
SameerDhawan
Level 2

Likes

11 likes

Total Posts

13 posts

Correct reply

7 solutions
Top badges earned
Affirm 5
Boost 10
Give Back 3
Give Back
Boost 5
View profile
SameerDhawan
Level 2

19-12-2019

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

Answers (0)