[Mono-devel-list] Remoting.Corba on Mono

Miguel de Icaza miguel at ximian.com
Tue May 20 19:03:23 EDT 2003


Hello,

   With the CVS version of Mono, am able to get further away with
running the clients, here is the current stack trace:

Exception: System.Runtime.Remoting.RemotingException: Cannot create channel sink to connect to URL corbaloc:iiop:1.0 at localhost:12345/TestObject. An appropriate channel has probably not been registered.
in <0x00079> 00 System.Runtime.Remoting.RemotingServices:GetClientChannelSinkChain (string,object,string&)
in <0x000c9> 00 System.Runtime.Remoting.RemotingServices:GetOrCreateClientIdentity (System.Runtime.Remoting.ObjRef,System.Type)
in <0x00017> 00 System.Runtime.Remoting.RemotingServices:GetRemoteObject (System.Runtime.Remoting.ObjRef,System.Type)
in <0x00047> 00 System.Runtime.Remoting.RemotingServices:Connect (System.Type,string)
in <0x00010> 00 System.Activator:GetObject (System.Type,string)
in <0x00050> 00 Remoting.Corba.TestClient.TestClient:Main (string[])

    Servers run into this problem:

Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type
in <0x00034> 00 Remoting.Corba.Serialization.IdlTypes.IdlSequenceWriter:SerializeIList (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0005a> 01 System.MulticastDelegate:invoke_void_GiopSerializationContext_object (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0001a> 00 Remoting.Corba.Serialization.GiopSerializer:Serialize (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0005a> 01 System.MulticastDelegate:invoke_void_GiopSerializationContext_object (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0012c> 00 Remoting.Corba.Serialization.IdlTypes.IdlSequenceWriter:SerializeIList (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0005a> 01 System.MulticastDelegate:invoke_void_GiopSerializationContext_object (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x0001a> 00 Remoting.Corba.Serialization.GiopSerializer:Serialize (Remoting.Corba.Serialization.GiopSerializationContext,object)
in <0x00121> 00 Remoting.Corba.Iiop.IiopProfile:ToTaggedProfile ()
in <0x00032> 00 Remoting.Corba.Iiop.IiopProfile:ToIor (string)
in <0x000ec> 00 Remoting.Corba.Channels.Iiop.IiopServerChannel:GetIorForObject (System.MarshalByRefObject)
in <0x00014> 00 Remoting.Corba.Channels.Iiop.IiopChannel:GetIorForObject (System.MarshalByRefObject)
in <0x000e7> 00 Remoting.Corba.TestServer.TestServer:Main (string[])

    Typically an array of bytes is being serialized, but then the
serializer invokes the same array-serialization function on a byte,
which is the above failure.

    I also ran the regression test suite with NUnit and found multiple
problems.  I guess I need to setup TAO before I can run this.

    I have uploaded my source tree with Unix makefiles here:

	http://primates.ximian.com/~miguel/tmp/RemotingCorbaUnix.zip

Miguel.



More information about the Mono-devel-list mailing list