We have set up a three node cluster and we need to make a Stateful EJB aplication clustered, there. So we developed a stateful session bean and a servlet to access it. These are the steps we followed.
1. Started three nodes in "all" configuration of JBoss. (They detected each other) 2. Developed a stateful EJB which produces a Fibonacci series that makes the cpu busy. (Seperate jar) 3. Developed a client web application seperately running on the server which accesses the EJB. (Servlet) 4. Added a <clustered>true</clustered> xml entry in jboss.xml. 5. Made "provider url" in run time as follows anonymous wrote : properties.setProperty(javax.naming.Context.PROVIDER_URL,"praplk:1100,cmbtr3:1100,utswlk:1100"); 6. Made the EJB available in every node, and made a request to the master node of the cluster from some other machine in the network which doesn't belong to the cluster. 7. While the process being running (it takes some time to complete) deleted the EJB from master node to check the failover. But the process stopped and it didn't failover. 8. By making several requests from seperate machines checked the loadbalancing; but only the master node's cpu gets busy. (That means no loadbalancing) So what could be the problem? The way of making the request, The way of testing failover and load balancing or any other problem (my reference was "JBoss AS Clustering") Please get us to the right track. (we have only few days) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933268#3933268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933268 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
