You can use boot.properties file for starting without typing username password.
Please avoide blank lines in boot.properties file.
The clear text username and password will be encrypted the
first time Weblogic server has been started.
Weblogic Server / Admin
Server
cd
${DOMAIN_HOME}/servers/AdminServer/security
#pwd /u01/app/bihome/user_projects/domains/bifoundation_domain/servers/AdminServer/security
echo
username=weblogic > boot.properties
echo
password=******>>boot.properties
nohup
${DOMAIN_HOME}/bin/startWebLogic.sh >> Adminserver.log 2>&1
&
tail
-f Adminserver.log
|
Managed Server
cd
${MW_HOME}/user_projects/domains/bifoundation_domain/servers/bi_server1/security
#pwd /u01/app/bihome/user_projects/domains/bifoundation_domain/servers/bi_server1/security
echo
username=weblogic > boot.properties
echo
password=******>>boot.properties
cd
$DOMAIN_HOME
nohup
${DOMAIN_HOME}/bin/ startManagedWebLogic.sh
>> ManagedServer.log 2>&1 &
tail
-f ManagedServer.log
|
Moreover You can use environment variable:
export JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=weblogic -Dweblogic.management.password=******"
|