Wednesday, January 2, 2013

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 every time you start, the credentials 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
4.      add the following lines
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 start-up logs which shows it gets the credentials from just created file

No comments:

Post a Comment