#WebLogic startup prompting from username password : boot.properties

If your WebLogic Server is running in Production Mode  (WebLogic can be configured to run in Developement or Production Mode more here)  and you start Admin/Managed Server it will prompt for username/password to boot/start weblogic server.

.

How to configure WebLogic Server running in Production Mode to bypass username/password prompt ?

  • boot.properties is the key to this answer, boot.properties (Boot Identity) is a text file which contains username/password to start/stop an instance of WebLogic Server.  More on boot.properties here
  • Create boot.properties in $DOMAIN_HOME/servers/[server_name]/security with content like
    username=[superuser with admin role like weblogic] password=[password of user]
  • Repeat tihs for Admin Server and all Managed Server.

.

.

What if We start WebLogic using Node Manager ?

  • If you use Node Manager to start WebLogic Managed Server, Node Manager encrypts and saves the credentials with which it started the server in a server-specific boot.properties at DOMAIN_HOME/servers/SERVER_NAME/data/nodemanager

 

Learn Oracle Weblogic Server Administration

 

Get 100 USD OFF + 100% Money Back Guarantee

Click here to get Early Bird Discounts

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

13 comments
Joao says January 10, 2012

Thanks Kumar, that worked perfectly!

Reply
narayana says March 20, 2012

i have created security/boot.properties under managed server but still it fails

pls help

Reply
narayana says March 20, 2012

hi,
see the result below

………

Enter username to boot WebLogic server:weblogic

[narayana@localhost bin]$

Reply
Atul Kumar says March 21, 2012

@ narayana,
Verify that username/password in boot.properties is correct, file name is correct and entry looks like

username=weblogic
password=weblogic1

where weblogic1 is password of weblogic

Reply
narayana says March 21, 2012

Thnaks for your reply

I have verified everything fine but during boot time asks username then force shutdown

domains/user_domains/WC_SPaces1/servers/spaces_m1/security/boot.properties

no idea why this is an issue

pls let me know if u need any info frm me.

Reply
Atul Kumar says March 21, 2012

@ narayana,
This could mean that either weblogic password is wrong or account is locked because of 5 wrong attempts (wait for 30 minutes)

Reply
narayana says March 22, 2012

I have created managed server(spaces_m1) from weblogic admin console and added to the cluster1.

Admin, managed servers are in the same same mahcine.
Admin serevr is up & running

../bin$./startManagedServer.sh spaces_m1 http://localhost:7001
i have placed proper boot.properties under managed server

Reply
Ant says June 6, 2012

Also not that spaces after your password will result in an error.

Reply
garamirez says June 29, 2012

Thanks! it was really helpful.

Reply
Rao says October 1, 2014

Hi,
Is it possible to decrypt the credentials from boot.properties located down DOMAIN_HOME/servers/SERVER_NAME/data/nodemanager/.

Reply
priyanka says March 15, 2015

Hello all,

I was not able to start my weblogic server…all time it was saying in prompt for user name and password for boot.
I just add a folder name “security” R:\PROJECT\BEA12\user_projects\domains\project_domain\servers\myserver\security”
under this paste the boot.properties file with user name and password….it start running properly.

Reply
Ravi says December 5, 2015

Thank you it worked.

Reply
Raghav says May 23, 2016

Hi Atul,

Thank you for the blog. It’s pretty good and having the sufficient information but I have a different requirement in bypass username/password prompt. Is there any other way in case of manual configuration in boot.properties. Our Customer don’t want to be maintain manually in the properties file in case of that they are expecting disabling of this mechanism, so how to do this??? Could you please guide me on this????
Hope to see your reply soon

Reply
Add Your Reply

Not found