httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42884] New: - Stick session is not working with two diffrent application in SingleSignOn
Date Fri, 13 Jul 2007 06:06:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42884>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42884

           Summary: Stick session is not working with two diffrent
                    application in SingleSignOn
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vasanth.mailinglist@gmail.com


We are having a problem in Load Balancing with Apache 2.2.4 server setup and the
issue is as follows,

We have Jboss AS 4.2.0 GA with two server instances [TestAdmin and Test] and we
have deployed two applications namely TestAdmin and Test in respective server
instance. Both the server instances are in cluster. In addition, we have
configured apache 2.2.4 with mod_proxy_balancer for load balancing.

The above configuration is replicated in other boxes in cluster.

Our primary goal of the clustering is for load balancing and Single SignOn and
not for failover [No session replication].

The proxy balancer configurations is as follows,

# Admin Load Balancer
<Proxy balancer://admin_loadbalancer >
   Order deny,allow
   Allow from all
   BalancerMember ajp://box1:8100/admin route=admin_1  loadfactor=10 smax=50
max=50 min=5 ttl=60
   BalancerMember ajp://box21:8100/admin route=admin_2  loadfactor=10 smax=50
max=50 min=5 ttl=60 </Proxy>

# Test Load Balancer
<Proxy balancer://test_loadbalancer >
   Order deny,allow
   Allow from all
   BalancerMember ajp://box1:8101/test route=test_1  loadfactor=10 smax=50
max=50 min=5 ttl=60
   BalancerMember ajp://box2:8101/test route=test_2  loadfactor=10 smax=50
max=50 min=5 ttl=60 </Proxy>

ProxyRequests off
ProxyPass /admin        balancer://admin_loadbalancer
lbmethod=bytraffic  nofailover=On stickysession=JSESSIONID
ProxyPass /test           balancer://test_loadbalancer
lbmethod=bytraffic  nofailover=On stickysession=JSESSIONID

With the above settings, when we login to the TestAdmin Application it appends
the jvm route in the sessionid (e.g.: xxxxx.admin_1). And when we traverse to
the Test application related link from the TestAdmin page, we are getting
Service temporarily unavailable exception.

When we looked into the apache error log, it says "All workers are in error
state for route (admin_1)". What we infer is that it is expecting the admin_1
route in test_balancer but the test_balancer does not have the route.

we have logged this problem in jboss and they can also reproduced the same and
advised us to log the issue in apache.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message