Viewing Workflow Pages through Dispatcher Fails - No component node found at /bin/wcmcommand.servlet
AEM 6.1 SP1 is installed with a Dispatcher in front of the Author instance. The instance is running on JDK 1.8... I saw some similar errors through some searching which indicated a possible connection to JDK version.
When a author clicks "Request Publish" a workitem is assigned to the administrator. If the Administrator tries to click on the page to view the changes the page fails to load. This behavior is only observed through the Dispatcher. If accessing the Workitem through the Author directly the page loads as expected.
The error in the browser is as follows:
Cannot serve request to /bin/wcmcommand in com.day.cq.wcm.core.impl.commands.WCMCommandServlet
In the server logs it shows:
Access.log (Dispatcher):
69.46.96.183 - - [12/Apr/2016:16:24:39 -0400] "GET /bin/wcmcommand?cmd=open&path=%2Fcontent%2Fcountry-sites%2Fu%2Fen&_charset_=utf-8 HTTP/1.1" 301 348 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36"
Dispatcher.log
[Tue Apr 12 16:35:33 2016] [D] [9847] Found farm authorfarm for server.com [Tue Apr 12 16:35:33 2016] [D] [9847] Connected to backend 0 (10.43.32.187:4502) [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: Referer [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: referer [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: user-agent [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: accept-encoding [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: accept-language [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: accept [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: host [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: cookie [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: Via [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: X-Forwarded-For [Tue Apr 12 16:35:33 2016] [D] [9847] Adding request header: Server-Agent [Tue Apr 12 16:35:33 2016] [D] [9847] response.status = 302 [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[Date] = "Tue, 12 Apr 2016 20:35:33 GMT" [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[X-Content-Type-Options] = "nosniff" [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[Content-Type] = "text/html" [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[Location] = "http://server.com/bin/wcmcommand?cmd=open&path=%2Fcontent%2Fcountry-sites%2Fu%2Fen&_charset_=utf-8" [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[Content-Length] = "0" [Tue Apr 12 16:35:33 2016] [D] [9847] response.headers[X-Powered-By] = "Jetty(9.2.9.v20150224)" [Tue Apr 12 16:35:33 2016] [I] [9847] "GET /etc/workflow/instances/server0/2016-04-05_6/request_for_activation_842/workItems/node1_etc_workflow_instances_server0_2016-04-05_6_request_for_activation_842.loadPayloadUrl" 302 - 11ms [Tue Apr 12 16:35:34 2016] [D] [9847] Found farm authorfarm for server.com [Tue Apr 12 16:35:34 2016] [D] [9847] Connected to backend 0 (10.43.32.187:4502) [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: user-agent [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: accept-encoding [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: accept-language [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: accept [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: host [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: cookie [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: Via [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: X-Forwarded-For [Tue Apr 12 16:35:34 2016] [D] [9847] Adding request header: Server-Agent [Tue Apr 12 16:35:34 2016] [D] [9847] response.status = 404 [Tue Apr 12 16:35:34 2016] [D] [9847] response.headers[Date] = "Tue, 12 Apr 2016 20:35:34 GMT" [Tue Apr 12 16:35:34 2016] [D] [9847] response.headers[X-Content-Type-Options] = "nosniff" [Tue Apr 12 16:35:34 2016] [D] [9847] response.headers[Content-Type] = "text/html; charset=UTF-8" [Tue Apr 12 16:35:34 2016] [D] [9847] response.headers[X-Powered-By] = "Jetty(9.2.9.v20150224)" [Tue Apr 12 16:35:34 2016] [I] [9847] "GET /bin/wcmcommand?cmd=open&path=%252Fcontent%252Fcountry-sites%252Fu%252Fen&_charset_=utf-8" 404 5336 9ms
error.log (Author AEM):
12.04.2016 15:37:38.218 *WARN* [10.43.32.248 [1460489858218] GET /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl No component node found at /bin/wcmcommand.servlet
Any help would be appreciated.
Thanks!