How does the settings updated under "dispatcher" folder of an AEM Maven project is deployed to the Web Server ? | Community
Skip to main content
Level 2
December 15, 2023
Solved

How does the settings updated under "dispatcher" folder of an AEM Maven project is deployed to the Web Server ?

  • December 15, 2023
  • 2 replies
  • 738 views

Hello, I would like to understand how does any dispatcher settings updated on files under "dispatcher" folder in a Maven archetype generated Folder structure, can get updated on the real Web Server's Dispatcher module ? Since the maven command deploys our project code in the AEM Server, how are they updated back in the Dispatcher module that is sitting on another Web Server across the Network ?

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 EstebanBustamante

Hi,

 

It's important to note that the Dispatcher module in the archetype produces a .zip file. You can check this out here: Dispatcher Module .zip File. My understanding is that this .zip file is then processed by the deployment service—such as Cloud Manager if you are using AEMaaCS—through what can be described as a "black box" process. Essentially, this involves copying the .zip file, unzipping it, placing the files in their appropriate locations, and then restarting the Apache server.

 

Directly modifying the files on the web server is not recommended because the deployment process described above will overwrite these changes during the next deployment. This deployment method is designed to ensure it remains decoupled from the web server architecture, making it robust and reliable.

 

Hope this helps

2 replies

kautuk_sahni
Community Manager
Community Manager
September 17, 2024

@estebanbustamante @@Jörg_Ho @briankasingli @estebanbustamante Would it be possible for you to take a look at this question and share your thoughts? Your input would be very helpful.

Kautuk Sahni
EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 17, 2024

Hi,

 

It's important to note that the Dispatcher module in the archetype produces a .zip file. You can check this out here: Dispatcher Module .zip File. My understanding is that this .zip file is then processed by the deployment service—such as Cloud Manager if you are using AEMaaCS—through what can be described as a "black box" process. Essentially, this involves copying the .zip file, unzipping it, placing the files in their appropriate locations, and then restarting the Apache server.

 

Directly modifying the files on the web server is not recommended because the deployment process described above will overwrite these changes during the next deployment. This deployment method is designed to ensure it remains decoupled from the web server architecture, making it robust and reliable.

 

Hope this helps

Esteban Bustamante