[omniORB] Error CORBA connection- CORBA::SystemException
Duncan Grisby
duncan at grisby.org
Tue Nov 23 12:42:04 GMT 2010
On Mon, 2010-11-22 at 17:44 +0100, Amine abou moughlbay wrote:
> 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.
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?
[...]
> 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
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.
> And for the server, i get :
>
> ./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 --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list