dispatcher config in AEM | Community
Skip to main content
hari_krishna_s1
Level 2
October 16, 2015
Solved

dispatcher config in AEM

  • October 16, 2015
  • 5 replies
  • 1417 views

Hi,

I have installed AEM 6.0 in tomcat application server. As per my understanding, in order to integrate the dispatcher need to install apache web server and configure the dispatcher module.

visitors <--> dispatcher (in apache web server, port is different from tomcat) <--> CQ5 (in tomcat app server)

Is it possible to integrate dispatcher in tomcat app server so that the flow will be as below.

visitors <--> dispacther and cq (in tomcat app server) will share the same port

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 Lokesh_Shivalingaiah

Hi Hari,

  Yes, This should work. You can install CQ5 on tomcat app server (http://wem.help.adobe.com/enterprise/en_US/10-0/wem/howto/install_application_server.html#Tomcat v6) configured with dispatcher on web server

5 replies

smacdonald2008
Level 10
October 16, 2015

Have you checked the AEM dispatcher documentation? If this information  is not clear, open a ticket against the docs please.

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

this is not possible, as the dispatcher is only available as module for a number of webservers. The dispatcher does not run inside of an application server.

kind regards,
Jörg

hari_krishna_s1
Level 2
October 16, 2015

thank you for confirmation. Now if we want to use dispatcher when AEM is deployed in tomcat flow will be as below. Just the aem app server replaced with tomcat server

 

visitors <--> dispatcher (in apache web server, port is different from tomcat) <--> CQ5 (in tomcat app server)

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi Hari,

  Yes, This should work. You can install CQ5 on tomcat app server (http://wem.help.adobe.com/enterprise/en_US/10-0/wem/howto/install_application_server.html#Tomcat v6) configured with dispatcher on web server

hari_krishna_s1
Level 2
October 16, 2015

Hi Jörg,

Thanks for the confirmation. Just to curious on dispatcher configuration., when we install the "aemauthor.war" under tomcat (changed the tomcat server.xml with port 4502), AEM will be accessed as http://localhost:4502/aemauthor will bring the AEM login page.

When we configure the dispatcher, we need to specify host and port number as below. When AEM is deployed in tomcat what should be the host name? Can i assume it will be localhost/aemauthor? Apache will be adding port to localhost when it sends the request to AEM correct?

/myRenderer
     {
     /hostname "127.0.0.1"
     /port "4503"
     }