RE: Apache 2.2 Loadbalancing/session stickiness for BEA WL 8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I had the same problem in my environment. But I was using tomcat instead of
web logic.
What is your JSESSIONID value?

It may be like:  
  1. <integervalue>  for example 423423434134
  2. <itegervalue>.<word>  for example 423423434134.weblogic1

Can you please confirm me from logs which option as above r u getting from
Cookies JSESSIONID value?



-----Original Message-----
From: Tamer Embaby [mailto:Tamer.Embaby@xxxxxxxxxx] 
Sent: Thursday, March 13, 2008 12:18 AM
To: users@xxxxxxxxxxxxxxxx
Subject:  Apache 2.2 Loadbalancing/session stickiness for BEA
WL 8.1

Hello all,

I have the below configuration on my Apache 2.2.8 test server,
my 2 backends are BEA WebLogic 8.1 servers, basically I'm testing
if I can achieve the same load balancing feature that third party
BEA WL 8.1 weblogic_module is doing.

I open a browser window and wnet to: http://myserver/ and keep on
reloading the page and each time Apache is redirecting me to difference
backend, another example when I try to follow a link on a page that was
served from backend1, it direct me to backend2 which immediately returns
404 since it doesn't have the requested resource (each backend is
serving different application for testing purposes).

It seems that Apache is performing round-robin all the way and
discarding JSESSIONID cookie variable.

Is what I'm trying to do supported by load balancer module in Apache
2.2, can I have Apache 2.2 to stick session of BEA WL 8.1, am I missing
any configuration?

cluster.conf:
<VirtualHost *:80>
        ServerName myserver

        <Proxy balancer://itcluster>
                BalancerMember http://backend1:7070 route=be1
                BalancerMember http://backend2:7020 route=be2
        </Proxy>

        <Location /balancer-manager>
                SetHandler balancer-manager
        </Location>

        ProxyPass /balancer-manager !
        ProxyPass / balancer://itcluster/
stickysession=JSESSIONID|jsessionid nofailover=On
        ProxyPassReverse / http://172.22.10.12:7045/
        ProxyPassReverse / http://172.22.10.10:7020/
 </VirtualHost>

Regards,
Tamer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux