Question & Answer
Question
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)]'
./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)]'
Was this topic helpful?
Document Information
Modified date:
10 May 2023
UID
ibm16253119