Get 3.2.2RC2, try it with that one. A lot of clustering issues have been fixed in the 3.2.2x release as I understand it, or perhaps not a lot, but the few there were. We saw problems with 3.2.1 that worked in 3.2.2RC1, so give it a whirl.
--- Russell Chan <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to currently get a two node cluster and a > client work only in > a failover setup. I'm using jboss-3.2.1. > > my jboss.xml file has entries such as: > > <clustered>true</clustered> > <cluster-config> > > <partition-name>TestEJBPartition</partition-name> > > <home-load-balance-policy>org.jboss.ha.framework.interfaces.FirstAvailable</home-load-balance-policy> > > <bean-load-balance-policy>org.jboss.ha.framework.interfaces.FirstAvailable</bean-load-balance-policy> > </cluster-config> > > > And, my client code has jndi.properties that look > like: > > java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory > java.naming.factory.url.pkgs=org.jboss.naming > java.naming.provider.url=172.23.254.12:20100,172.23.254.11:20100 > > (20100 is the HA-JNDI port for these two machines). > > > > > The behaviour that I'd like is for the client to use > just the first host > (172.23.254.12) until it fails, and then failover to > host 2 > (172.23.254.11). However, no matter what I try, the > client seems to > round-robin the calls. I've read through the > purchased clustering docs, > and I'm failing to see something simple here. > > The clustering DOES appear to work flawlessly, as I > have stateful, > stateless, and entity beans all in this partition, > which work. My > problem is that I want fail-over really, not > clustering per se. > > Any pointers? > > Thanks, > Russ Chan > > > -- > -- > Russell Chan, > Navaho Networks Inc. > 416 542 1590 x108 > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user