[JBoss JIRA] Closed: (JBSEAM-279) Component lifetimes not guaranteed for SFSB backed components.
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-279?page=all ]
Gavin King closed JBSEAM-279.
-----------------------------
Resolution: Won't Fix
This is not a bug in Seam, it is merely an inconvenient set of defaults in EJB3 and Tomcat in JBoss AS. Please take this discussion elsewhere, since this issue report is not useful here.
> 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
19 years, 10 months
[JBoss JIRA] Created: (JBSEAM-333) UI Labels and displaying the hash sign #
by Lawrence Li (JIRA)
UI Labels and displaying the hash sign #
----------------------------------------
Key: JBSEAM-333
URL: http://jira.jboss.com/jira/browse/JBSEAM-333
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 1.0.1
Reporter: Lawrence Li
I can't seem to display the hash character
In my JSP page, I have the following:
<h:outputText escape="true" value="#{messages['TestNumber']}" />
In my messages.properties file, I have:
TestNumber=Test #
Seam cannot evaluate the EL...
Cannot get value for expression '#{messages['RequestNumber.Short']}'
I've also tried the Unicode character for the hash sign:
TestNumber=Test \u0023
According to user raja05, the bug is due to code in Interpolator.interpolate which looks for a token after the hash sign - which in my case, is nonexistent since the hash sign is the last character in my label:
FacesContext context = FacesContext.getCurrentInstance();
StringTokenizer tokens = new StringTokenizer(string, "#{}", true);
StringBuilder builder = new StringBuilder(string.length());
while ( tokens.hasMoreTokens() )
{
String tok = tokens.nextToken();
if ( "#".equals(tok) )
{
String nextTok = tokens.nextToken();
--
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
19 years, 10 months
[JBoss JIRA] Created: (JBSEAM-319) s:link does not work after JBoss restart
by Chris Hane (JIRA)
s:link does not work after JBoss restart
----------------------------------------
Key: JBSEAM-319
URL: http://jira.jboss.com/jira/browse/JBSEAM-319
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.1
Environment: jboss jems 4.0.4
seam 1.1
Reporter: Chris Hane
On a results screen I use the s:link tag in a table. The results screen is generated from a SFSB with ScopeType.EVENT. When the user clicks on the <s:link /> action, a new screen opens up from another SFSB with ScopeType.CONVERSATION.
This works great until JBoss is restarted. Once restarted, the view action (below) on an existing results screen returns the results.xhtml screen without any records and does not seem to call the SFSB editor.view that I expected.
See the thread for the full description.
--
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
19 years, 10 months
[JBoss JIRA] Created: (JBSEAM-339) Event scope container (WebRequestContext) doesn't clean the beans after destroy
by German de la Cruz (JIRA)
Event scope container (WebRequestContext) doesn't clean the beans after destroy
-------------------------------------------------------------------------------
Key: JBSEAM-339
URL: http://jira.jboss.com/jira/browse/JBSEAM-339
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.0.1, 1.1
Environment: Jboss Seam nightly build 20060821, myfaces 1.1.4-SNAPSHOT from cvs. Tomahawk and tomahawk-snapshot 1.1.5-SNAPSHOT from cvs facelets 1.1.11
Reporter: German de la Cruz
Priority: Critical
Please, after the flushAndDestroyContext call, clean the destroyed bean from the event scope session (and therefore from the http request object. It produces a bug with tomahawk-sandbox and event scoped session bean. The destroyed beans are anyway invalid references and must be destroyed.
I've made a very simple patch, but anyway, it can't solve the problem since some modifications in tomahawk sandbox is needed.
--
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
19 years, 10 months