March 22, 2020
Estimated Post Reading Time ~

AEM Application Server (Jboss) Install

Introduction:
Adobe Experience Manager can run either as a standalone server (the quickstart JAR file) or a web application within a third-party application server (the WAR file). JAR and WAR are the file types AEM is released in.
JAR is used to the standalone installation of AEM. Any web application to run needs a server for e.g. Tomcat, JBoss, etc., Jetty is the server that comes prepackaged in AEM Jar, so when you run AEM using the JAR file, then the entire AEM is using Jetty to run and execute.

Jetty is not the only server compatible, but you can run AEM inside any application container, if you opt to do so, then you will need AEM WAR file and deploy AEM as standard web-app in those servers. Application server install may be more appropriate if your existing development or deployment methods predominantly deal with WAR/EARs.
Now we could see how to install AEM in the JBOSS Application server.

Prerequisites:
· jboss-eap-7.0.0-installer.jar
· AEM 6.3/6.4 WAR file
Download and Install JBoss:
Use jboss-eap-7.0.0-installer jar file to install JBoss. Once the installation of JBoss is done, we can install the AEM server into the JBoss application server. To download and install JBoss Application Server into your machine, refer How to install JBoss EAP.  

Download AEM WAR:
Customers with a valid Maintenance & Support contract with ADOBE can download the Adobe Experience Manager (jar and as well as WAR) from the Adobe Licensing Website (LWS).  

Integrate AEM into JBoss:
· Go to the bin folder of JBoss HOME_DIRECTORY (e.g., c\jboss\bin) and click on standalone.bat file to start the JBoss server.
· By default JBoss is installed on 8080 port, hit http://<hostname>:<port> to check if Jboss server has started successfully.
· Give “admin” as a username and password.
· On the JBoss start page, click on the “Administration Console” link to go to the Admin console.
 

· In the Administration Console on the JBoss server, click on the “Deployments” option to deploy our AEM instance.
 

· Click on the “Add” button. To set the context root of the AEM, rename the war file. For e.g., if you want to access AEM as http://localhost:8080/aem63, then rename the war file to aem63.war.
 

· Then a pop up will be opened to browse the aem war file. Select the AEM WAR path, save it and enable it.
 

· Now, AEM is installed in the JBoss application server.
 

· After couple of minutes access http://<hostname>:<port>/<contextroot> (e.g., http://localhost:8080/aem63), you will be prompted to enter license information.
· Once you enter the license information, you will be navigated to a login page where you can log in using admin/admin credentials.
 

Observe that you will be normally redirected to the start page of AEM.
 

Metrics:
Average load time for a page with content, the load time of DOM content is less when we use the application server when compared to standalone AEM. We can see these metrics as below:
Application server (JBoss) Installation:
 
Standalone Installation:
 
From the above illustrations, it is clearly proved that the application server runs faster than standalone AEM.



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.