Mantis - Resin
Viewing Issue Advanced Details
3481 minor always 05-06-09 09:38 08-06-09 09:22
ferg  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.1  
0003481: session replication issue
Env: Windows, servers a and b, front-ended by apache

UserData stored on session: An integer that gets incremented on every request and stored at key "i". It's being System.outted by the JSP on every request and appears in the logs as

alex:i: 0

The session data failed to propagate in the following scenario:

Initial State:
Servers a and b started; attribute (R) on data files cleared

Request 1:
    dispatched to server a; integer is null, init to 0, put on session

Request 2:
    dispatched to server a; integer value is 0, increment, put on session

Shutdown Server a

Request 3:
    dispatched to server b; integer value is 1(successful replication), increment, put on sessoin

Startup Server a

Request 4:
    dispatched to server a: integer value is null.

I've attached the JSP page, and logs from server a and b with com.caucho.server.level=finest

(See eng-staff mail May 1, "session replicate: toggling servers")



There are no notes attached to this issue.