Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000917 [Resin] minor always 02-06-06 08:55 02-27-06 12:39
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000917: cookie change stops sticky-sessions for mod_caucho
Description (rep by Jaakko Saari)


My problem is that if I change session cookie name, mod_caucho stops handling sticky sessions correctly and does just round robin balancing.

httpd.conf:
..
ResinConfigServer 10.10.10.11 5002
ResinConfigServer 10.10.10.12 5004
..

resin.conf node1:
..
<server>
 <http port="8101" host="10.10.10.11" id="1"/>

   <!--
      - The local cluster, used for load balancing and distributed
      - backup.
     -->
   <cluster>
     <srun id="1" host="10.10.10.11" port="5002" index="1"/>
           <srun id="2" host="10.10.10.12" port="5004" index="2"/> </cluster>

     <session-cookie>CUSTOM</session-cookie>
..
</server>
  resin.conf node2:
..
<server>
 <http port="8101" host="10.10.10.12" id="2"/>

   <!--
      - The local cluster, used for load balancing and distributed
      - backup.
     -->
   <cluster>
     <srun id="1" host="10.10.10.11" port="5002" index="1"/>
           <srun id="2" host="10.10.10.12" port="5004" index="2"/> </cluster>

     <session-cookie>CUSTOM</session-cookie>
..
</server>
  If I remove the session-cookie tag the sticky sessions work okay, I also tried using CauchoHost in httpd.conf and defining just one node in <cluster> but no help.

This works fine in resin 2.x, but then again 2.x mod_caucho reads the local resin.conf where the session-cookie is set.
  I've been testing this with 3.0.12 and the latest snapshot, help please :-).

Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-06-06 08:55 ferg New Issue
02-27-06 12:39 ferg Assigned To  => ferg
02-27-06 12:39 ferg Status new => closed
02-27-06 12:39 ferg Resolution open => fixed
02-27-06 12:39 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker