IBM Support

Jython version supported for WebSphere Application Server

Question & Answer


Question

Can we activate Jython 2.7 on WAS 8.5.5? Is it supported?

Answer

We cannot activate Jython 2.7 on WAS 8.5.5. We use only Jython 2.1 for WAS 8.5.5.

  • 2.1 is supported version for WAS v8.5.5.
  • 2.7 is supported version for WAS v9. (With 2.1 as an option)

You can read the following IBM Documentation link for details:

WebSphere Application Server 8.5.5.x "Using wsadmin scripting with Jython":

https://www.ibm.com/docs/was/8.5.5?topic=concepts-using-wsadmin-scripting-jython

WebSphere Application Server 9.0.5.x "Using wsadmin scripting with Jython":

https://www.ibm.com/docs/was/9.0.5?topic=scripting-using-wsadmin-jython

-----

For your information, you can check the current Jython version by using the wsadmin tool.

For example,

V8.5.5.16:

./wsadmin.sh -connType none -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
wsadmin>import sys
wsadmin>sys.version
'2.1'

V9.0.5.2:

./wsadmin.sh -connType none -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
wsadmin>import sys
wsadmin>sys.version
'2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11) \n[IBM J9 VM (IBM Corporation)]'

V9.0.5.15:
./wsadmin.sh -connType none -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
wsadmin>import sys
wsadmin>sys.version
'2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)\n[IBM J9 VM (IBM Corporation)]'

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CdTFAA0","label":"System Management-\u003ETraditional WAS-\u003EAdmin Scripting Tools-\u003Ewsadmin"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.5;9.0.0;9.0.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 May 2023

UID

ibm16253119