-
1. Re: Mod_Cluster + Wildfly Domain Question
rituraj Apr 10, 2015 1:26 AM (in response to christopher.halbersma)can you give the details about your apache setup as what are the rewrite rules you are applying and the modcluster setup as well how have you defined it ..
also what happens when you comment out the rewrite rule?
are you able to see the nodes connected to modcluster when you do on the status page http://hostname(webserver):port/mod_cluster-manager-Rituraj
-
2. Re: Mod_Cluster + Wildfly Domain Question
christopher.halbersma Apr 13, 2015 12:02 PM (in response to rituraj)Sorry for the delay.
can you give the details about your apache setup as what are the rewrite rules you are applying and the modcluster setup as well how have you defined it ..
My rewrite rule that we tried (my app is called
warranty-ws
) based on the site.ProxyPass /warranty-ws balancer://mycluster/warranty-ws stickysession=JSESSIONID|jsessionid nofailover=On
ProxyPassReverse /warranty-ws balancer://mycluster/warranty-ws
When we enable this it just changes the response from a 503 error to 404 not found error.
also what happens when you comment out the rewrite rule?
I've left if off for a while. But the app works normally it's just my warranty-ws?wsdl request that won't forward. The rest of the SOAP service seems to work as expected.
For clarification we don't have a rewrite rule in our current httpd.conf. The error just seemed similar to what we were seeing.
are you able to see the nodes connected to modcluster when you do on the status page http://hostname(webserver):port/mod_cluster-manager
Yes I see both my nodes connected when I look at the status page. And when we do load testing we see both apps being connected to in the log files.
CRH
-
3. Re: Mod_Cluster + Wildfly Domain Question
christopher.halbersma Apr 13, 2015 5:01 PM (in response to christopher.halbersma)Rituraj,
I believe I found the root cause. Here's the RHEL page on it. The quick fix using app/?wsdl works and is a better workaround than what we had been subscribing.
The list workaround with my application:
RewriteEngine On RewriteRule ^/warranty-ws$ /warranty-ws/ [R,L]
Doesn't seem to fix the issue. I believe the answer here is to upgrade to mod_cluster 1.2.4+. There may be a short term issue that helps to fix my problem I'll have to take a look at rewrite rules in apache.
Thank you very much for your assistance.
CRH