Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Which port to use for Dispatcher flush on Author Instance

RDBNDB
Level 2
Level 2

I'm trying to get the dispatcher flush to work in my author and publish instances, however, whenever I test the connection I get the following error:

*************************************************

~~Replication test to http://localhost:8000/dispatcher/invalidate.cache
17.08.2015 15:55:51 - Create new HttpClient for Dispatcher Flush
17.08.2015 15:55:51 - * Auth User: admin
17.08.2015 15:55:51 - * HTTP Version: 1.1
17.08.2015 15:55:51 - adding header: CQ-Action:Test
17.08.2015 15:55:51 - adding header: CQ-Handle:/content
17.08.2015 15:55:51 - adding header: CQ-Path:/content
17.08.2015 15:55:51 - deserialize content for delivery
17.08.2015 15:55:51 - No message body: Content ReplicationContent.VOID is empty
17.08.2015 15:55:51 - Sending GET request to http://localhost:8000/dispatcher/invalidate.cache
17.08.2015 15:55:52 - Error while sending request: java.net.ConnectException: Connection refused: connect
17.08.2015 15:55:52 - Replication (TEST) of /content not successful: java.net.ConnectException: Connection refused: connect Conversation follows
17.08.2015 15:55:52 - ------------------------------------------------
17.08.2015 15:55:52 - Sending message to localhost:8000
17.08.2015 15:55:52 - >> GET /dispatcher/invalidate.cache HTTP/1.0
17.08.2015 15:55:52 - >> CQ-Action: Test
17.08.2015 15:55:52 - >> CQ-Handle: /content
17.08.2015 15:55:52 - >> CQ-Path: /content
17.08.2015 15:55:52 - >> Referer: about:blank
17.08.2015 15:55:52 - >> Content-Length: 0
17.08.2015 15:55:52 - >> Content-Type: application/octet-stream

Replication test failed
Connection refused: connect

*******************************************************

Port 8000 was the default port so I left it, however when I check to see what ports are in use on the server, 8000 doesn't come up in the list. I'm assuming this is why I'm getting the error so my question is:  Is there any way to know what port I should be using?  My Author instance is running off port 8080 and my publish instance is using port 4502.

I'm relatively new at this so any help would be most welcome.

THanks.

1 Accepted Solution
Opkar_Gill
Correct answer by
Employee
Employee

Hi,

the dispatcher flush agent requires the web server and port number[1]. The request is sent to the Dispatcher module configured in your Apache Web server. Have you installed Apache and Dispatcher?

Regards,

Opkar

[1]http://cq-ops.tumblr.com/post/21028704658/how-to-configure-the-cq-dispatcher-flush-agent-on

[2] https://docs.adobe.com/docs/en/cq/5-6/deploying/dispatcher/page_invalidate.html

View solution in original post

0 Replies
Opkar_Gill
Correct answer by
Employee
Employee

Hi,

the dispatcher flush agent requires the web server and port number[1]. The request is sent to the Dispatcher module configured in your Apache Web server. Have you installed Apache and Dispatcher?

Regards,

Opkar

[1]http://cq-ops.tumblr.com/post/21028704658/how-to-configure-the-cq-dispatcher-flush-agent-on

[2] https://docs.adobe.com/docs/en/cq/5-6/deploying/dispatcher/page_invalidate.html

View solution in original post

RDBNDB
Level 2
Level 2

I installed the AEM forms using the turnkey installation so I'm assuming Apache and Dispatcher are there.

I change it to port 80.  The test message changes but the test still doesn't work.  I attached the test log message.

Opkar_Gill
Employee
Employee

Can you post a link to the turnkey installation you are referencing, I only found this link [1] which talks about JBoss Turnkey. I don't know of any release that would give you a working Apache Web Server and Dispatcher.

[1] https://helpx.adobe.com/aem-forms/6-1/help-tutorials.html

bsloki
Community Advisor
Community Advisor

can you get the error message in your webserver ?

RDBNDB
Level 2
Level 2

the link would be: Install and deploy AEM forms Using JBoss Turnkey

It's installed on a Windows 2008 server and the turnkey install does install JBOSS which I believe includes Apache.

 

Rob

Opkar_Gill
Employee
Employee

Hi,

It may install JBoss, but JBoss is not one of the supported products[1] for installing Dispatcher. The JBoss instance installed is only meant for  AEM Forms. You would need to install a separate Web Server and configure Dispatcher, this web server is required to specifically act as a  cache for your publish instance. Have a look at the deployment topologies[2] for AEM forms.

Regards,

Opkar

[1]https://docs.adobe.com/docs/en/dispatcher/disp-install.html

[2]https://helpx.adobe.com/aem-forms/6-1/aem-forms-architecture-deployment.html#