The session storage is different depending you are or not in web context. It seems your background process is not running in web context (?) but the your SqlMapper heve been initialized in web context so it tries to retrieve the session in web context and fails.
-- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

