Dec 292011
Oracle Weblogic Server

When starting weblogic server up in Production mode, the first time it will fail, the server will not startup if the in weblogic is not present. However, WebLogic will ask on the console for the user/password for the admin user. You can also specify the user/password in the script/command line. This is because the startup requires some security/identity parameters, stored in a file called

This will give an entry in the logs. This file contains the username and password of the WebLogic Admin user,and is stored in the/servers/AdminServer/security.  However, the first time you startup, this directory has not been created yet, so you will have to accept the first time startup failure. After the failure you create the directory security under/servers/AdminServer, and create a file named Of course, you also could perform this action before starting.

Content of the in weblogic:

username=<name of WebLogic Admin ( usually weblogic)>

• Now save this file and issue the startup sequence again. The contents of the file will now be encrypted, upon successful startup. Using java weblogic.Server command to create a Boot Identity file Besides creating the file on the OS, you can also create it with the java weblogic.Server command. For example, the following command starts an Administration Server named myAdminServer and creates a boot identity file:

java -Dweblogic.system.StoreBootIdentity=true -Dweblogic.Name=myAdminServer weblogic.Server

Alternative to In case you don’t want to use the in weblogic or enter the username/password during server startup, and if security is not a concern, you can add the following values in the server startup script.

Like in<weblogic username><weblogic password>

However, keeping clear-text passwords is not recommended. You can create the in weblogic by keeping the following values in the startup script:

This will create a file under the AdminServer/security directory.   Keeping at user-defined location: The file can be placed at a user-defined location by keeping the following flag in startup script:


With this option, file can be renamed with some other name such as:


After restarting the AdminServer, it had encrypted my password and username in myboot.txt file. In case you want the file to be removed, the following option can be used:


This can be used even when you have specified a custom file. If you have specified both the options:


then after a start of Admin Server, myboot.txt will be deleted—just in case you are not sure what is Admin Server username and password.

© Incase of any copyright infringements please check copyrights page for faster resolutions.

Leave a Reply

Show Buttons
Hide Buttons