Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4580

Booking example in cluster throws org.jboss.serial.exception.SerializationException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.1.CR1
    • Fix Version/s: 2.2.1.CR1
    • Component/s: Examples
    • Labels:
      None

      Description

      Booking example doesn't work in cluster as continuing with initiated session in web browser after master instance is killed leads to Seam error page displayed. Also the org.jboss.serial.exception.SerializationException is thrown at JBossAS's console. Whole exception can be seen in attached file.

      Steps to reproduce:
      1) look at $SEAM_DIR/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/cluster/selenium/FailoverTest.java how to setup cluster environment (you should also set jboss5.home in $SEAM_DIR/build.properties)
      2) go to examples/booking and run "ant farm -Dsession.replication=true -Ddistributable=true
      3) open http://localhost:8080/seam-booking, search W Hotel, click Book hotel
      4) copy the url from web browser
      5) kill the master jboss instance
      6) go to second web browser with cookies disabled, paste the URL, change port number from 8080 to 8180
      7) now the original page should display, fill in desired data and submit the form
      8) now you can see the exception at console

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                youngm youngm
                Reporter:
                mgencur Martin Gencur
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: