Hello,
I have configured Dispatcher but does not worked. Please see the dispacher.log,
I have tried the http://dev.day.com/docs/en/cq/current/deploying/dispatcher/disp_tshoot.html
http://helpx.adobe.com/experience-manager/using/dispatcher-faq.html
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] type_checker(): reconcatenated r->filename + r->path_info
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] Found farm website for dispatcher.manoramaonline.qa
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] checking [/content/geometrixx.html]
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] cachefile does not exist: /var/www/publish/cache-dispatcher/content/geometrixx.html
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] try to create new cachefile: /var/www/publish/cache-dispatcher/content/geometrixx.html
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] cache-action for [/content/geometrixx.html]: CREATE
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] connected to render rend01 (172.17.80.4:4503)
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] response.status = 400
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] response.headers[Server] = "Day-Servlet-Engine/4.1.42 "
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] response.headers[Content-Type] = "text/html"
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] response.headers[Content-Length] = "97"
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] response.headers[Date] = "Fri, 27 Dec 2013 06:30:08 GMT"
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] send http headers
[Fri Dec 27 01:30:08 2013] [D] [18897(140601249785824)] Content length: 97, written: 97
[Fri Dec 27 01:30:08 2013] [I] [18897(140601249785824)] "GET /content/geometrixx.html" 400 97 1ms
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] Found farm website for dispatcher.manoramaonline.qa
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] checking [/favicon.ico]
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] cachefile does not exist: /var/www/publish/cache-dispatcher/favicon.ico
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] try to create new cachefile: /var/www/publish/cache-dispatcher/favicon.ico
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] cache-action for [/favicon.ico]: CREATE
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] connected to render rend01 (172.17.80.4:4503)
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] response.status = 400
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] response.headers[Server] = "Day-Servlet-Engine/4.1.42 "
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] response.headers[Content-Type] = "text/html"
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] response.headers[Content-Length] = "97"
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] response.headers[Date] = "Fri, 27 Dec 2013 06:30:08 GMT"
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] send http headers
[Fri Dec 27 01:30:08 2013] [D] [18898(140601249785824)] Content length: 97, written: 97
[Fri Dec 27 01:30:08 2013] [I] [18898(140601249785824)] "GET /favicon.ico" 400 97 1ms
Views
Replies
Total Likes
can you upload your dispatcher.any?
Views
Replies
Total Likes
I have uploaded the file.txt include apache2 configuration and dispatcher.any configurations.
Thanks
Views
Replies
Total Likes
Your CQ returns an HTTP statuscode 400. Please fix that first.
Jörg
Views
Replies
Total Likes
When i accessing http://172.17.80.4:4503/content/geometrixx-outdoors/en.html got the result without any 400 errors. But accessing through dispatcher the got the above errors with 400 status code.
http://dispatcher.test.qa/content/geometrixx-outdoors/en.html . I don't understand the reasons for this 400 errors. Our dispatcher cache conf rule is
/glob "*"
/type "allow"
How to troubleshoot this further?
Views
Replies
Total Likes
A "Bad Request" usually has to do something with wrong or missing HTTP headers.
Can you check which headers the request has when it hits the CQ instance (after being processed by the dispatcher)?
Please also try to use the "default" set of clientheaders (instead of "*") which was included in older dispatcher.any-templates:
/clientheaders { "referer" "user-agent" "authorization" "from" "content-type" "content-length" "accept-charset" "accept-encoding" "accept-language" "accept" "host" "if-match" "if-none-match" "if-range" "if-unmodified-since" "max-forwards" "proxy-authorization" "proxy-connection" "range" "cookie" "cq-action" "cq-handle" "handle" "action" "cqstats" "depth" "translate" "expires" "date" "dav" "ms-author-via" "if" "lock-token" "x-expected-entity-length" "destination" }
Views
Replies
Total Likes
Thanks Benedikt,
My issue fixed after use the "default" set of clientheaders (instead of "*")
Views
Replies
Total Likes
From publisher console we got Internal Server Error messge when the one directly hitting CQ successfully, and the failing one thru dispatcher
http://172.17.80.4:4503/system/console/requests
From author console we got No Requests recorded message
Views
Replies
Total Likes
Please have a look at the two requests (the one directly hitting CQ successfully, and the failing one thru dispatcher) using the Sling Recent Request Console (http://localhost:4502/system/console/requests).
Jörg
Views
Replies
Total Likes