Mantis - Resin
Viewing Issue Advanced Details
3545 minor always 06-02-09 14:47 06-04-09 14:17
ferg  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.1  
0003545: session issues with 4.0.0
(rep by Mattais Jiderhamn)

 apparently jumped the gun here. I am not up and running on Windows either.
While picking up my resin.conf, Resin does not handle sessions but
resets them on every request.

Example "fine" log, first request:
[20:56:44.359] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] new
[20:56:44.359] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] create session
...
Subsequent request:
[20:57:27.250] Http[11] Cookie: JSESSIONID=aaaQKDKMBgGTm9hnkvIgs
[20:57:27.750] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] reset
[20:57:27.750] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] reset
[20:57:27.750] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] new
[20:57:27.750] SessionImpl[aaaQKDKMBgGTm9hnkvIgs,] create session

Tried to find a configuration fault by debugging, but I end up really
confused. When com.caucho.server.session.SessionImpl.save() is entered,
I have a couple of values in the session, but when stepping into the
isValid() the _values Map is suddenly empty???


Here is my session config:
<persistent-store type="file">
<init>
<path>c:\temp\resin-sessions</path>
<always-save>true</always-save>
</init>
</persistent-store>
+
<session-config>
<use-persistent-store />
<session-max>4096</session-max>
<session-timeout>30</session-timeout>
</session-config>


Notes
(0004056)
ferg   
06-04-09 14:17   
server/6401 - issue is with open source persistent files.