Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NameNotFoundException if the rmiregistry restarted

Ashwini Wadikar
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In my application, if the rmiregistry is killed or close abruptly, we are restarting the rmiregistry.

Next time whenever application tries to contact an object using the URL exposed, we are getting the javax.naming.NameNotFoundException since this object has to be re-registered.

Since the rmiregistry is closed silently, application will only know it whenever the object exposed is used next time.

Is there any means by which the application will get to know that the rmiregistry has been closed?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic