httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Ruggeri <DRugg...@primary.net>
Subject Re: [users@httpd] Proxy Balancing Not working as Expected
Date Mon, 24 Jun 2013 23:40:57 GMT
On 6/23/2013 11:37 PM, nskarthik wrote:
> Hi
>
> SPEC : Apache httpd 2.22 [ Cannot upgrade currently ]
> O/s SUSE Enterprise-10
> Sticky session [ Have 2 Tomcats with session based application ]
>
> The following is Configured with Sticky session as per APACHE Docs 
>
> /
> LoadModule proxy_ajp_module         modules/mod_proxy_ajp.so
> LoadModule proxy_balancer_module  modules/mod_proxy_balancer.so
> LoadModule proxy_http_module       modules/mod_proxy_http.so
> LoadModule ssl_module                  modules/mod_ssl.so 
> LoadModule proxy_connect_module  modules/mod_proxy_connect.so
> LoadModule proxy_ftp_module         modules/mod_proxy_ftp.so
> LoadModule proxy_scgi_module        modules/mod_proxy_scgi.so
>
> <Proxy balancer://myclust>
> BalancerMember http://192.168.4.32:8085  loadfactor=1
> BalancerMember http://192.168.4.32:8086  loadfactor=1
> ProxySet lbmethod=bytraffic  
> </Proxy>
> ProxyPass /APPX balancer://myclust/ stickysession=JSESSIONID
> ProxyPassReverse /APPX balancer://myclust//
>
> Problem tried
>
> a)Application APPX is not reflected  in the URL  as http://192.168.8.77/APPX
What do you mean by this? According to your requirements, should it be?
I do see that you have a trailing slash on the second argument but not
the first in ProxyPass - you should avoid this

> b)If the BalancerMember are complete defined as "BalancerMember
> http://<IP>:<PORT>/APPX ,then the application appears in the URL
> http://192.168.8.77/APPX
>
> c)Stick Session is not maintained [ have checked the application after
> logging

You can enable debug log level - the balancer will log whether it can
detect the sticky session cookie.

> HTTP Status 404 - /APPX/Dashboard.action
>
>
> Am i doing something Wrong ??
>
>
> with regards
> karthik
>
--
Daniel Ruggeri


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message