--- Begin Message ---
Yannick JENN wrote:
Greetings Peter,
I'm registered and reading the river mailing-list for some weeks, and
wanted to post a question, but the server refuses and I got my mail back.
Hi Yannick,
Did you send a message to [email protected]
and reply to the subscription request?
What can I do ?
See attached file 'mail.txt'.
Thank you alot,
Regards,
Yannick
Title :
Notifying RegistrarEvent while network break.
Message :
Greetings from France,
I'm discovering jini in our high-availability storage product, and am for the
moment working on some critical bugs.
Sorry if my question(s) seem obvious for you, but I'm doing my best effort to
understand jini's philosophy, and technical details.
I have two pieces of software (soft1, soft2) on two computers (c1, c2) : one on
each, with a Service Registrar on each.
Considering a single service 's' declared by soft1 on c1, and on which soft2
has been registered.
Point : soft1 adds an entry on s in soft1, but is never added in soft2.
If I understood well, the Registrar mecanism adds the entry on 's' on the local
Registrar, and then notifies all other connected Registrars, and so should
notify Registrar2 of soft2 on c2.
The Registrar can be anywhere on your local network, you can have one or more,
the discovery process will allow both of your services to register with both
registrar's have you got a groups for each? It's probably easier to start with
one registrar to begin with.
The problem is that soft1 may not be able to reach soft2 (network break) while
trying to add the entry.
I have tried and RegistrarImpl:EventTask() catches a ConnectIOException when
notifing the RegistrarEvent.
This exception isn't retryable (ThrowableConstants.retryable(e) gives
INDEFINITE), the new service 's' entry is _never_ set in Registrar2 of soft2
and so never seen on the other computer.
I've checked 1 min, 5 min or 10 min later : the entry is never set in soft2.
How can it be ? Is it normal ?
What's your network configuration? Do you have DHCP? Can both computers
ordinarily contact each other with existing software? Do you have firewalling
enabled?
Thank you for your help, you're doing really great job and jini is helping us a
lot.
Regards,
Yannick
Regards,
Peter.
--- End Message ---