[omniORB] CORBA server problem

Javi Roman Espinar javiroman@users.sourceforge.net
Wed Nov 20 13:05:02 2002


Hi all:

I have a problem with omniORB over several architecture systems.
The following scens shows my problem.

Scen 1 ---------------------
a) System:
    Red Hat 7.2 (kernel 2.4.7-10)
b) Packages:
    omniORB-3.0.5-1
    omniORB-python-3.0.5-1
c) File /etc/omniORB.cfg:
    ORBInitRef NameService=corbaname::localhost   

I obtain the following error:

1. Boot the system

2. /etc/init.d/omniORB start

3. cd /usr/share/omniORB/examples/echo

4. ./example_echo_nssrv.py
 
Test context already exists
Traceback (innermost last):
  File "./example_echo_nssrv.py", line 48, in ?
    testContext = obj._narrow(CosNaming.NamingContext)
  File "/usr/lib/python1.5/site-packages/omniORB/CORBA.py", line 634, in 
_narrow
    return _omnipy.narrow(self, dest._NP_RepositoryId)
omniORB.CORBA.COMM_FAILURE: Minor: 113, Completed: COMPLETED_NO.
--------------------------------

I can't run the echo example server (with name server) in this system!!!
But the second scen run fine.


Scen 2 ---------------------
a) System:
    Red Hat 6.2 (kernel 2.2.14-5.0)
b) Packages:
    omniORB-3.0.5-1
    omniORB-python-3.0.5-1
c) File /etc/omniORB.cfg:
    ORBInitRef NameService=corbaname::localhost   

I repeat the steps:

1. Boot the system

2. /etc/init.d/omniORB start

3. cd /usr/share/omniORB/examples/echo

4. ./example_echo_nssrv.py

    Test context already exists
    ExampleEcho binding already existed -- rebound

---------------------------------

The server is waiting for client requests, and I can use clients
from the system with Red Hat 7.2 correctly.

What's happening? I need run object servers from Red Hat 7.2 and run the 
clients
from Red Hat 6.2!! the wrong way round!!

-- Regards.
--------------------------------------
    --
   |o_o|
   |:_/|
  //   \	Javier Román Espinar
 (|    |)    http://linuxmobile.sf.net
 /\_  _/\
 \__)=(_/
--------------------------------------