[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

1369.0. "bank3c.c or example guide in error" by EMNTAL::STADELMANN (Sepp @ZUO 760-2609) Fri Feb 14 1997 09:12

    Documentation Bug
    
    Client:
    obb 2.7-11 cld Windows NT 4.0 Server (serv pack 2 new applied) 
    
    Server:
    obb 2.7-11 cld OpenVMS/AXP
    
    obb 2.6 manuals Guide to Examples, page 4-5, states
    
    # obbreg -O -f account.obr BankAcctFactory
    
    and the paragraph above under a. mentions it as well that
    BankAcctFactory must be specified when registring account.obr with care
    
    Doing so will not lead to success when starting the bank3c.c Client on
    a Windows NT System.
    
    Reason: the example 3 code for bank3c.c or the docu is in error
    
    the call to
    
    get_initial_obj_ref ("BankAccount",
    			 ACCT_OBJ_REF_FILE,
    			 &accountObj);
    
    mentions "BankAccount" and not "BankAcctFactory"
    and this leads to a CosNaming_NamingContext_resolve failed error, which
    is OK.
    
    Please correct the documentation or the example code as this is used by
    novice developers.
    
    Sepp,
T.RTitleUserPersonal
Name
DateLines
1369.1RECV::SLAVINFri Feb 14 1997 12:161
Please report bugs in the PTR database.
1369.2REQUE::BOWERPeter Bower, ObjectBrokerSat Feb 15 1997 11:442
    This is PTR 16-3-236.
    
1369.3CAMPY::ADEYIs there a 'Life for Dummies'?Mon Feb 17 1997 01:459
    re: Note 1369.0 by EMNTAL::STADELMANN
    
    And in a subsequent paragraph, the object name is referred to as 
    "BankFactory". 
    
    It's a good thing ObjectBroker has been sold. Maybe now it'll get the
    technical writing resources it deserves.
    
    Ken....