tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Youngstrom" <you...@gmail.com>
Subject Re: Tomcat 6 sessionDidActivate() being called before contextInitialized()
Date Thu, 19 Jul 2007 04:45:52 GMT
I went ahead and created an issue:

http://issues.apache.org/bugzilla/show_bug.cgi?id=42934

On 7/17/07, Michael Youngstrom <youngm@gmail.com> wrote:
> I'm using Seam and a Seam app depends upon the Seam application being
> initialized before you can do much of anything in Seam.
>
> That said Seam puts some hooks into the sessionDidActivate() and
> sessionDidPassivate() events.  Because of that when I start up my app
> I'm getting a Seam IllegalStateException because the
> contextInitialized() event is fired after sessionDidActivate() so Seam
> is not yet initialized it's Session hooks are being fired.
>
> On a side note I noticed that sessionWillPassivate() is being before
> contextDestroyed().  So it would seem that to be consistent
> sessionDidActivate() should be called after contextInitialized().
>
> Thoughts?
>
> Should I log a bug?
>
> Here is the related Seam issue: http://jira.jboss.com/jira/browse/JBSEAM-1681
>
> Mike
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message