Oracle Weblogic Server (MOSC)

MOSC Banner

Executing connect() command in WLST script with wlst.sh utilizing boot.properties

edited Oct 26, 2016 3:32PM in Oracle Weblogic Server (MOSC) 3 commentsAnswered ✓

Hi,

I am trying to use the connect() command in a wlst script utilizing the boot.properties file. But when I execute the script through wlst.sh from the directory containing the boot.properties file, I am still being prompted to enter the username and password. Is there any way to execute the wlst script using wlst.sh without providing the username and password.

test.jy:

connect(url='t3://localhost:8200')

exit()

cd $DOMAIN_HOME/servers/PIA/security

$DOMAIN_HOME/servers/PIA/security> $WL_HOME/wlserver/common/bin/wlst.sh $SCRIPT_HOME/test.jy

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center