Booking example in cluster throws org.jboss.serial.exception.SerializationException
-----------------------------------------------------------------------------------
Key: JBSEAM-4580
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4580
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.2.1.CR1
Reporter: Martin Gencur
Attachments: exception.txt
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira