-
1. Re: HA JNDI doesn't seem to replicate
derek Aug 6, 2002 12:29 PM (in response to derek)OK, after a bit more debugging, here's an update of the situation.
I upgraded to the v3.0.0 release, not that I think it made any difference to this specific problem.
The first machine in the cluster that comes up correctly does not find the required context/object in the HA JNDI and binds it there. After a while the second machine in the cluster comes up and DOESN'T find the object bound by the first machine and binds it there. From that point on, everything is happy, and the second object bound is available to all machines.
The problem seems to be that the HA JNDI is not replicated out to new machines at startup, but changes to the HA JNDI are replicated out to all machines in the cluster.
Regards,
Derek. -
2. Re: HA JNDI doesn't seem to replicate
slaboure Aug 8, 2002 6:42 AM (in response to derek)can you provide us with a small test code (a simple client that bind on one and then lookup on the other one for example)
-
3. Re: HA JNDI doesn't seem to replicate
derek Aug 8, 2002 7:26 AM (in response to derek)Hi Sacha
We solved the problem. As I mentioned in my later posting, the order of lookups in the source does not match the order in the clustering docs. We made a fix in the HAJNDI.java file to correct this and now everything seems to be working. I included the modified file in the posting.
Regards,
Derek. -
4. Re: HA JNDI doesn't seem to replicate
slaboure Aug 8, 2002 11:57 AM (in response to derek)Have you looked at my answer for your other post: I don't think there is a bug (and hence that your patch is needed)