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: Seam
Issue Type: Bug
Components: ICE Faces Integration
Affects Versions: 2.0.0.GA
Environment: on Glassfish server
Reporter: Indrek Altpere
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: