• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

rmi/registry disconnect detection

 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 127.0.0.1 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
Chris
 
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic