This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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