[omniORB] Error CORBA connection- CORBA::SystemException
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 :
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:
> Caught a CORBA::SystemException.
> CORBA Exception
> terminate called after throwing an instance of 'DS_SystemException'
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 :
> 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 Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list