-
1. Re: Does JBoss Cluster HA_JNDI support this implementation
jerrygauth Oct 19, 2005 1:00 PM (in response to xiaogao)I think you can't configure HA-JNDI to direct all lookups to a single node. I'm not familiar with 3.2.7 but in later code, HA-JNDI uses the smart proxy with a round-robin policy to service HA-JNDI lookups. Perhaps I'm misinterpreting something but that's my understanding of the current implementation.
-
2. Re: Does JBoss Cluster HA_JNDI support this implementation
xiaogao Oct 22, 2005 9:19 PM (in response to xiaogao)Thanks for the reply
So can I say that JBoss clustering only support LB plus failover but not single failover. If I need some failover deployment like EJB HA-JNDI failover(exclude LB), I have to leverage some Hardward solution (Router IP Forward/NAT), we can not archieve that feature within JBoss. Am I right?
Thanks -
3. Re: Does JBoss Cluster HA_JNDI support this implementation
anguyen Oct 23, 2005 8:47 AM (in response to xiaogao)JBoss does come with other load-balance policies, like first available: http://docs.jboss.com/jbossas/javadoc/4.0.2/org/jboss/ha/framework/interfaces/FirstAvailable.html.
There's also http://docs.jboss.com/jbossas/javadoc/4.0.2/org/jboss/ha/framework/interfaces/FirstAvailableIdenticalAllProxies.html.
I know these are links to the 4.0.2 javadocs, but the link to the 3.2.7 javadocs aren't working. These load-balance policies may be available in 3.2.7.
This policy randomly selects the first target, so if that's not the behavior you want, you can extend this policy and customize the first target selection.