• Find us:
    +1 415 655 1723   |   +91-844-844-8901
  • Free Newsletter


  • Archive

  • Categories

  • Three ways of providing credentials to start WebLogic server

    Posted by "" in "WebLogic" on 2014-08-04

    WebLogic server domains are controlled by administrative users. The username and password of such user is given at the time of domain creation. In order to start WebLogic server, we must provide correct administrative username and password.

    In this post, I will walk you through the different ways in which you can provide administrative user credentials to start the server. Depending on the mode of the server (Development/Production) and environment security, we can provide the credentials using three distinct ways. They are as follows:

    1. Command Line

    When you start the WebLogic server for the first time after its creation, you are asked to enter the username and password to boot the WebLogic server. The username you enter is displayed on the command line but not the password.

    Screen Shot 2014-08-04 at 10.07.43 am



    1. boot.properties

    In case of Admin servers, once you provide the username and password and the server is started, the credentials are stored in a file named boot.properties in encrypted format. The location of the file is <DOMAIN_HOME>/servers/AdminServer/security/boot.properties. Following is an example of the contents of boot.properties.

    Screen Shot 2014-08-04 at 11.57.03 am

    This file is generally not created by default for managed servers. In order to specify the credentials for the managed servers, you are required to create this file manually and specify the credentials in plain text. Once the managed server is started, WebLogic encrypts the contents of this file.

    Once this file is created, you are no longer prompted to enter the credentials.


    1. Java Option

    We can also specify the administrative username and password using Java Options. WebLogic server is basically a java process and like all java processes WebLogic makes use of various java options for configurations. WebLogic supports use of following java options to specify the credentials:



    Note that these parameters are to be provided in plain text. This option is particularly useful when you are going to create custom scripts for starting and stopping the servers. Also you can use it in startWebLogic.sh/startWebLogic.bat or setDomainEnv.sh/setDomainEnv.bat files.

    This post is just to give you an idea about various ways of providing administrative user credentials to start WebLogic server. Make sure you protect the files which store the credentials in plain text from unauthorized access.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.

    K21 Technologies
    128 Uxbridge Road, Hatchend,,
    London, HA5 4DS

    US: +1 415 655 1723
    India: +91-844-844-8901

  • Copyright 2019, K21 Technologies. All rights reserved
  • TOP