Oracle SOA Suite Online Training

Interested in learning Oracle SOA Suite 12c?
Learn from the author of this blog!
A complete and comprehensive course on the #1 platform on SOA - Oracle SOA Suite

Click here to find the complete course details
Click here to check the first session on Oracle SOA Suite 12c

================================================================================================

Weblogic Managed Server startup without giving userid/password everytime

When you start the weblogic managed servers, it asks for userid/password to startup. This is unlike the Admin server which doesn't ask everytime you start, the creadentials are saved somewhere.

It would be quite helpful if the same happens for the Managed servers as well. The way you save credentials to the managed servers is very simple

Navigate to

1. <MIDDLEWARE_HOME>/user_projects/domains/<domain_name>/servers/<server_name>

2. create a folder "security", if doesn't exist

3. create a file boot.properties

4. add the following lines

username=weblogic

password=<your_password> and save it.

That is it.

The next time you start the managed server, it automatically reads this file, and gets the credentials

You can also find these lines in the startup logs which shows it gets the credentials from just created file

<Dec 9, 2012 8:02:59 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Dec 9, 2012 8:02:59 PM IST> <Notice> <Security> <BEA-090083> <Storing boot identity in the file: D:\Oracle\Middleware\user_projects\domains\soa_domain\servers\soa_server1\security\boot.properties>

1 comment:

  1. The other way to save the credentials of a managed server is

    You can find the below lines in the startManagedWebLogic.cmd file in user_projects/domain/soa-domain/bin folder

    Just enter the user and password of WLS in the below lines and save it. It won't prompt next time when you start the manged server

    ===================================
    @REM prompt.

    set WLS_USER=

    set WLS_PW=
    ===================================

    ReplyDelete