Orbix NS object (?) listing... - Object

This is a discussion on Orbix NS object (?) listing... - Object ; Hi, Can anybody tell me what this means "Object(?)" when I do a; % itadmin ns list foo on an object bound to the NS. When the process hosting the object is running, then it becomes "Object". It's obviously trying ...

+ Reply to Thread
Results 1 to 3 of 3

Orbix NS object (?) listing...

  1. Default Orbix NS object (?) listing...

    Hi,

    Can anybody tell me what this means "Object(?)" when I do a;

    % itadmin ns list foo

    on an object bound to the NS. When the process hosting the object is
    running, then it becomes "Object". It's obviously trying to contract
    the target endpoint, but I ain't sure precisely what going on there.

    Any enlightenment appreciated.

    Cheers

    Graham

  2. Default Re: Orbix NS object (?) listing...

    Hi Graham,

    The Orbix "itadmin ns list" command prior to the 6.0 release would in
    certain circumstances check to see if a node in the NamingService graph
    was a NamingContext by narrowing. If the _narrow() needed to go
    remote, and in the course of the call received an exception (TRANSIENT,
    etc), the command wasn't able to contact the server to confirm the
    type. However, the node was most likely an Object in a
    currently-inactive server, and so the command output "Object(?)" as
    you're observing. If the command could definitively deduce that the
    Object wasn't of type NamingContext, it would output "Object" without
    the question mark.

    While this method was fine for smaller naming graphs, some Orbix Naming
    Service deployments have huge graphs, and contacting the servers was
    slow and error-prone. To speed things up for these customers, we
    changed the way the "itadmin ns list" command works for release 6.0 and
    higher to not require that remote _narrow() call. So, from version 6.0
    onwards, things are a lot faster, and you won't see the "(?)" being
    output.

    Regards,
    Conor
    IONA Technologies


  3. Default Re: Orbix NS object (?) listing...

    Hi Conor,

    thanks a million for that. That response is *precisely* what I was
    looking for.
    The (?) was indeed present because the server was unavailable and when
    the server is "up" the (?) is no longer present. You're absolutley
    correct.


    thanks for the info, helped a treat.

    Cheers

    Graham


    "Conor" <jjames.flynn@gmail.com> wrote in message news:<1107446041.276409.68140@f14g2000cwb.googlegroups.com>...
    > Hi Graham,
    >
    > The Orbix "itadmin ns list" command prior to the 6.0 release would in
    > certain circumstances check to see if a node in the NamingService graph
    > was a NamingContext by narrowing. If the _narrow() needed to go
    > remote, and in the course of the call received an exception (TRANSIENT,
    > etc), the command wasn't able to contact the server to confirm the
    > type. However, the node was most likely an Object in a
    > currently-inactive server, and so the command output "Object(?)" as
    > you're observing. If the command could definitively deduce that the
    > Object wasn't of type NamingContext, it would output "Object" without
    > the question mark.
    >
    > While this method was fine for smaller naming graphs, some Orbix Naming
    > Service deployments have huge graphs, and contacting the servers was
    > slow and error-prone. To speed things up for these customers, we
    > changed the way the "itadmin ns list" command works for release 6.0 and
    > higher to not require that remote _narrow() call. So, from version 6.0
    > onwards, things are a lot faster, and you won't see the "(?)" being
    > output.
    >
    > Regards,
    > Conor
    > IONA Technologies


+ Reply to Thread

Similar Threads

  1. listing the type of an object
    By Application Development in forum Python
    Replies: 6
    Last Post: 06-28-2007, 10:42 AM
  2. Listing properties of an object
    By Application Development in forum DOTNET
    Replies: 4
    Last Post: 05-07-2007, 08:37 AM
  3. idl error in Orbix 6.3
    By Application Development in forum Object
    Replies: 4
    Last Post: 10-04-2006, 11:54 AM
  4. Need some example Orbix IORs
    By Application Development in forum Object
    Replies: 0
    Last Post: 09-07-2006, 04:57 AM
  5. ACM in orbix
    By Application Development in forum Object
    Replies: 0
    Last Post: 07-15-2004, 05:12 PM