When you enable the security on WebSphere Application
Server [WAS], it will prompt you for authentication when you access
admin console, stop server and wsadmin prompt. As we discussed earlier
in other blog post about WebSphere Security, all the security related
settings are stored in config file under
Profile_root/config/cells/cell_name. File name is security.xml. The
workaround when the administrator forgot the password is to change the
security settings by manually modifying the security.xml file
Locate the security.xml file and take a backup of it. open security.xml file for editing and search for enabled=”true” modify it to enabled=”false” [you need to do this only for the very first occurrence of enabled=”true” ] Restart the servers
Note: since you do not have the password you cannot stop the servers, so use KILL command Log into admin console Enable Security again Restart the servers.
No comments:
Post a Comment