[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker

Title:ObjectBroker - BEA Systems' CORBA
Notice:See note 3 for kits; note 5 for training; note 1134 for releases
Moderator:TLE::PARODId
Created:Tue Jul 11 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1413
Total number of notes:6391

1384.0. "node name shuffle" by CSC32::R_GOLLEHON () Tue Mar 18 1997 08:28

    Okay, next question...we've tried switching to DECnet as the transport,
    but are having some problems there which seem to be caused by the
    nodename that's being passed back and forth.
    
    We execute our command on the client system which starts a server on
    the server.  This process then tries to do some internal validation of
    the client node based on the node name which will work if we register
    (internal to EDI) the TCP/IP node name.  However, if we register the
    DECnet node name our lookup fails and we get a decedi error saying that
    the client is not authorized.  
    
    The problem with using the IP node name to get it to pass the internal
    validation is that we then try to use that node name to make a callback
    to the client and start another server process there.  Of course, since
    we are using DECnet, trying to establish this connection results in an
    error.
    
    After discussing this with my engineers, it sounds like we are
    obtaining the node name from OBB and it is not stored in the DEC/EDI
    context objects.  My question is:
    
    Is there any way to get OBB to pass the DECnet node name without
    setting the client to use only the DECnet transport?  
    
    Thanks,
    
    -Robert
T.RTitleUserPersonal
Name
DateLines
1384.1answerCSC32::R_GOLLEHONTue Mar 18 1997 11:3837
    Got the answer...for reference:
    
    Here are the steps to reverse the default order for the DECnet/TCPIP
    configuration of ObjectBroker.
    
     - Export the configuration registry
    
            $APPL/BROKER EXPORT REGISTRY/CONFIGURATION config_reg.out
    
     - Edit the exported registry file and look for the following section:
    
            Value 0
              Name:                 ProviderOrder
    
              Type:                 REGKEY_MULTI_SZ
              Length:               2
              Data:                 "TCP"
            +++++++++               "DECnet"
    
    
       Change the order of the tranports.  The section should now read:
    
            Value 0
              Name:                 ProviderOrder
              Type:                 REGKEY_MULTI_SZ
              Length:               2
              Data:                 "DECnet"
            +++++++++               "TCP"
    
    
    Shutdown OBB, import the modified registry, and restart.
    
    Thanks to Dale Selby for the above info.  Apparently this is not the
    default, so the customer must have altered this at some time in the
    past.
    
    -Robert