Expand my Community achievements bar.

SOLVED

dispatcher config in AEM

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

5 Replies

Avatar

Level 10

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

Avatar

Employee Advisor

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

Avatar

Level 2

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)

Avatar

Correct answer by
Level 10

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

Avatar

Level 2

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"
     }