Discussion:
[omniORB] Pb with resolve of a non-existing object on mandriva 2007.1
Erwan ADAM
2007-04-30 16:16:08 UTC
Permalink
Dear all,

Since I've gone on mandriva 2007.1 (gcc 4.1.2,
python 2.5), I've got a bug when trying to resolve
a non-existing object in naming service. The
most easy way to see that is to launch a naming
service in a terminal and use the example_echo_nsclt.py
in a second one ...


On naming service side :

[***@is202803 2007.1 /export/home/adam/omniORB-4.0_HEAD]> omniNames
-start 2350 -logdir /tmp/adam/toto

Mon Apr 30 12:14:16 2007:

Starting omniNames for the first time.
Wrote initial log file.
Read log file successfully.
Root context is
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000064000000010102000f0000003133322e3136362e3135302e383900002e0900000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Checkpointing Phase 1: Prepare.
Checkpointing Phase 2: Commit.
Checkpointing completed.
omniORB: To endpoint: giop:tcp:127.0.0.1:37220. Send GIOP 1.0
MessageError because a protocol error has been detected. Connection is
closed.


On client side :

[***@is202803 2007.1 ...home/adam/omniORB-4.0_HEAD/echo]>
./example_echo_nsclt.py -ORBInitRef NameService=corbaname::is202803:2350
omniORB: Assertion failed. This indicates a bug in the application using
omniORB, or maybe in omniORB itself.
file: ../../omniORBpy/modules/pyExceptions.cc
line: 427
info: PyClass_Check(excclass)
omniORB: To endpoint: giop:tcp:127.0.0.1:2350. Send GIOP 1.0
MessageError because a protocol error has been detected. Connection is
closed.
Traceback (most recent call last):
File "./example_echo_nsclt.py", line 27, in <module>
obj = rootContext.resolve(name)
File
"/export/home/adam/omniORB-4.0_HEAD/omni_install/lib/python2.5/site-packages/CosNaming_idl.py",
line 236, in resolve
return _omnipy.invoke(self, "resolve",
_0_CosNaming.NamingContext._d_resolve, args)
omniORB.CORBA.COMM_FAILURE: CORBA.COMM_FAILURE(0x41540006,
CORBA.COMPLETED_YES)



The tests have been done with omniORB-4.0_HEAD branch on CVS base.

Does someone have an idea ?

Best regards,


E.A.
--
| Erwan ADAM ; mailto:***@cea.fr
| 01.69.08.97.80 ; http://erwan.adam.free.fr
| 06.68.81.44.79 ; fax : 01.69.08.10.87
| DEN/DM2S/SFME/LGLS, CEA Saclay, 91191 Gif/Yvette
--
Duncan Grisby
2007-04-30 17:05:41 UTC
Permalink
Post by Erwan ADAM
Since I've gone on mandriva 2007.1 (gcc 4.1.2,
python 2.5), I've got a bug when trying to resolve
a non-existing object in naming service. The
most easy way to see that is to launch a naming
service in a terminal and use the example_echo_nsclt.py
in a second one ...
[...]
Post by Erwan ADAM
The tests have been done with omniORB-4.0_HEAD branch on CVS base.
You must use omniORB 4.1.0 and omniORBpy 3.0 with Python 2.5.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Erwan ADAM
2007-05-02 22:29:10 UTC
Permalink
Post by Duncan Grisby
Post by Erwan ADAM
Since I've gone on mandriva 2007.1 (gcc 4.1.2,
python 2.5), I've got a bug when trying to resolve
a non-existing object in naming service. The
most easy way to see that is to launch a naming
service in a terminal and use the example_echo_nsclt.py
in a second one ...
[...]
Post by Erwan ADAM
The tests have been done with omniORB-4.0_HEAD branch on CVS base.
You must use omniORB 4.1.0 and omniORBpy 3.0 with Python 2.5.
Thanks a lot ...
Post by Duncan Grisby
Duncan.
E.A.
--
| Erwan ADAM ; mailto:***@cea.fr
| 01.69.08.97.80 ; http://erwan.adam.free.fr
| 06.68.81.44.79 ; fax : 01.69.08.10.87
| DEN/DM2S/SFME/LGLS, CEA Saclay, 91191 Gif/Yvette
--
Loading...