The Artima Developer Community
Sponsored Link

Java Answers Forum
Corba retry mechanism

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rajeev Mutalik

Posts: 57
Nickname: rajmutalik
Registered: Sep, 2002

Corba retry mechanism Posted: Jun 4, 2008 6:33 AM
Reply to this message Reply
Advertisement
Hi,

I have a scanario wherein there is a Corba Client Server application. The Corba server application may go down and come up again. In this case, in the client application the server object which it had created and used previously becomes a stale object and hence cannot communicate with the server using the same object. In this case, i wud like to reconfigure this object (with all the params like OrbInitialPort, OrbInitial host and service name). How best can I do this. I tried to do this by doing simple reconfigure(). In this method I do the same things which I used to do initally. Bu the problem is if I bring down the server and restart it for more number of times say 3-4, the client object keeps on throwing Corba COMM_FAILURE exception.
It works fine only when I restart the server application once. Note that I am not restarting the orbd, but only the corba service.

How to resolve this issue in case I restart the server application multiple times.

Regards,
Rajeev

Topic: Problem during executing Command Prompt through java Previous Topic   Next Topic Topic: Few java doubts...Please clarify...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use