Applies to:-
Oracle Fusion Middleware - Version 12.1.2.0.0 and laterOracle HTTP Server - Version 12.1.2.0.0 and later
SOLUTION
You can avoid password every time you launch the server with startComponent.sh/.cmd by starting it with the storeUserConfig option for the first time.
1.At the prompt, enter the following command:
$DOMAIN_HOME/bin/startComponent.sh <ohs_component_name> storeUserConfig
Please enter your password :
The system will prompt for your Node Manager password.
2.Type the password and press Enter. The system responds with this message:
3.Type y to store your Node manager password. When you subsequently use this command, you will not need to enter a password.
It creates hidden files in the users home directory after the above steps.
These files contain domain information.
for example
.wlst/nm-key-base_domain.props
.wlst/nm-cfg-base_domain.props
When using startComponent.sh to start and stop OHS 12c after the above steps,
password prompt is omitted.
How to return to the original operation
1. Stop OHS
2. Delete hidden files in the users home directory.
.wlst/nm-key-base_domain.props
.wlst/nm-cfg-base_domain.props
By removing the files, you will be prompted for the password used to configure the component.
No comments:
Post a Comment