Thursday, October 21, 2010

username password : boot.properties

If your WebLogic Server is running in Production Mode and you start Admin/Managed Server it will prompt for username/password to boot/start weblogic server.


How 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.
  • Create boot.properties in $DOMAIN_HOME/servers/[server_name]/security with content likeusername=[superuser with admin role like weblogic]
    password=[password of user]
    ( create security directory also if not exist there )
  • Repeat this for Admin Server and all Managed Server.




In Development mode, Admin server don't prompt  for the username & password.

No comments:

Post a Comment