Ehrm... Scott, would you care to explain this to me...? On Windows, my RESIN_HOME is set to c:\java\resin c:\java\resin is a junction [1] path. If that path points to c:\java\resin-pro-4.0.0 sessions do NOT work If that path points to c:\java\resin-pro-3.1.8 sessions DO work, if I start Resin 4 (c:\java\resin-pro-4.0.0\resin.exe -server-root L:\sandbox\exder-server-root -conf L:\sandbox\exder-server-root\conf\resin.conf). (If the junction is removed, Resin refuses to start with the message "Unable to access jarfile C:\java\resin\lib\resin.jar". If the RESIN_HOME environment variable is removed, Resin 4 starts but sessions still don't work)
Is Resin 4 dependent on Resin 3.1 to handle sessions...??? /Mattias [1] http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx Scott Ferguson wrote (2009-06-02 23:50): > On Jun 2, 2009, at 12:29 PM, Mattias Jiderhamn wrote: > > >> I wrote on "resin.conf = null when upgrading to Resin 4" (2009-06-02 >> 06:48): >> >>> Sitting here trying to upgrade the dev environment to Resin 4.0 with >>> minimal changes to configuration and startup scripts. >>> On Windows I'm up and running ... >>> >> I 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 >> > > The reset is normally a message that something went wrong in loading > the session. I'll need to see if we can either improve the > information or just fix the issue. > > The bug is at http://bugs.caucho.com/view.php?id=3545 > > >> 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> >> > > FYI, this is ignored, currently, because the persistent store is > always available (it lives in resin-data). You do still need use- > persistent-store to enable the session to use it. > > -- Scott > > >> + >> <session-config> >> <use-persistent-store /> >> <session-max>4096</session-max> >> <session-timeout>30</session-timeout> >> </session-config> >> >> -- >> >> </Mattias> >>
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest