problemas con cierre de sesión

duhu
12 de Mayo del 2005
Tengo una aplicación hecha en JSP, en la que trabajo con sesiones y tengo el siguiente problema.

Cuando cierro una sesión con session.invalidate() debe quedar algo de basura en memoria, porque si intento acceder a algunas páginas, me da una excepción

(el error me da también si abro otra ventana de navegador)
java.lang.IllegalStateException: getAttribute: Session already invalidated
2005-05-12 18:26:49,724 INFO [STDOUT] at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:975)
2005-05-12 18:26:49,724 INFO [STDOUT] at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:113)
2005-05-12 18:26:49,724 INFO [STDOUT] at com.tecnos.pcm.struts.action.MantenimientoAction.initVariables(MantenimientoAction.java:295)
2005-05-12 18:26:49,724 INFO [STDOUT] at com.tecnos.pcm.struts.action.MantUsuariosAction.initVariables(MantUsuariosAction.java:92)
2005-05-12 18:26:49,724 INFO [STDOUT] at com.tecnos.pcm.struts.action.MantenimientoAction.crear(MantenimientoAction.java:29)
2005-05-12 18:26:49,724 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2005-05-12 18:26:49,724 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2005-05-12 18:26:49,724 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-05-12 18:26:49,724 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-05-12 18:26:49,724 INFO [STDOUT] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
2005-05-12 18:26:49,734 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
2005-05-12 18:26:49,734 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
2005-05-12 18:26:49,734 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
2005-05-12 18:26:49,734 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)

¿Alguien sabe como resolver esto?