JAR
and WAR
are the file types AEM is released in. These formats are undergoing quality assurance to accomodate the support levels Adobe has committed to.
This section tells you how to install Adobe Experience Manager (AEM) with an application server. Consult the Supported Platforms section to see the specific support levels provided for the individual application servers.
The installation steps of the following Application Servers are described:
Consult the appropriate application server documentation for more information on installing web applications, server configurations and how to start and stop the server.
If you are using Dynamic Media in a WAR deployment, please see the dynamic media documentation.
AEM comes as a single war file to deploy.
If deployed the following will happen by default:
the run mode is author
the instance (Repository, Felix OSGI environment, bundles etc.) is installed in ${user.dir}/crx-quickstart
where ${user.dir}
is the current working directory, this path to crx-quickstart is called sling.home
the context root is the war file name e.g : aem-6
You can change the default behaviour in the following way:
run mode : configure the sling.run.modes
parameter in the WEB-INF/web.xml
file of the AEM war file before deployment
sling.home: configure the sling.home
parameter in the WEB-INF/web.xml
file of the AEM war file before deployment
context root: rename the AEM war file
To get a publish instance deployed you need to set the run mode to publish:
To check if all is installed you can:
error.log
file to see that all content is installed/system/console
that all bundles are installedFor demonstration purposes it can be appropriate to install author and publish instance in one application server. For that do the following:
Before a deployment read the General Description above.
Server Preparation
Let Basic Auth Headers pass through:
set "JAVA_OPTS= -Xmx2048m"
If you want to install AEM using context root = / then you have first to change the context root of the existing Default web application
Deploy AEM web application
Download AEM war file
Make your configurations In web.xml if needed (see above in the General Description)
Deploy AEM war file
Start AEM web application
Before a deployment read the General Description above.
Prepare JBoss server
Set Memory arguments in your conf file(e.g. standalone.conf
)
if you use the deployment-scanner for to install the AEM web application it might be good to increase the deployment-timeout,
for that set a deployment-timeout
attribute in the xml file of your instance (e.g configuration/standalone.xml)
:
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" deployment-timeout="1000"/>
</subsystem>
Deploy AEM web application
Upload the AEM web application in your JBoss Administration Console.
Enable the AEM web application.
Before a deployment read the General Description above.
This uses a simple Server Layout with only an Admin Server.
WebLogic Server Preparation
In ${myDomain}/config/config.xml
add to the security-configuration section:
<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>
see on https://xmlns.oracle.com/weblogic/domain/1.0/domain.xsd for the correct position (per default to position it at the end of the section is ok)Increase VM Memory settings:
${myDomain}/bin/setDomainEnv.cmd
(resp .sh)search for WLS_MEM_ARGS, set e.g set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx2048m
Create in ${myDomain}
a packages folder and inside a cq folder and in it a Plan folder
Deploy AEM web application
Download AEM war file
Put the AEM war file into the ${myDomain}/packages/cq folder
Make your configurations In WEB-INF/web.xml
if needed (see above in the General Description)
WEB-INF/web.xml
fileDeploy AEM war file as an Application, (for the other settings use the default settings)
The installation can take time…
Check that the installation has finished as mentioned above in the General Description (e.g. tailing the error.log)
You can change the context root in the Configuration tab of the web application in the WebLogic /console
Before a deployment read the General Description above.
Prepare Tomcat Server
Increase VM memory settings:
bin/catalina.bat
(resp catalina.sh
on unix) add the following setting:set "JAVA_OPTS= -Xmx2048m
Tomcat enables neither admin nor manager access at installation. Therefore you have to manually edit tomcat-users.xml
to allow access for these accounts:
tomcat-users.xml
to include access for admin and manager. The configuration should look similar to the following example: <?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="tomcat"/>
<role rolename="admin"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="admin" password="admin" roles="admin,manager-gui"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
If you like to deploy AEM with context root “/” then you have to change context root of the existing ROOT webapp:
If you install the AEM web application using the manager-gui then you need to increase the maximal size of an uploaded file, as the default only allows 50MB upload size. For that open the web.xml of the manager web application,
webapps/manager/WEB-INF/web.xml
and increase the max-file-size and max-request-size to at least 500MB, see the following multipart-config
example of such a a web.xml
file:
<multipart-config>
<!-- 500MB max -->
<max-file-size>524288000</max-file-size>
<max-request-size>524288000</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
Deploy AEM web application
Download AEM war file
Make your configurations In web.xml if needed (see above in the General Description)
Rename AEM war file to ROOT.war if you like to deploy it as root webapp, rename it to e.g aemauthor.war if you like to have aemauthor as context root
copy it into tomcat’s webapps folder
wait until AEM is installed
For information on dealing with issues that may come up during installation, see: