[omniORB] Re: can't get started with the Echo sample
   
    Ramesh V. Shaastri
     
    Ramesh_Shaastri@hp.com
       
    Wed, 13 May 1998 10:37:49 -0400
    
    
  
I apologize for not mentioning the platform and environment details:
I installed OmniORB under Windows NT 4.0. I created the ORB log
directory as well as its associated environment variable.
I was using the dir.mak makefile (for cl compile+link) as well as a VC++
project. Both methods successfully build the necessary executables.
In response to my original posting I got the responses >shown below. 
>What JDK & javaidl version/vendor do you use ?
>Any sugestions ?
Sorry, but I am not using either in this situation. I do, however, use
the Sun JDK for writing Java applications. I wouldn't recommend MS VJ++
if you want to create J apps using RMI (not supported!).
>What is your platform?
Intel PII running Windows NT 4.0 (Workstation OS).
>Have you created the registry key for the naming service IOR?  I seem to
>remember having to create a key for the IOR.
Could someone tell me what should be the name+value for the key?
>   Your omniORB.cfg needs to be set up. When omniNames first starts
>it prints out an IOR, which goes in omniORB.cfg with "NAMESERVICE"
>in front of it. resolve_initial_references() will look in that file
>to find the IOR for the name service.
I have no idea of where this file needs to be set up. I couldn't find a
default file with this name in any of the subdirectories.
----------------------------Original posting---------------------------
I was able to compile and build eg3_impl.exe and eg3_clt.exe. But I keep
getting an exception when the following statement executes in eg3_impl:
initServ = orb->resolve_initial_references("NameService");
I run the omniNames.exe program before trying to execute eg3_impl. I
assume this starts the naming service (IOR)? Can someone tell me what is
going on or what I might be doing wrong?
-- rvs
******************************************************************
* Ramesh V. Shaastri                  "... some drink from the   *
* Hewlett-Packard Company              fountain of knowledge,    *
* Santa Clara Division                 while others just gargle" *
*                                      -- source unknown         *
******************************************************************