[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2408) Icefases inputFile breaks seam application, EJB's will remain associated with another transaction and cannot be reloaded from backupstore

Indrek Altpere (JIRA) jira-events at lists.jboss.org
Wed Dec 19 06:18:43 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2408?page=comments#action_12392852 ] 
            
Indrek Altpere commented on JBSEAM-2408:
----------------------------------------

When I remove <transaction:ejb-transaction /> icefases asynchronous upload works fine, server side push render the outputprogress correctly.

As far as I know, the ejb-transaction is important for seam, so perhaps someone could take a look at what goes wrong and why the ejb remains associated with a transaction and not stored to backupstore and therefore breaks the whole thing.

> Icefases inputFile breaks seam application, EJB's will remain associated with another transaction and cannot be reloaded from backupstore
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2408
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2408
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: ICE Faces Integration
>    Affects Versions: 2.0.0.GA
>         Environment: on Glassfish server
>            Reporter: Indrek Altpere
>            Priority: Blocker
>
> When turning on seams's ejb transaction with <transaction:ejb-transaction /> icefaces file upload fails.
> When I try to render the outputprogress in upload's progress listeners, I get exception right away
> NRU-org.jboss.seam.transaction.EjbSynchronizations: Cannot load from  BACKUPSTORE FOR Key: <3e90c03b00a81f-ffffffffd01e540c-1>
>  EJB5018: An exception was thrown during an ejb invocation on [EjbSynchronizations]
>  javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: 3e90c03b00a81f-ffffffffd01e540c-1
> and in the end there is exception:
> Caused by: javax.el.ELException: /inputfile.xhtml @22,93 value="File Name: #{inputFileBackerBean.fileName}": javax.ejb.EJBException: nested exception is: java.lang.IllegalStateException: EJB is already associated with an incomplete transaction
>          at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
>          at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
>          ... 82 more
> When I turn off the progress thing for icefaces file upload and only set actionlistener (is called when file upload completes), then after first upload, whole application becomes unusable (clicking on any seam link or trying another uploads ends up at debug page with same exceptions in server log as shown before).
> It seems that EJB is not stored to because some transaction is still going on, and since it is not stored, it cannot be restored from storage and the above exceptions occur.
> I have posted full stacktraces to icefaces forums at http://www.icefaces.org/JForum/posts/list/6613.page
> Icefaces used is 1.7DR#3, seam used is Seam 2.0.0GA, Glassfish is v2 (v2ur1 does not make any difference)
> Example ear for glassfish deployment http://www.flamebox.org/fserver/soov.ear
> Source http://www.flamebox.org/fserver/soovexample.rar

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