Skip to Main Content

ODP.NET

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!

wallet_location in ODP Managed Provider config has no effect

Niels JespersenNov 25 2015 — edited Jan 15 2016

Hello all

Has anyone had any luck specifying the location of an Oracle Wallet in the configuration  of the managed provider. I can get Oracle Wallets working with both the managed provider and the unmanaged one, but only by specifying wallet_location in sqlnet.ora.

The setting in e.g. the configuration for managed provider does not seem to have any effect. My working example stops to work if i remove wallet_location from sqlnet.ora. c:\snot\wallet includes ewallet.p12, cwallet.sso, ewallet.lck, and cwallet.lck These were made using mkstore -create and mkstore -createcredential. The wallet works, if just sqlnet.ora references it, but I would rather prefer this configuration to be app-specific.

Here is my config, just for reference:

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

  <oracle.manageddataaccess.client>

    <version number="4.121.2.0">

      <settings>

        <setting name="WALLET_LOCATION" value="(SOURCE = (METHOD = FILE)(METHOD_DATA =(DIRECTORY = c:\snot\wallet)))"/>

        <setting name="TNS_ADMIN" value="c:\snot" />

      </settings>

    </version>

  </oracle.manageddataaccess.client>

</configuration>

Regards Niels Jespersen

This post has been answered by Niels Jespersen on Nov 26 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2016
Added on Nov 25 2015
8 comments
3,702 views