IBM Support

PH54022: PATCH 9.0.5.15 BREAKS JYTHON SCRIPTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

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/myscript.py";
    exception information: com.ibm.bsf.BSFException: exception from
    Jython:
    Traceback (most recent call last):
    File "<string>", line 51, in <module>
    File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/smt
    plib.py",line 44, in <module>
    import socket
    File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/soc
    ket.py",line 3, in <module>
    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 or 8.5.5.X to 8.5.5.23. Does       *
    *                  not affect users who install 9.0.5.15 or    *
    *                  8.5.5.23.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users cannot run the scripts that       *
    *                      import                                  *
    *                      Jython libraries after applying         *
    *                      fixpack                                 *
    *                      9.0.5.15 or 8.5.5.23.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    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 and 8.5.5.24. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54022

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-04-19

  • Closed date

    2023-04-24

  • Last modified date

    2023-07-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 July 2023