Hi,
I am using the jee-jndi tag foe failover between servers as following:
Code:
<jee:jndi-lookup id="sampleBean"
jndi-name="ejb/sampleBean/remote"
cache="true"
resource-ref="true"
lookup-on-startup="true"
expected-type="com.sampleBean">
<jee:environment>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://3.62.33.24:1099, jnp://3.45.23.23:1099
</jee:environment>
</jee:jndi-lookup>
The time for failover between two servers is quite high. Even though the failover happens eventually. Is there some way , I can configure the time for failover ? Somewhere the minimum. maximum or the default is specified ?
Thanks,