While Starting with the WLST , we are facing the below issue:
bash-3.00$ java weblogic.WLST Initializing WebLogic Scripting Tool (WLST) ...
*sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/rt.jar'
*sys-package-mgr*: can't write cache file for '/path/bea/weblogic92/server/lib/weblogic.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/rt.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/jsse.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/jce.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/charsets.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/ext/sunjce_provider.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/ext/sunpkcs11.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/ext/dnsns.jar' *sys-package-mgr*: can't write cache file for '/path/bea/jdk150_10/jre/lib/ext/localedata.jar' *sys-package-mgr*: can't write index file Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands
wls:/offline>
To Fix the above issue, we have two options:
1) We need to change the permissions of /var/tmp/wlstTemp directory content must be accessed by all users means to use "chmod 777"
or 2) we need to define the cache directory path using open for every user path as /tmp/wlstTemp bash-3.00$ java -Dpython.cachedir=/tmp/wlstTemp weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> |
Challenges >