setWLSEnv


go to server/bin in the weblogic home


Execute the below commands 

$ cd oracle/weblogic10.3.6/wlserver/server/bin

$setWLSEnv.cmd
or
./setWLSEnv.sh.

output

CLASSPATH="C:\PROGRA~1\Java\JDK18~1.0_1\lib\tools.jar;C:\oracle\WEBLOG~1.6\wlser
ver\modules\features\wlst.wls.classpath.jar;"

PATH=";C:\oracle\WEBLOG~1.6\wlserver\server\native\win\x64;C:\oracle\WEBLOG~1.6\
wlserver\server\bin;C:\oracle\WEBLOG~1.6\oracle_common\modules\thirdparty\org.ap
ache.ant\1.9.8.0.0\apache-ant-1.9.8\bin;C:\PROGRA~1\Java\JDK18~1.0_1\jre\bin;C:\
PROGRA~1\Java\JDK18~1.0_1\bin;C:\oracle\WEBLOG~1.6\wlserver\server\native\win\x6
4\oci920_8;C:\PROGRA~2\COMMON~1\Oracle\Java\javapath;C:\PROGRA~1\Java\JDK18~1.0_
1\bin;C:\Users\balu\AppData\Local\Programs\MICROS~1\bin;C:\oracle\WEBLOG~1.6\ora
cle_common\modules\org.apache.maven_3.2.5\bin"

Your environment has been set.

now you are able to run the following command so that we can execute the wlst anywhere.

$ java weblogic.WLST filename.py
$ java weblogic.WLST

Comments

Popular posts from this blog

Bsu

linux

Domain