Hello,
I am trying to integrate your library into my current system:
- embedded jetty (8.1.8.v20121106)
- jetty-session-redis (2.3.ga)
- redis (2.6.4)
By restarting the server the RedisSessionManager.loadFromStore method always returns null, because redisData.get(0) == null.
I debugged through my app and I found out that the the initial redisMap is never stored to redis:
{accessed=1361208311937, attributes={}, context=, cookieSet=0, created=1361208311937, expiryTime=1361210111, id=1q8ks6b5lyze111qrn18ah95x9, lastAccessed=1361208311937, lastNode=null, lastSaved=1361208313748, maxIdle=1800, virtualHost=0.0.0.0}
The following redis command '"HMGET" "jetty-session-1q8ks6b5lyze111qrn18ah95x9" "id" "created" "accessed" "lastNode" "expiryTime" "lastSaved" "lastAccessed" "maxIdle" "cookieSet" "attributes"' returns:
- (nil)
- (nil)
- (nil)
- (nil)
- (nil)
- "1361208416819"
- (nil)
- (nil)
- (nil)
- "{"foo":"123"}"
Do I miss something?
Thanks for your help
Hannes
Hello,
I am trying to integrate your library into my current system:
By restarting the server the RedisSessionManager.loadFromStore method always returns null, because redisData.get(0) == null.
I debugged through my app and I found out that the the initial redisMap is never stored to redis:
{accessed=1361208311937, attributes={}, context=, cookieSet=0, created=1361208311937, expiryTime=1361210111, id=1q8ks6b5lyze111qrn18ah95x9, lastAccessed=1361208311937, lastNode=null, lastSaved=1361208313748, maxIdle=1800, virtualHost=0.0.0.0}
The following redis command '"HMGET" "jetty-session-1q8ks6b5lyze111qrn18ah95x9" "id" "created" "accessed" "lastNode" "expiryTime" "lastSaved" "lastAccessed" "maxIdle" "cookieSet" "attributes"' returns:
Do I miss something?
Thanks for your help
Hannes