AEM 6.0 with tomcat server | Community
Skip to main content
aem_dev1
Level 3
October 16, 2015
Solved

AEM 6.0 with tomcat server

  • October 16, 2015
  • 3 replies
  • 1130 views

Hi, 

I have few questions on deploying AEM 6.0 with tomcat.

1. How do i pass "nosamplecontent" parameter to deploy AEM without any test content? Do i need to pass as part of JVM parameters?

2. Where can i specify the storage type (TarmMK or MongoDB), when AEM is deployed? By default it will be TarMK. If i want to change to MongoDB, do i need to add author,crx3mongo in sling.run.modes in web.xml?

3. I see many errors rolling after installing the Hot fix 5869 on top SP2. Does anyone see errors in error.log?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

to 1: You need to adapt the start script of tomcat before you actually deploy the WAR into tomcat.

to 2: It's a runmode as well, so you should adapt your start script.

to 3: please raise a Daycare ticket and provide the complete logs.

kind regards,
Jörg

3 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

to 1: You need to adapt the start script of tomcat before you actually deploy the WAR into tomcat.

to 2: It's a runmode as well, so you should adapt your start script.

to 3: please raise a Daycare ticket and provide the complete logs.

kind regards,
Jörg

aem_dev1
aem_dev1Author
Level 3
October 16, 2015

can you please explain more on 1 and 2

o 1: You need to adapt the start script of tomcat before you actually deploy the WAR into tomcat.

to 2: It's a runmode as well, so you should adapt your start script.

What do you mean by adapt here? Where and How should i specify these values?

Level 2
October 16, 2015

For Both 1 and 2 you need to set the  environment variables for the run modes. Pass crx3mongo runmode for Mongo.

Option1: Global Environment variables

Set CATALINA_OPTS = "-Dsling.run.modes=author,stage"  in the os environment variables.

Option 2: tomcat level

In the TOMCAT/bin/setenv.bat add CATALINA_OPTS = "-Dsling.run.modes=author,stage"