IBM Support

PH15889: dumpIMPState.py enumerate function not available in Jython v2.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Update to dumpIMPstate.py does not work in 8.5.5.15 because
    it only has Jython v2.1. Version 9.0.0.x works because it
    uses a more recent Jython version. The "enumerate" function
    is the only conflicting function.
    
    [root@veautowas bin]# ./wsadmin.sh -lang jython -f
    dumpIMPState.py --all
    Realm/Cell Name: <default>
    Username: user1
    Password:
    WASX7209I: Connected to process "dmgr" on node dmgr using
    SOAP connector;  The type of process is: DeploymentManager
    WASX7303I: The following options are passed to the scripting
    environment and are available as arguments that are stored
    in the argv variable: "[-all]"
    
        Syntax:
            wsadmin -f dumpIMPState.py [options]
    
            options are:
    
            --auto
            --help
            --dom=<domain> (default is "*", all domains)
            --dmgr=<server process name>
            --odr=<server process name>
            --svr=<server process name>
            --all
    
        e.g. wsadmin -f dumpIMPState.py --auto
    Will dump state for all dmgr and nodeagent processes it can
    find using the following MBeans:
    HAWsmmController XdCommMBean WsmmProxyMBean DWLMClient ODR
    SCPMBean TargetTreeMbean
    
    WASX7017E: Exception received while running file
    "dumpIMPState.py"; exception information:
    com.ibm.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
      File "<string>", line 163, in ?
    NameError: enumerate
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server WAS ND edition- Virtual              *
    *                  Enterprise/IM Component                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: dumpIMPState.py enumerate function not  *
    *                      available in Jython v2.1                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following error gets thrown when trying to run
    dumpIMPState.py
    
    WASX7017E: Exception received while running file
    "dumpIMPState.py"; exception information:
    com.ibm.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
      File "<string>", line 163, in ?
    NameError: enumerate
    

Problem conclusion

  • Replaced the "enumerate" call in the dumpIMPState.py script with
    code that is compatible with Jython v2.1
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.17.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH15889

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-20

  • Closed date

    2019-09-05

  • Last modified date

    2020-06-23

  • 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

  • R850 PSY

       UP

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

Document Information

Modified date:
02 November 2021