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
2. create a folder "security", if doesn't exist
3. create a file boot.properties
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 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>
The other way to save the credentials of a managed server isReplyDelete
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