Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting schema validation working in .Net with Coherence 3.7.1.0

769299Nov 2 2011 — edited Nov 3 2011
Hi there,

I've run into the same issue you fixed for me in Java a few days ago, but this time in .Net. See this thread about me trying to get the "auto indexing" feature to work in Coherence 3.7.1.0: 2304418

In .Net, I now run into the same issue:

at Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Initiator.OpenConnection.OnRun(Response response)
2011-11-02 12:48:22.591 <Info> (thread=System.Threading.Thread): Error establishing a connection with 166.15.224.91:9099: System.Exc
eption: Failed to load POF configuration: FileResource(Uri = file://Cache/pof-config.xml, AbsolutePath = c:\Visual Studio 2010\Proje
cts\ConsoleApplication1\ConsoleApplication1\bin\Debug\Cache\pof-config.xml) ---> System.Xml.XmlException: The 'http://schemas.tangos
ol.com/pof:param-type' element is invalid - *The value 'class' is invalid according to its datatype 'http://schemas.tangosol.com/pof:
param-type'* - The Enumeration constraint failed. ---> System.Xml.Schema.XmlSchemaValidationException: The 'http://schemas.tangosol.c
om/pof:param-type' element is invalid - The value 'class' is invalid according to its datatype 'http://schemas.tangosol.com/pof:para
m-type' - The Enumeration constraint failed. ---> System.Xml.Schema.XmlSchemaException: The Enumeration constraint failed.
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Tangosol.Run.Xml.SimpleParser.HandleValidation(Object sender, ValidationEventArgs args)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String[] args, Exception innerException)

It seems that the xsd is an older copy, where the "class" element does not exist. I've tried to web browse to "http://schemas.tangosol.com/pof", but that doesn't work. I guess the xsd is only referenced from the coherence.dll? I'm not really a Windows guy, so I have no idea how to extract the xsd from the dll to check it (so I could be wrong.)

Can someone advise here.

Many thanks.

Steve
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2011
Added on Nov 2 2011
2 comments
786 views