Clustering numberguess example doesn't work
-------------------------------------------

                 Key: WELD-828
                 URL: https://issues.jboss.org/browse/WELD-828
             Project: Weld
          Issue Type: Bug
          Components: Clustering, Examples
    Affects Versions: 1.1.0.Final
         Environment: JBoss 6.0.0.Final
            Reporter: Ondrej Skutka


 - 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: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to