IBM Support

PK90271: THE USE OF SCRIPTING DOES NOT SUPPLY JAVACORE DUMP OF THE CONTROL REGION.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WSADMIN does not provide a way to take a JAVACORE dump for
    Control Regions.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere Application Server    *
    *                 V7.0                                         *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The AdminControl "dumpThreads"          *
    *                      command produces no output when run     *
    *                      against a z/OS nodeagent.               *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The AdminControl dumpThreads command is used on z/OS to obtain
    a javacore file. This command does not work for a server that
    contains only a control region and no servant regions, such as a
    nodeagent.
    
    For example, in a nodeagent, a heapdump can be obtained, but
    not a javacore, as shown:
    
    wsadmin>jvm =
    
    AdminControl.completeObjectName('type=JVM,process=nodeagent,node
    =mynode,*')
    
    wsadmin>print jvm
    
    WebSphere:name=JVM,process=nodeagent,platform=proxy,node=mynode,
    j2eeType=JVM,J2EEServer=nodeagent,version=6.1.0.18,type=JVM,
    mbeanIdentifier=JVM,cell=mycell,spec=1.0
    
    wsadmin>heapdump = AdminControl.invoke(jvm, 'generateHeapDump')
    
    wsadmin>print heapdump
    /var/WebSphere/home/WSCFG1/heapdump.20090209.190656.83886129.000
    1.phd
    
    wsadmin>javacore = AdminControl.invoke(jvm, 'dumpThreads')
    
    wsadmin>print javacore
    
    Note that the dumpThreads command does not return an error but
    no javacore is generated.
    
    The problem is that the Application Server code that requests a
    thread dump retrieves a set of servant regions and calls
    dumpThreads for each servant, but if the set of servants is
    null (which it always will be on a nodeagent), this method
    does nothing.
    

Problem conclusion

  • The code was updated to call the dumpThreads method on the
    local MBean in the case where the set of servants is null.
    Please note that even after applying this fix, the wsadmin
    "print javacore" command from the example above will still
    return nothing, but the javacore files will be produced.
    
    APAR PK90271 is currently targeted for inclusion in Service
    Level (Fix Pack) 7.0.0.5 of WebSphere Application Server V7.0.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK90271

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-30

  • Closed date

    2009-07-08

  • Last modified date

    2009-08-03

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

    PK79747

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

Modules/Macros

  • BBGUBINF BBOUBINF
    

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK48201

       UP09/07/27 P F907

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022