WebLogic and its
managed server prompt to enter user name and password during server start up or
shut down. Oracle provides options to skip this.
A boot
identity file contains the user credentials. An admin or managed server can
refer this file for user credentials instead of prompting at command line to
provide them. In addition, credentials encrypted.
Note:
- If choose Development mode when we creating domain,
a boot identity file is automatically created by domain creation wizard.
- If we use Node Manager to start managed server
instead of running script then, we do not need boot file because, Node
manager creates its own boot identity file and store under each server
directory “data/nodemanager”.
Steps to
create boot identity file:
- Stop all admin server as well managed servers.
- Navigate to the domain directory MW_HOME/user_projects/domains/DOMAIN_NAME/servers
- Create subdirectory security if it does not exist
under DOMAIN_NAME/servers.
- In the security directory, create a text file called boot.properties and edit it. In the file, add below lines and save it.
- Start the admin server and it will not prompt to enter
user name and password.
- User name and password encrypted by the server when
server started first time and added with timestamp when the encryption
occurred.