harryh
unread,Nov 6, 2009, 4:45:59 PM11/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
OK, I think I know what is going on here.
In production I'm still on M6, so it's non on lift actors yet. And I
forgot to start the SessionInfoDumper actor (doh!). So that explains
why I am seeing sessions get expired in prod, but never see any
messages from my SessionInfoDumper. Messages are getting sent to it,
but since it's never started, it's not processing them.
OK, and in Dev I'm on M7. And I am now convinced that there is a bug
introduced in M7 where no CheckAndPurge message is ever sent to
SessionMaster so it will never purge expired sessions or send messages
to sessionWatchers. I've looked back at the M6 code and I see how
everything starts up correctly, but in M7 it looks no good.
This seems like a moderately serious bug. For now I'm adding:
SessionMaster.getClass.getMethods.find(_.toString.contains
("doPing")).get.invoke(SessionMaster)
to my Boot.scala to get around it. Others using M7 may want to do the
same (pending confirmation from dpp that I have correctly analyzed the
situation).
-harryh