My Oracle Support Banner

Unable to use java weblogic.WLST in WLS 12.2.1 (Doc ID 2103657.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Following errors are seen while starting WLST using java weblogic.WLST command in WLS 12.2.1 :

Initializing WebLogic Scripting Tool (WLST) ...

Error execing the Python script "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar!/wlstScriptDir/lib/ora_help.py" caused an error "Traceback (innermost last):
File "<string>", line 1, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/ora_help.py", line 12, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/wlserver/modules/com.oracle.weblogic.management.scripting.jar/weblogic/management/scripting/core/utils/modules/wlstModule_core.py", line 20, in ?
at weblogic.management.scripting.core.utils.WLSTCoreUtil.getOfflineWLSTScriptPath(WLSTCoreUtil.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

java.lang.RuntimeException: java.lang.RuntimeException: Could not find the OffLine WLST class
"
java.lang.ClassNotFoundException: com.oracle.cie.domain.script.jython.WLST_offline
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)

.

.

Error execing the Python script "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar!/wlstScriptDir/lib/ora_util.py" caused an error "Traceback (innermost last):
File "<string>", line 1, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/ora_util.py", line 15, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/wlserver/modules/com.oracle.weblogic.management.scripting.jar/weblogic/management/scripting/core/utils/modules/wlstModule_core.py", line 20, in ?
at weblogic.management.scripting.core.utils.WLSTCoreUtil.getOfflineWLSTScriptPath(WLSTCoreUtil.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

java.lang.RuntimeException: java.lang.RuntimeException: Could not find the OffLine WLST class
"
Error execing the Python script "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar!/wlstScriptDir/lib/PdkHandler.py" caused an error "Traceback (innermost last):
File "<string>", line 1, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/PdkHandler.py", line 14, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/WebCenterBaseHelper.py", line 12, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/oracle_common/modules/internal/features/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/ora_util.py", line 15, in ?
File "/space/IDC_WLS_Lab_Setup/celbealnx1/WLS1221_Infra/wlserver/modules/com.oracle.weblogic.management.scripting.jar/weblogic/management/scripting/core/utils/modules/wlstModule_core.py", line 20, in ?

.

.

 

Changes

Run ---> . ./setDomainEnv.sh OR . ./setWLSEnv.sh

Now run ---> java weblogic.WLST 

This used to work fine prior to WLS 12.2.1.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.