AEM Blog for Beginners & Experienced. By Chandrashekar Naik
How to install two Instances of AEM on the same Application Server
For demonstration purposes it can be appropriate to install author and publish instance in one application server. For that do the following:
1. Change sling.home variable and sling.run.modes variables of the publish instance.
2. Unpack WEB-INF/web.xml file from the AEM war file.
2. Change sling.home parameter to a different path, (absolute and relative paths are possible).
3. Change sling.run.modes to publish for the publish instance.
4. Repack the web.xml file.
5. Rename the war files, so they have different names: e.g. one rename to aemauthor.war and the other to aempublish.war.
6. Use higher memory settings, e.g. for default AEM instances use e.g.: -Xmx3072m
7. Deploy the two web applications.
8. After Deployment stop the two web applications.
9. In both author and publish instances assure that in the sling.properties files the property felix.service.urlhandlers=false is set to false (default is that it is set to true).
No comments:
Post a Comment