Coherence .NET Client Throws "Unknown user type: Tangosol.Util.UUID" error (Doc ID 2170078.1)

Last updated on AUGUST 10, 2016

Applies to:

Oracle Coherence - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On  12.2.1.1.0 version, Oracle Coherence .NET and Proxy server


When attempting to connect to Coherence nodes via .net application, the following error occurs.

ERROR
-----------------------

(thread=PROXY_CACHE_SERVICE_01:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://config/coherence-pof-config.xml, AbsolutePath = C:\Sol_Coherence\Start\bin\Debug\config\coherence-pof-config.xml)"
(thread=PROXY_CACHE_SERVICE_01:TcpInitiator): An exception occurred while encoding a TcpOpenConnectionRequest for Service=PROXY_CACHE_SERVICE_01:TcpInitiator
System.ArgumentException: Unknown user type: Tangosol.Util.UUID
  en Tangosol.IO.Pof.PofStreamWriter.OnException(Exception e)
  en Tangosol.IO.Pof.PofStreamWriter.WriteUserType(Int32 iProp, Object o)
  en Tangosol.IO.Pof.PofStreamWriter.WriteObject(Int32 index, Object o)
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.OpenConnectionRequest.WriteExternal(IPofWriter writer)
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Initiator.TcpOpenConnectionRequest.WriteExternal(IPofWriter writer)
  en Tangosol.Net.Messaging.Impl.Codec.Encode(IChannel channel, IMessage message, DataWriter writer)
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Peer.EncodeMessage(IMessage message, DataWriter writer, Boolean filter)
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Peer.Send(IMessage message)
  en Tangosol.Net.Messaging.Impl.Channel.Post(IMessage message)
(thread=System.Threading.Thread): Error establishing a connection with xx.xx.xx.xx:9002: System.ArgumentException: Unknown user type: Tangosol.Util.UUID
  en Tangosol.Net.Messaging.Impl.Request.RequestStatus.get_Response()
  en Tangosol.Net.Messaging.Impl.Request.RequestStatus.WaitForResponse(Int64 millis)
  en Tangosol.Net.Messaging.Impl.Channel.Request(IRequest request, Int64 millis)
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Initiator.Initiator.OpenConnection(Connection connection)
  en Tangosol.Net.Messaging.Impl.Connection.Open()
  en Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Initiator.TcpInitiator.OpenConnection()
(thread=System.Threading.Thread): Error while starting service "PROXY_CACHE_SERVICE_01": Tangosol.Net.Messaging.ConnectionException: could not establish a connection to one of the following addresses: [xx.xx.xx.xx:9002]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
(thread=PROXY_CACHE_SERVICE_01:TcpInitiator): Stopped: TcpInitiator{Name=PROXY_CACHE_SERVICE_01:TcpInitiator, State=(Stopped), Codec=Tangosol.Net.Messaging.Impl.Codec, PingInterval=500, PingTimeout=500, RequestTimeout=30000, MaxIncomingMessageSize=0, MaxOutgoingMessageSize=0, ConnectTimeout=60000, RemoteAddresses=[xx.xx.xx.xx:9002], KeepAliveEnabled=True, TcpDelayEnabled=False, ReceiveBufferSize=0, SendBufferSize=0, LingerTimeout=-1}



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms