Connecting to Nodemanager Using UserConfigFile Fails with Access Denied Error

(Doc ID 2206495.1)

Last updated on DECEMBER 16, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.


Connecting to Nodemanager using userConfigFile fails with the below error:

wls:/offline> nmConnect(userConfigFile='/jebin/WL/soa/domains/base_domain/nodemanager/userConfigFile',userKeyFile='/jebin/WL/soa/domains/base_domain/nodemanager/userKeyFile',host='',port='5556',domainName='base_domain',domainDir='/jebin/WL/soa/domains/base_domain',nmType='plain')
Connecting to Node Manager ...
Traceback (innermost last):
File "", line 1, in ?
File "", line 123, in nmConnect
File "", line 648, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'base_domain' for user '/jebin/WL/soa/domains/base_domain/nodemanager/userConfigFile' denied
Use dumpStack() to view the full stacktrace




To reproduce the problem:

1. Connect to nodemanager providing the username/password

2. save the userConfigFile/userKeyFile with the following command:


3. This will create the two files in the given location.

4. Now trying to connect to nodemanager with this userConfigFile via the following command fails

wls:/offline> nmConnect(userConfigFile='<userConfigFile_location>',userKeyFile='<userKeyFile_location>',host='<host_ip>',port='<nodemanager_port>',domainName='base_domain',domainDir='<domain_path>',nmType='plain')


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