Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

rmi/registry disconnect detection  RSS feed

Chris Shepherd
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to detect/recover from an rmi/registry break?
My problem is this. I have a linux box running my registry and I'm using it to distribute data to any one who wants to listen with my client software. This all works great until my dhcp lease on the linux box(registry server/data collector) times out and my IP changes. At that point, its like the rmi link just disappears. I get no more data through and it locks up the data collection thread on the client. However, there is no error thrown that I can detect.
It makes sense that changing the ip of a remote server would break the link of a remote client. However, I also run the same data display client on the server itself and am connected thru and when the server's network IP changes, it still breaks. Its almost like the registry or rmi chokes when the IP changes, no matter what IP you are using.
Does anyone have any suggestions of a way to even begin to scope this out? I never get any indication(errors) that communications are broken except the fact that the data stops coming thru.
Any help/suggestions/questions would be appreciated
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!