OID 12c OID_SETUP fails in WLST.SH WLSTException: Error Occurred While Performing Invoke : Creation Of Wallets Failed For Domain "Unable to Connect to Database: Incorrect location for tnsnames.ora"

(Doc ID 2335285.1)

Last updated on DECEMBER 07, 2017

Applies to:

Oracle Internet Directory - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

oid_setup failing through WLST.SH

Error in AdminServer diagnostic log

[2017-11-28T14:05:20.670-05:00] [AdminServer] [NOTIFICATION] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oidadmin] [ecid:xxx] [partition-name: DOMAIN] [tenant-name: GLOBAL] createDbWallet domain: /refresh/oracle/config/user_projects/domains/BASE_DOMAIN, oidpasswd output: password: [[
confirm password:
Unable to Connect to Database: Incorrect location for tnsnames.ora (derived from DOMAIN_HOME) or Incorrect TNS Connect string or Invalid Password
)
]]

 OR

creating wallet for the domain with error:

 

[AdminServer] [ERROR] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '85' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [partition-name: DOMAIN] [tenant-name: GLOBAL] Creation of wallets failed for domain ""

 

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