[Mono-list] Remoting CORBA support

fd fd0h1440@yahoo.co.uk
15 Mar 2003 19:29:00 +0000


On Fri, 2003-03-14 at 11:29, Paolo Molaro wrote:
> I only tryed compiling the code and it's as simple as:
>       mcs /target:library -o Remoting.Corba.dll *.cs
> in the RemotingCorbaLibrary directory. It compiled fine.

I tried it against the CORBA example tarball provided at 
http://www-106.ibm.com/developerworks/linux/library/l-gn-cor/?dwzone=linux

I modified EchoClient.cs to use the HelloWorld interface provided by the
article.

The sample server (written in C) generates an IOR, which EchoClient.cs
loads from file. However, it hits an exception when run:

Exception: System.NullReferenceException: A null value was found where an object instance was required
in <0x00066> 00 System.Runtime.Remoting.TypeInfo:.ctor (System.Type)
in <0x0003d> 00 System.Runtime.Remoting.ObjRef:.ctor (System.Type,string,object)in <0x00037> 00 System.Runtime.Remoting.RemotingServices:Connect (System.Type,string)
in <0x00138> 00 Remoting.Corba.Examples.EchoClient.App:Main (string[])

Any Remoting gurus care to take this on?

> There were people in the Mono project that considered working on
> something like what you did: I don't know what the status is with
> that, but maybe now that there is a good starting point they could
join
> forces with you and contribute to your project.

AFAIK previous CORBA attempts within Mono were based on wrapping the
existing C APIs. A native CORBA implementation that's based around
Remoting will of course integrate better with other parts of .NET.