cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From footh <fo...@yahoo.com>
Subject Re: explicitly invalidating session causes error with JavaFlow
Date Tue, 04 Oct 2005 20:28:01 GMT
Does anyone have any idea on what might be going wrong
here?  Has anyone tried manually invalidating a
session within cocoon before?

--- footh <footh@yahoo.com> wrote:

> I am using Tomcat Realms for authorization.  I
> implement a "logout" by simply calling the
> invalidate() method of a session.  This worked fine
> when my app was all JSP.
> 
> However, now when I do that within JavaFlow, I get
> an
> internal server error.  Here are the details:
> 
> ----------------------------
> Message: setAttribute: Session already invalidated
> 
> Description: java.lang.IllegalStateException:
> setAttribute: Session already invalidated
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> ----------------------------
> 
> This occurs after I do a "sendPage" to send the flow
> to an internal pipeline.  I've determined that my
> call
> to invalidate() is fine, but somewhere along the
> line
> setAttribute() is called internally.  My internal
> pipeline is simply aggregating xml files.  I am sure
> I'm not calling it in any code.
> 
> So, my question is, where (and why) is cocoon trying
> to set an attribute on the session?  Is there
> another
> way I can perform a logout?
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message