This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NameNotFoundException if the rmiregistry restarted  RSS feed

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

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
Boost this thread!