It’s always annoying to put Weblogic server username and password on server start-up and shutdown. It would be nice if the process could be automated. There are two different approach for this. Making this as Windows Service and set it as ‘Automatic’ in Startup Type .Other controllable approach is to manipulate the StartStopservices.cmd file of weblogic to pass the weblogic user name and password variable with a hard-coded predefined value .
To adopt the second approach take the backup of file “StartStopServices.cmd” located in below path:
and add the below strings to pass the value of the variables: -DWLS_USER=weblogic -DWLS_PW=weblogic#1
(here “weblogic#1” is my password)
Save the file and start the BI Services. It will take the username and password automatically reading from the file and trigger the start-up activities …
This will save some keystrokes at-least 🙂