Start Weblogic Servers without Entering Password

While starting the AdminServer (or) Managed Servers for the first time after the domain creation you must have been prompted for the username and password, In order to handle it, there is a task we need to do.

For Admin Server

While starting the AdminServer if you are being prompted for the username and password, follow the below steps to get rid of it.

Here my AdminServer name is "AdminServer",

  1. Go to Domain/Servers/AdminServer  (i.e: /apps/oracle-weblogic/domains/mwidomain/servers/AdminServer)
  2. cd to the directory "security" if not already exists go ahead and create it.
  3. Create a new file named "boot.properties" with your username and password as follows
username=weblogic
password=weblogic1

Restart the AdminServer

For Managed Servers

While starting the Managed Servers if you are being prompted for username and password, follow the below steps.

Here my MangedServer name is MS1

  1. Goto Domain/Servers/MS1 (i.e: /apps/oracle-weblogic/domains/mwidomain/servers/MS1)
  2. cd to the directory "security" if not already exists create it.
  3. copy the AdminServer's boot.properties to the current directory
cp /apps/oracle-weblogic/domains/mwidomain/servers/AdminServer/security/boot.properties .

Restart your managed server now and there would no more be prompting.

Hope it helps.

Cheers,
A K S A R A V

Write to us at : [email protected]

 Follow us on Facebook

 To Join our Community in Whatsapp – Click here