[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

1365.0. "Questions regarding the new naming server" by HOUBA::BOUCHET () Tue Feb 11 1997 09:09

I have a couple of questions regarding the new version of 
the naming server:

(1) Do you have any plan to provide a C++ binding for it ?

(2) In the mean time, what is the easier way to translate
    the C object reference returned by the resolve 
    operation into a C++ object reference (I have used 
    CORBA_ORB_object_to_string and CORBA::ORB::string_to_obj 
    as all constructors having a C object reference as 
    parameters are protected) ?

(3) Trying to use the CosNaming_NamingContext_bind/_rebind
    operations on the server side, I received the following 
    exception: OBB_INV_METHODFAIL, Id="CORBA_NO_IMPLEMENT". 
    Does it mean that the routine is not implemented ?

(4) The automatic startup does not work anymore with V2.7-11 
   (I have tried it on W95 and WNT V4.0). I received the 
   following error calling CosNaming_NamingContext_resolve

   OBB_INV_HOSTNOTFND (e), 
       A host node could not be found to execute the request.

   -OBB_INV_CANTSTRTSRV (e), Cannot start server `$ServerName$'.

   -OBB_COM_FILNOTFND (e), Could not find file `obbnamsrv'.

Cheers.

Frederic
T.RTitleUserPersonal
Name
DateLines
1365.1RECV::SLAVINTue Feb 11 1997 09:1432
Some answers :

>I have a couple of questions regarding the new version of 
>the naming server:
>
>(1) Do you have any plan to provide a C++ binding for it ?

A C++ binding for the IIOP name service is being planned, but not for 
the current OBB name service.


>(3) Trying to use the CosNaming_NamingContext_bind/_rebind
>    operations on the server side, I received the following 
>    exception: OBB_INV_METHODFAIL, Id="CORBA_NO_IMPLEMENT". 
>    Does it mean that the routine is not implemented ?

Yes. The same routines are implemented in V2.7 as were done in prior 
versions, no new routines were added. 

>(4) The automatic startup does not work anymore with V2.7-11 
>   (I have tried it on W95 and WNT V4.0). I received the 
>   following error calling CosNaming_NamingContext_resolve
>
>   OBB_INV_HOSTNOTFND (e), 
>       A host node could not be found to execute the request.
>
>   -OBB_INV_CANTSTRTSRV (e), Cannot start server `$ServerName$'.
>
>   -OBB_COM_FILNOTFND (e), Could not find file `obbnamsrv'.

See the ObjectBroker_development notes file 2331, 2355, 2424 and 
others...