> The reason why the exception is being thrown is
> obvious,
> SessionLifecycleListener doesn't implement
> Serializable.  I don't understand
> why this class is being persisted within the session
> though.

Probably WW guys decided to listen on session by
storing object which implements
HttpSessionBindingListener instead of defining
listener
in web.xml

Well, obviously it's not serializable and your tomcat 
tries to persist your sessions. 


> 2. When I try to invalidate the session by calling
> ActionContext.getContext().getSession().clear() I
> get this exception:
> 
> java.lang.IllegalStateException: getAttribute:
> Session already invalidated
>       at
>
org.apache.catalina.session.StandardSession.getAttribute(StandardSession.jav
> a:954)
>       at
>
org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessi
> onFacade.java:171)
>       at
>
com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionDestroyed
> (SessionLifecycleListener.java:61)
> 
> This looks a little similar to
>
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-207.
> 
> It seems as if the sessionDestroyed method is
> invoked when the
> session.invalidate() call is made within the
> SessionMap class.  Is there
> another way I should be invalidating the session ?

That's a tricky part in tomcat - when you invalidate
session, it does calls callbacks.  but first it
invalidates session. So if code decides to look into
session it would fail...

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to