I wanted to start my weblogic soa_server without supplying each time the credentials of the weblogic account. It’s my private development server so i altered the startManagedWeblogic.sh file in my weblogic domain soa_domain.
In the startManagedWeblogic.sh you will see the following lines:
# Set WLS_USER equal to your system username and WLS_PW equal # to your system password for no username and password prompt # during server startup. Both are required to bypass the startup # prompt. WLS_USER="" export WLS_USER WLS_PW="" export WLS_PW
I changed the value of WLS_USER to weblogic and supplied WLS_PW with the password. Now when i start a server in my soa domain the script doesn’t ask for a username or password.
Popularity: 14% [?]
Theo van Arem is a Integration specialist working at 


2 Responses to “Start Weblogic Domain without entering credentials”
Hey Theo, you can also edit a boot.properties file in the domains directory. Format is:
username=weblogic
password=mypass
From the SOA domain directory the boot.properties file can be placed in:
./servers/bam_server1/security/boot.properties
./servers/soa_server1/security/boot.properties
./servers/AdminServer/security/boot.properties
if the directories or files don’t exist you can create them.
After the first bootup the password will become encrypted. I haven’t tried your method above, does the password remain clear text?
Hi Dave,
thanks for this tip. It’s a nice approach. I have tried it and it works.
The security directory existed but the boot.properties file didn’t. I created the file and enterd plain text the properties username and password with their values. During the first boot the weblogic server encripts not only the password but also the username. I didn’t specify anything else to notify the weblogic to encrypt values. With OC4J you could had to start your password with a exclamation mark ‘!’ to let OC4J encrypt of the password, and then it would only do the password.
boot.properties before start
boot.properties after first boot
#Tue May 11 10:20:32 CEST 2010 password={AES}JKPDGpvxCKwylb6WavzxtmLqwdeknyr7METpEtCTw6s\= username={AES}iaNdJIIc8aiSTK2816kK9y97zEX2j3gcCTPPpS8etKc\=