logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_proxy with F5 load balancer
Author
arunvk



Joined: 30 May 2013
Posts: 2
Location: US, LA

PostPosted: Thu 30 May '13 22:21    Post subject: mod_proxy with F5 load balancer Reply with quote

Hi,

I have a setup where Apache connects to a F5 load balancer which in turn balances between two jboss app servers.

Apache using mod_proxy -> F5 (hardware load balancer) -> 2 jboss application server

It uses jsessionid. I sometimes get 500 errors for the post methods. I think the request goes to the incorrect jboss server because of the F5 load balancer. Everything works just right when I shutdown one of the jboss app servers.

Is there anything I can do get around this issue. Thanks. Below is the configuration of mod_proxy

Code:

<VirtualHost x.x.x.x:80>
ServerName xxx.xxx.xxx.com
ErrorLog logs/error_log
CustomLog logs/log common
RewriteEngine on
RewriteRule ^/$ /manageCampaign/manageCampaign.faces [R]
<IfModule mod_proxy.c>
ProxyRequests On
ProxyPass /App http://loadbalanceURL/App/
ProxyPassReverse /App http://loadbalanceURL/App/
</IfModule>
</VirtualHost>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7404
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 03 Jun '13 20:16    Post subject: Reply with quote

Tried sticky sessions? Is there more information in the logs about the 500 error?
Back to top


Reply to topic   Topic: mod_proxy with F5 load balancer View previous topic :: View next topic
Post new topic   Forum Index -> Apache