[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2242) null injected values(synchronization problem?)

Andrei Gh (JIRA) jira-events at lists.jboss.org
Tue Nov 27 04:34:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2242?page=comments#action_12389252 ] 
            
Andrei Gh commented on JBSEAM-2242:
-----------------------------------

Thanks for the advice, but @Asynchronous does not work, for 2 reasons:

1) We experience the problem described not only on one operation, but randomly, when the server is more loaded(or the net connection is slower). I have used the long operation example in order to show you how to reproduce.
This means that we will have to put @Asynchronous on every method ... it is impractical

2) We cannot use @Asynchronous for for ajax4jsf controls. It seems that if an ajax call is marked asynchronous the page does not receive the response and it does not rerender.
To be more specific, rich:suggestionbox does not work if the method is marked Asynchrounous.


> null injected values(synchronization problem?)
> ----------------------------------------------
>
>                 Key: JBSEAM-2242
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2242
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 1.2.1.GA, 2.0.0.GA
>            Reporter: Andrei Gh
>         Assigned To: Norman Richards
>         Attachments: syncBug.zip
>
>
>  am inside a long running conversation and I have a search page with a search button that triggers myBean.search().
> myBean has several conversation scoped variables, injected with @In.
> While the search page is rendered in the browser, before the render finishes, I click the search button that calls method myBean.search() on server.
> The problem is that injected values are null. 
> The problem only occurs when I call bean method(by clicking a button), BEFORE the page that contains that button finishes to render in the browser. 

-- 
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

        



More information about the seam-issues mailing list