How to Programmatically Specify the Locations of Configuration Files for a Coherence .NET Client (Doc ID 860386.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.3.0 to 3.7.1
Information in this document applies to any platform.
***Checked for relevance on 22-Aug-2013***

Goal

When using Oracle Coherence for .NET there could potentially be problems when loading values from app.config files on the clients, as the current directory may be not the same as where the assembly is loaded from, due to differences related to .NET / MS Windows configuration.

The main Coherence related information stored in the app.config are the configuration files, such as the coherence.xmlcache-config.xml and pof-config.xml, as demonstrated in the Oracle Coherence Client Guide's Sample Windows Forms Application example.

This article provides a reference to how to programmatically specify the configuration file values.

Solution

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