-
1. Re: mod_cluster only works with IE in front of Wildfly8.1/KIE-jBPM
jfclere Aug 20, 2015 4:30 AM (in response to jorgetudela)That looks like a redirection problem. A debug of httpd in error_log should help to find the problem.
-
2. Re: mod_cluster only works with IE in front of Wildfly8.1/KIE-jBPM
jorgetudela Aug 25, 2015 3:22 AM (in response to jfclere)Thanks Jean for your answer.
What I have seen in the httpd is error_logs is the following, a message saying "declining URL", which I dont know if means sth or not..
[Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2044): proxy: AJP: has released connection for (10.20.24.6)
52295 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_cluster.c(2717): cluster: balancer://bpmbalancer Found value e8Ej0hLSAV2-ah8ozFflWoq3.ncbs-flows-node1 for stickysession JSESSIONID|jsessioni d
52296 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_cluster.c(3157): cluster: Using route ncbs-flows-node1
52297 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy.c(1020): Running scheme balancer handler (attempt 0)
52298 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_http.c(1957): proxy: HTTP: declining URL ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/in.69151-4562.erraiBus?z=0000&sse=1&cli entId=69151-4562
52299 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_ajp.c(709): proxy: AJP: serving URL ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/in.69151-4562.erraiBus?z=0000&sse=1&clientId =69151-4562
52300 [Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2026): proxy: AJP: has acquired connection for (10.20.24.6)
52301 [Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2082): proxy: connecting ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/in.69151-4562.erraiBus?z=0000&sse=1&clientId=69151-4 562 to 10.20.24.6:8009
52302 [Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2209): proxy: connected /ncbs-flows/org.kie.workbench.KIEWebapp/in.69151-4562.erraiBus?z=0000&sse=1&clientId=69151-4562 to 10.20.24.6:8009
52303 [Wed Aug 19 10:13:58 2015] [debug] ajp_utils.c(31): Into ajp_handle_cping_cpong
52304 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_cluster.c(2717): cluster: balancer://bpmbalancer Found value e8Ej0hLSAV2-ah8ozFflWoq3.ncbs-flows-node1 for stickysession JSESSIONID|jsessioni d
52305 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_cluster.c(3157): cluster: Using route ncbs-flows-node1
52306 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy.c(1020): Running scheme balancer handler (attempt 0)
52307 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_http.c(1957): proxy: HTTP: declining URL ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/out.69151-4562.erraiBus?z=0&clientId=69 151-4562
52308 [Wed Aug 19 10:13:58 2015] [debug] mod_proxy_ajp.c(709): proxy: AJP: serving URL ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/out.69151-4562.erraiBus?z=0&clientId=69151-4 562
52309 [Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2026): proxy: AJP: has acquired connection for (10.20.24.6)
52310 [Wed Aug 19 10:13:58 2015] [debug] proxy_util.c(2082): proxy: connecting ajp://10.20.24.6:8009/ncbs-flows/org.kie.workbench.KIEWebapp/out.69151-4562.erraiBus?z=0&clientId=69151-4562 to 1 0.20.24.6:8009
On the other hand, I have tried to configure HTTPD just as a simple proxy, no mod_cluster, and when I access KIE/JBpm through it, both Chrome and Firefox works perfectly..so I guess It is something related with mod_cluster, and not with HTTPD.
Attached you can find my httpd/mod_cluster config.
Thanks a lot for your help.
-
httpd_modcluster.conf.zip 536 bytes
-
-
3. Re: mod_cluster only works with IE in front of Wildfly8.1/KIE-jBPM
jfclere Aug 25, 2015 4:50 AM (in response to jorgetudela)There isn't enough to see when is wrong in the error_log extract.
The configuration doesn't look OK anyway you should use 2 VirtualHost one to receive the MCPM the other for other request.
Simple proxy works... You should try using mod_proxy_balancer.