Friday, 4 June 2021

start and stop R12.2 application without password prompt

 Store the passwords for apps and weblogic in .bash_profile or any environment file:


export APPSUSER=apps

export APPSPASS=apps

export WLSADMIN=Welcome_1



Use this command for start:

{ echo $APPSUSER ; echo $APPSPASS ; echo $WLSADMIN ; }| sh $ADMIN_SCRIPTS_HOME/adstrtal.sh -nopromptmsg



Use this command for stop:

{ echo $APPSUSER ; echo $APPSPASS ; echo $WLSADMIN ; }|sh $ADMIN_SCRIPTS_HOME/adstpall.sh -nopromptmsg


No comments:

Post a Comment

Number of Visitors