Wednesday, January 1, 2014

Create a Boot Identity File by using java weblogic.Server for an Administration Server

Boot Identity File by using java weblogic.Server for an Administration Server :
Note: Use this technique only if you invoke the java weblogic.Server command from the command line. If you use a script to start an Administration Server
Oracle recommends that we do not use the technique described in this section for the following reasons:
􀁺 It requires we to store an unencrypted password in the startup script.
􀁺 Each time we run the script, the server boots with the supplied user credentials and then creates a new boot identity file
we can create a boot identity file by invoking the weblogic.Server class directly on the command line and including the following options in the Java command:
-Dweblogic.management.username=our username
-Dweblogic.management.password=our password
-Dweblogic.system.StoreBootIdentity=true These options cause the server instance to boot with the supplied user credentials and then store them in a file named boot.properties
For example, the following command starts an Administration Server named myAdminServer and creates a boot identity file:
java -Dweblogic.management.username=weblogic
-Dweblogic.management.password=weblogic
-Dweblogic.system.StoreBootIdentity=true
-Dweblogic.Name=myAdminServer weblogic.Server
For more information about invoking the weblogic.Server class directly from a command line,see weblogic.Server Command-Line Reference in Command Reference.

No comments:

Post a Comment