]
Ondrej Skutka reassigned JBAS-8804:
-----------------------------------
Assignee: Ondrej Skutka (was: Ales Justin)
Clustering numberguess example doesn't work
-------------------------------------------
Key: JBAS-8804
URL:
https://issues.jboss.org/browse/JBAS-8804
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Weld/CDI
Affects Versions: 6.0.0.Final
Environment: JBoss 6.0.0.Final
Reporter: Ondrej Skutka
Assignee: Ondrej Skutka
Attachments: JBAS-8804.patch
- Created cluster according to the readme
- Ran "mvn -Pjboss6cluster,ftest-jboss-cluster-6"
- The test failed:
FAILED: guessingWithFailoverTest
java.lang.AssertionError: Page should contain message Higher! expected:<true> but
was:<false>
at
org.jboss.weld.examples.numberguess.clustertest.selenium.NumberGuessClusteringTest.guessingWithFailoverTest(NumberGuessClusteringTest.java:123)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
And indeed, when running manually and shutting down one of the nodes in cluster, it
failes to synchronize the session:
13:39:03,909 WARN
[org.jboss.web.tomcat.service.session.distributedcache.ispn.DistributedCacheManager]
Problem accessing session [3V****vgLw__]: org.jboss.weld.exceptions.IllegalStateException:
WELD-000612 Unable to deserialize field. Declaring bean id
org.jboss.weld.bean-jboss.classloader:id="vfs:///home/ony/Programming/jboss-6.0.0.Final/server/all/farm/weld-numberguess.war"-ManagedBean-class
org.jboss.weld.examples.numberguess.Game, declaring class public@SessionScoped @Named
class org.jboss.weld.examples.numberguess.Game, field name randomNumber
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: