httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabricio <sopr...@gmail.com>
Subject Re: [users@httpd] DNS Round-Robin + Apache + Jboss
Date Wed, 28 Nov 2007 13:44:35 GMT
Hi Gabriel,

 It works fine, thanks ! :-)

 I'm just curious abount one thing:

 If I shutdown apache at "server1", my browser access only "server2"
and return to access "server1" if I run apache again.  It's awesome,
but  as I know this failover is not expected when using DNS
round-robin... :-/

 Is mod_jk putting some cookies on browser to force it to access only
available apache servers ?

 Regards

 Fabricio

2007/11/26, GKapitany@symcor.com <GKapitany@symcor.com>:
> Hi,
> Would be more efficient to use mod_jk in load balancing and use:
> worker.loadbalancer1.sticky_session=1.
>
> If you are looking for session replication then your container should
> support that.
>
> Gabriel
>
>
>
>
>              Fabricio
>              <soprobr@gmail.co
>              m>                                                         To
>                                        users@httpd.apache.org
>              26/11/2007 11:57                                           cc
>              AM
>                                                                    Subject
>                                        [users@httpd] DNS Round-Robin +
>              Please respond to         Apache + Jboss
>              users@httpd.apach
>                    e.org
>
>
>
>
>
>
>
>
> Hi all !
>
>  I have two apache 1.3.x servers with mod_jk and jboss servers in the
> same machines.
>
> This is my scenario:
>
> server1: apache <--> mod_jk <--> jboss
> server2: apache <--> mod_jk <--> jboss
>
>  I'm using a DNS round-robin with address "www.myapplication.com"
> poiting to our two apache/jboss servers.  Of course, I get some
> issues, because when I login in my application hosted on "server1",
> after some clicks my browser can access "server2", so I have an
> session problem.
>
>  Is there a way to share sessions between apache/jboss servers ?
>  I did some tests with jboss cluster, but I don't know if the session
> is shared as I need...  :-/
>
> Thanks !
>
>  Fabricio.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message