You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alex N." <a....@web.de> on 2007/07/07 17:25:38 UTC

Session bean finalized - action not called

Hi,

I have developed a web-application with myfaces. Everthing is working fine.

But sometimes if the user click's on a link, it's action ( which calls a
method of a bean (session scope)) isn't called and the current page is
displayed in the target frame (not surprisingly: action attribute hasn't had
a return value to navigate to, so the current page is just redirected).
With a click on the link again, everything is working fine again.

In the debug output I see, that after the second click, the session bean has
bean instanciated.
So it must have been finalized.
But what's the reason for that?
I thought, that the lifetime of a session bean is as long as the lifetime of
the HttpSession.

I invalidate the HttpSession, when the user log's out.
But the described behaviour above happens during the session, without
logout.

Does anyone know what's happening there?






-- 
View this message in context: http://www.nabble.com/Session-bean-finalized----action-not-called-tf4040799.html#a11479442
Sent from the My Faces - Dev mailing list archive at Nabble.com.