-
1. Re: Is it possible to control the number of retries on Namin
genman Aug 3, 2004 1:13 AM (in response to varunrupela)
1) Download the JBoss CVS source, modify src/main/org/jnp/interfaces/NamingContext.java. You can get the source via sourceforge, do:
cvs co -r Branch_3_2 jboss-3.2
Suggestion: Add a system property, "jnp.connectRetries", which overrides the default, hard-coded value.
2) Build and test.
3) Submit a patch via sourceforge. I, or somebody else will apply it for the next release.
You can also modify MAX_RETRIES, as it is a static integer.org.jnp.interfaces.NamingContext.MAX_RETRIES = 1;
-
2. Re: Is it possible to control the number of retries on Namin
varunrupela Aug 6, 2004 9:39 AM (in response to varunrupela)Elias:
Thanks for you reply.
Changing the value of MAX_RETRIES helped a lot.
I do have a related question:
Is there an RMI property with which we can control the timeout on the lookup call?
Thanks very much.
Varun. -
3. Re: Is it possible to control the number of retries on Namin
genman Aug 9, 2004 4:48 PM (in response to varunrupela)
I think the source might be helpful, you can track it down using CVS or download anonymously. I don't have it on this machine, but there are a few I/O settings you can play with.