Discussion:
[omniORB] Error CORBA connection- CORBA::SystemException
Amine abou moughlbay
2010-11-22 22:44:44 UTC
Permalink
Hello

I am a new user of CORBA. I am trying to apply a simple exemple of CORBA communication given in : http://www.yolinux.com/TUTORIALS/CORBA.html.


All files are compiled successfully for Server and Client
Whey i launch OmniNames i get:



$ ./omniNames



Mon Nov 22 17:15:41 2010:



Read log file successfully.

Root context is
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000070000000010102000d0000003137322e32372e31312e37390000f90a0b0000004e616d6553657276696365000300000000000000080000000100000000545441010000001c0000000100000001000100010000000100010509010100010000000901010003545441080000002e72444c0100598d

Checkpointing Phase 1: Prepare.

Checkpointing Phase 2: Commit.

Checkpointing completed.





Running the Client file, i get the error below:



./Client

Caught a CORBA::SystemException.

CORBA Exception

terminate called after throwing an instance of 'DS_SystemException'

Abandon



And for the server, i get :



./Server

'IOR:010000001600000049444c3a446174612f53657276696365413a312e30000000010000000000000064000000010102000d0000003137322e32372e31312e37390000e9c40e000000fe309cea4c00002c1f000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100'

Caught CORBA::SystemException.




Thanks a lot for your help to solve these problems.
Best Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20101122/64dd3089/attachment.htm
Duncan Grisby
2010-11-23 18:42:08 UTC
Permalink
Post by Amine abou moughlbay
I am a new user of CORBA. I am trying to apply a simple exemple of
http://www.yolinux.com/TUTORIALS/CORBA.html.
That's a really over-complicated first example. It's also dangerously
wrong in a number of respects.

Have you looked at the echo example in the omniORB manual?

[...]
Post by Amine abou moughlbay
./Client
Caught a CORBA::SystemException.
CORBA Exception
terminate called after throwing an instance of 'DS_SystemException'
Abandon
At this stage the server isn't running, so I wouldn't expect the client
to work. The example is dubious in that it turns the CORBA
SystemException into its own exception class, then fails to catch it.
Post by Amine abou moughlbay
./Server
'IOR:010000001600000049444c3a446174612f53657276696365413a312e30000000010000000000000064000000010102000d0000003137322e32372e31312e37390000e9c40e000000fe309cea4c00002c1f000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100'
Caught CORBA::SystemException.
One of the several reasons that example is bad is that it hides the real
exception. Run with -ORBtraceExceptions 1 and it will tell you what the
real exception is.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...