First, I assume you renamed sessionObjectMap to map or vice versa but didn't update the code posted to the ranch. If not, are you working with two different variables? If so, correct this and see if it works.
In webapps, I generally try to avoid using static variables for anything other than constants. Servlet containers rely heavily on custom class loaders so I'm never comfortable that I'm always dealing with the same class though out the application.
Binding your object (session map, in this case) to context scope is a nice, servlet spec compliant way to make that resource available to all the other objects in the application.
Is that something you're willing to try? Let us know if this work for you.
-Ben [ June 21, 2008: Message edited by: Ben Souther ]