My Oracle Support Banner

Connecting to Nodemanager Using UserConfigFile Fails with Access Denied Error (Doc ID 2206495.1)

Last updated on MAY 08, 2020

Applies to:

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

Symptoms

Connecting to Nodemanager using userConfigFile fails with the below error:

wls:/offline> nmConnect(userConfigFile='/MW-HOME/domains/DOMAIN-NAME/nodemanager/userConfigFile',userKeyFile='/MW-HOME/domains/DOMAIN-NAME/nodemanager/userKeyFile',host='IPADDRESS',port='PORT',domainName='DOMAIN-NAME',domainDir='/MW-HOME/domains/DOMAIN-NAME',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 '/MW-HOME/domains/DOMAIN-NAME/nodemanager/userConfigFile' denied
Use dumpStack() to view the full stacktrace

 

 

Changes

To reproduce the problem:

1. Connect to nodemanager providing the username/password

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

storeUserConfig('<userConfigFile_location>','<userKeyFile_location>','true')

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')

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.