During the start of NodeManager may be you'll meet the following problem;
NMProcess: WARNING: Configuration error while reading domain directory NMProcess: weblogic.nodemanager.common.ConfigException: The domain 'base_domain' at 'D://weblogic/Oracle//Middleware//user_projects//domains//base_domain' was not registered in the nodemanager.domains file and dynamic domain registration is not supported. Please register the domain in the nodemanager.domains file.
Or during the use of mnConnect command for example:
wls:/base_domain/serverConfig> nmConnect('weblogic','xxxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'base_domain' for user 'weblogic' denied Use dumpStack() to view the full stacktrace
wls:/base_domain/serverConfig>
Solution:
You will need to add the following lines to nm_password.properties file
password=xxxxx
username=weblogic
This file is located under WL_HOME\user_projects\domains\base_domain\config\nodemanager
Note: for the first Error you'll need to stop/start NodeManager
wls:/base_domain/serverConfig> stopNodeManager()
wls:/base_domain/serverConfig> startNodeManager()
For the second error you do not need to stop/start Nodemanager
wls:/base_domain/serverConfig> nmConnect 'weblogic','xxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')
Connecting to Node Manager ...
Successfully Connected to Node Manager.
wls:/base_domain/serverConfig>
Cheers,
NMProcess: WARNING: Configuration error while reading domain directory NMProcess: weblogic.nodemanager.common.ConfigException: The domain 'base_domain' at 'D://weblogic/Oracle//Middleware//user_projects//domains//base_domain' was not registered in the nodemanager.domains file and dynamic domain registration is not supported. Please register the domain in the nodemanager.domains file.
Or during the use of mnConnect command for example:
wls:/base_domain/serverConfig> nmConnect('weblogic','xxxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'base_domain' for user 'weblogic' denied Use dumpStack() to view the full stacktrace
wls:/base_domain/serverConfig>
Solution:
You will need to add the following lines to nm_password.properties file
password=xxxxx
username=weblogic
This file is located under WL_HOME\user_projects\domains\base_domain\config\nodemanager
Note: for the first Error you'll need to stop/start NodeManager
wls:/base_domain/serverConfig> stopNodeManager()
wls:/base_domain/serverConfig> startNodeManager()
For the second error you do not need to stop/start Nodemanager
wls:/base_domain/serverConfig> nmConnect 'weblogic','xxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')
Connecting to Node Manager ...
Successfully Connected to Node Manager.
wls:/base_domain/serverConfig>
Cheers,
You are STAR. The solution worked for second error. Thanks & Thanks ///
ReplyDeleteConfirmed that the 2nd solution works. Thanks for the post!
ReplyDeleteupdating nm_password.properties file helped apart from changing the same in the Admin console alone ! Thanks
ReplyDelete