Oracle Weblogic Server (MOSC)

MOSC Banner

using wlst to create a user

edited Jun 14, 2018 5:12AM in Oracle Weblogic Server (MOSC) 3 commentsAnswered ✓

Hi

I have a simple shell script which calls a wlst script which parameters are fed into. Here is how I pass the parameters:

./2156.sh -S SR123154 -a WrongAdminServer -u t3://192.168.80.80:7001 -n AdminUser1 -p 234faAgadsf,. -d Administrator -g Administrators

As you can see the    -a WrongAdminServer    is the wrong name for the Admin Server that it should connect to (AdminServer is the correct name)

Here is what happens when I run the above script.

CLASSPATH=/opt/java/jdk1.8.0_161/lib/tools.jar:/u01/app/oracle/product/fmw/wlserver/modules/features/wlst.wls.classpath.jar:

PATH=/u01/app/oracle/product/fmw/wlserver/server/bin:/u01/app/oracle/product/fmw/wlserver/../oracle_common/modules/org.apache.ant_1.9.2/bin:/opt/java/jdk1.8.0_161/jre/bin:/opt/java/jdk1.8.0_161/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oracle/.local/bin:/home/oracle/bin:/opt/java/jdk1.8.0_161/bin:/u01/app/oracle/product/fmw/orcle_common/bin:/u01/app/oracle/config/infra1domain/bin:/u01/app/oracle/product/fmw/oracle_common/common/bin:/u01/app/oracle/product/fmw/wlserver/server/bin:/u01/app/oracle/product/fmw/wlserver/../oracle_common/modules/org.apache.maven_3.2.5/bin

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