Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9949

Seam Booking example errors on concurrent ajax requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.2.0 ER2
    • Fix Version/s: EAP_EWP 5.3.0.ER1
    • Component/s: Seam2
    • Labels:
      None
    • Environment:

      Sun JDK 1.6, Fedora 16

    • Steps to Reproduce:
      Hide

      Run the SLink booking functional test many times until it fails.

      Show
      Run the SLink booking functional test many times until it fails.
    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW
    • Target Release:

      Description

      Seam Booking example "main.seam" page has a search field which updates results via richfaces ajax requests, but it doesn't use a4j:queue, so multiple concurrent requestes on the same page may occur. This may cause various errors, depending on the timing of the requests.

      These errors have been spotted while running the slink test on cluster:

      1. java.lang.IllegalArgumentException: factory method with defined scope outjected a value: org.jboss.seam.core.conversationList
      2. java.lang.RuntimeException: Failure to marshal argument(s), caused by
      java.util.ConcurrentModificationException
      3. java.lang.IllegalArgumentException: attempt to create merge event with null entity

      (note that I have been able to reproduce at least the error 3 also on previous EAP5.1 versions with the same test and error 1 on previous versions in a similar scenario. I believe error 2 occurs because the example doesn't set com.sun.faces.serializeServerState to true, as sugggested in Seam documentation)

        Attachments

        1. server.log.1
          261 kB
        2. server.log.2
          1.17 MB
        3. server.log.3
          491 kB

          Activity

            People

            Assignee:
            manaRH Marek Novotny
            Reporter:
            maschmid Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: