Fix (APAR): PH54022 Status: Fix Release: 9.0.5.15 Operating System: AIX,HP-UX,IBM i,Linux,Solaris,Windows,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 47586109 Date: 2023-04-24 Abstract: patch 9.0.5.15 breaks jython scripts Description/symptom of problem: PH54022 resolves the following problem: ERROR DESCRIPTION: Patch 9.0.5.15 breaks Jython script lib import. generating error ImportError: cannot import name SO_EXCLUSIVEADDRUSE Example of error when running script. WASX7017E: Exception received while running file "/usr/WebSphere/tools/scripts/wsadminWASstatuscheckIHS.py"; exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "", line 51, in File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/smt plib.py",line 44, in import socket File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/soc ket.py",line 3, in from _socket import ( ImportError: cannot import name SO_EXCLUSIVEADDRUSE LOCAL FIX: commenting out the SO_ExlusiveAddreuse line from /usr/WebSphere/AppServer/optionalLibraries/jython/Lib/socket.py but this obviously is not a long term solution and not one we want to go into Production with. PROBLEM SUMMARY USERS AFFECTED: All users of IBM WebSphere Application Server performing an upgrade from 9.0.5.X to 9.0.5.15. Does not affect users who install 9.0.5.15. PROBLEM DESCRIPTION: Users cannot run the scripts that import Jython libraries after applying fixpack 9.0.5.15. RECOMMENDATION: None There is an issue with the update process that doesn't allow the new jython files to be updated. This is because jython files are listed as nsf, meaning it should not be updated. PROBLEM CONCLUSION: Jython Lib files under WAS_HOME/optionalLibraries/jython/Lib are updated to 2.7.2 version. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.16. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.8.5 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before applying the iFixes. Restart WebSphere Application Server after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before removing the iFixes. Restart WebSphere Application Server after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server. Additional Information: