IBM Support

Why am I unable to run wsadmin.sh scripting tool when using language type jython, -lang jython, however, -lang jacl works fine ?

Question & Answer


Question

In WebSphere Application Server v8.5.5.x, the wsadmin.sh scripting tool fails with the following error:
AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.bsf.BSFException: unable to load language: jython;
com.ibm.bsf.engines.jython.JythonEngine" follows: com.ibm.bsf.BSFException: unable to load language: jython
The jython.jar is present on the WebSphere server in the following location: /opt/WebSphere/optionalLibraries/jython
-rwxr-xr-x. 1 wasadmin wasgroup 636923 Nov 16 2021 jython.jar
drwxr-xr-x. 3 wasadmin wasgroup 22 Nov 16 2021 cachedir
drwxr-xr-x. 7 wasadmin wasgroup 8192 Mar 23 04:13 Lib

Cause

This issue could be caused by one of the following:
1. There could be corruption in the profileRegistry.xml file in location: <WAS_HOME>/properties
2. Default profile script may be missing under <WAS_HOME>/properties/fsdb
3. Missing files under locations: <WAS_HOME>/optionalLibraries or <WAS_HOME>/scriptLibraries
4. Incorrect file permissions or ownership

Answer

Please review the above checklist. Correction of the items in the list should resolve this issue.

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CdTKAA0","label":"WebSphere Application Server traditional-All Platforms-\u003ESystem Management-\u003ETraditional WAS-\u003EAdmin Scripting Tools-\u003EScripting-Other"}],"ARM Case Number":"TS009522239","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
02 June 2022

UID

ibm16591479