size() is being called in a JSP page, i.e. after the http request, so presumably after the session has been closed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061124#4061124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061124