Tuesday, 17 March 2015

WLSTException: Error occured while performing nmConnect

Connecting to Node Manager ...
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "<iostream>", line 123, in nmConnect
  File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'Domain' for user 'user' denied

The solution I have is:
find this file, under your Domain Directory:

locate nm_password.properties

cd to the correct path

then
mv nm_password.properties nm_password.properties.BAK

vi nm_password.properties

username=myAdminUserName
password=MyPassword

eg:
username=weblogic
password=welcome1

This will get encrypted. To force the encryption

use wlst.sh to connect to the Domain with the new credentials.

#bearMan