[JBoss JIRA] Commented: (JBSEAM-279) Component lifetimes not guaranteed for SFSB backed components.
by Charles Abreu (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-279?page=comments#action_12340430 ]
Charles Abreu commented on JBSEAM-279:
--------------------------------------
Maybe it is related to this:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87887
> Component lifetimes not guaranteed for SFSB backed components.
> --------------------------------------------------------------
>
> Key: JBSEAM-279
> URL: http://jira.jboss.com/jira/browse/JBSEAM-279
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.1
> Reporter: ryan dewell
>
> Seam does not guarantee component lifecycles for SFSB backed components.
> The container controls when SFSB's are removed / timed out. When Seam accesses an SFSB that has been removed by the container, it results in an EJBNoSuchObjectException.
> The JBoss specific workaround for Session scoped components is to use the @CacheConfig annotation, setting the idle timeout to match the HttpSession timeout. Similar changes would have to be made to any Conversation scoped component that uses a timeout greater than the default SFSB timeout of 5 minutes (which just happens to be the default timeout for Seam conversations).
> There is no workaround for Application scoped components. Once removed by the container, EJBNoSuchObjectException's will continue to be thrown as Seam tries to access them.
> Seam's context model needs to somehow guarantee that its SFSB instances aren't removed by the container before Seam is finished with them. And/or, it needs to recover from EJBNoSuchObjectException's more gracefully, especially with regards to Application scoped components for which there is no workaround.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months