[omniORB] (Newbie Question) Why can't I run eg3?

Shanmugam Deveraj shm@transynergy.net
Thu, 14 Jun 2001 09:45:41 +0200


1. 
If u r able to compile & run the examples from command line(using
'nmake') but not thro' VC++ IDE

Make sure whether the runtime libraries are used properly.
Project Settings - C++ tab - Category (Code Generation) - Debug
Multithreaded DLL for debug version and Multithreaded DLL for release
version.

2.
Make sure IOR is without any spaces or newline character. Delete the
existing one in the registry and recreate it fresh.

Hope this helps.

Regards,
Shanmugam.D.

-----Original Message-----
From: owner-omniorb-list@uk.research.att.com
[mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of
lou_liz@iafrica.com
Sent: Thursday, June 14, 2001 12:27 AM
To: omniorb-list@uk.research.att.com
Subject: [omniORB] (Newbie Question) Why can't I run eg3?


G'Day,

I deliberately trashed my omniORB installation, including any all
registry 
entries (I have Win 2000). 

Then I reinstalled the whole thing, recompiled the source code with MS
VC++ 
5.0, by the book.

Now my CORBA apps don't work any more.  The examples eg1 and eg2 run
fine, but 
eg3_clt / eg3_impl / eg3_tieimpl doesn't.  

A trace revealed that an exception is thrown in the call to
obj = orb->resolve_initial_references("NameService");

(But the call to 
obj = orb->resolve_initial_references("RootPOA");
right at the beginning of the program succeeds.)

omninames is running at the default port, just like before.  

eg3_clt and eg3_impl simply outputs "Caught CORBA::SystemException."
eg3_tieimpl give the following:

omniORB: ERROR -- A servant has been deleted that is still activated.
      id: root<0>
Caught CORBA::SystemException.

Did I overlook something, or what?

Thanks in advance for your patience.

Lourens Janse van Rensburg
Systems Engineer
Vizier Systems
South
Africa

---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/