Results 1 to 3 of 3

Thread: Can a persisted proxy be reused after IceGrid restart?

  1. #1
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87

    Can a persisted proxy be reused after IceGrid restart?

    If I persist a proxy by doing _ice_toString(), then IceGrid restarted, can that proxy still be used?

    I'm guessing the answer is no unless IceGrid uses the same endpoint address for all adapters after it restarted?

    Thanks
    Budyanto

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi,

    I'm assuming you're referring to indirect proxies here. If you convert an indirect proxy to a string, the resulting string will retain its indirect nature and have one of the following forms:
    • objectid (for a well-known object)
    • objectid @ adapterid
    • objectid @ replicaid
    Consequently, these proxies will continue to work regardless of how the IceGrid endpoint configurations change. Remember that, in order to resolve indirect proxies, a client only needs a proxy for the locator; as long as you update the client's locator proxy whenever the registry's client endpoints change, everything will work correctly.

    Regards,
    Mark

  3. #3
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87
    Thats right. I'm referring to indirect proxies. I forgot about the fact that they are indirect.

    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-26-2011, 06:41 PM
  2. IceGrid Adapter and Proxy Identites
    By rpeters in forum Help Center
    Replies: 8
    Last Post: 06-30-2010, 05:27 PM
  3. Server returning an IceGrid::Session proxy
    By Borlec in forum Help Center
    Replies: 3
    Last Post: 10-06-2009, 07:52 AM
  4. IceGrid on-demand takes a while to restart
    By mefoster in forum Help Center
    Replies: 4
    Last Post: 08-20-2007, 04:27 AM
  5. IceGrid Admin Proxy
    By Greenhippo in forum Help Center
    Replies: 1
    Last Post: 03-30-2007, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •