Thursday, April 21, 2011

How to control the Weblogic server startup without passing the username and password

To run your managed Weblogic server without passing username and password manually, you need:
1. Create a simple textfile boot.properties. Using boot.properties, you can control the server startup without passing the username and password.
2. The file is a simple, plain, textfile with the following content:
username=weblogic
password=password_of_weblogic_user
3. Copy the boot.properties to the following location:
/YourOrracleMiddlewarePath/user_projects/domains/YourDomain/servers/YourManagedServer/security, eg:
c:/Oracle/Middleware/user_projects/wc_domain/servers/soa_server1/security

PS. If your have a fresh installation - you don't have appropriate folder structure on HDD. First start and shutdown server before above operation

No comments:

Post a Comment