ICEfaces
  1. ICEfaces
  2. ICE-2531

<ice:inputFile /> stops working when using it with seam and having seam's ejb transactions turned on (in GlassFish).

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      All

      Description

      When using icefaces with seam (deploying to GlassFish server) and when components.xml has <transaction:ejb-transaction />, file upload stops working correctly, seam is reporting ejb not found exceptions.

      When using progressbar on same page, exceptions are thrown right away.

      When only using action listener, first upload goes well, but after that, all clicks to anywhere results in errors and therefore using <ice:inputFile> renders application completely unusable. No upload possible, no actions after upload possible.

      Seam is 2.0.0GA, icefaces used is 1.7DR#3, glassfish is v2

        Activity

        Hide
        Indrek Altpere added a comment -

        After lots of testing, I finaly made as simple setup as possible.

        No backing bean, no action/progress listeners.

        <transaction:ejb-transaction /> in components.xml

        Just <ice:inputFile /> in xhtml file

        First upload goes ok, second upload or page reload ends up in exception
        NRU-org.jboss.seam.transaction.EjbSynchronizations: Cannot load from BACKUPSTORE FOR Key: <b90c00400a81f-fffffffff8432b63-1>

        It seems that uploadservlet messes up something with seam managed ejb transactions.

        It's a big show-stopper, could anyone look into this ?

        Show
        Indrek Altpere added a comment - After lots of testing, I finaly made as simple setup as possible. No backing bean, no action/progress listeners. <transaction:ejb-transaction /> in components.xml Just <ice:inputFile /> in xhtml file First upload goes ok, second upload or page reload ends up in exception NRU-org.jboss.seam.transaction.EjbSynchronizations: Cannot load from BACKUPSTORE FOR Key: <b90c00400a81f-fffffffff8432b63-1> It seems that uploadservlet messes up something with seam managed ejb transactions. It's a big show-stopper, could anyone look into this ?
        Hide
        Judy Guglielmin added a comment -

        seam-comp-showcase now shows fileupload (War version) with persistence layer defined (using embedded Derby database) and Seam transaction management enabled. Problem was with Glassfish v2 (embedded Derby & hibernate/toplink )....the async components still work but get caching exception.
        Works great with Glassfish v2.1.

        Show
        Judy Guglielmin added a comment - seam-comp-showcase now shows fileupload (War version) with persistence layer defined (using embedded Derby database) and Seam transaction management enabled. Problem was with Glassfish v2 (embedded Derby & hibernate/toplink )....the async components still work but get caching exception. Works great with Glassfish v2.1.

          People

          • Assignee:
            Unassigned
            Reporter:
            Indrek Altpere
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: