Wednesday, 18 November 2015

11g : Starting Managed Server with boot.properties

When you start your Managed Server there is a prompt for Weblogic Username and Password. You can avoid this by creating a properties file with the username and password to avoid typing everytime.
Creating Boot.Properties

Step 1

Create file boot.properties with the following content
username=weblogic
password=welcome1

Step 2

Place the boot.properties under your managed server directory
For ex: /user_projects/domains/kalyan_domain/servers/soa_server1/security
If security folder is not available create one and place the file under that.

Alternative

You can also pass parameter 
"-Dweblogic.system.BootIdentityFile=path_to_your_file" to JAVA_OPTIONS variable in your setDomainEnv.sh file

No comments:

Post a Comment