IBM Support

PM82872: DOCUMENTNOTFOUNDEXCEPTION WHEN CHECKING APPLICATION STATUS TO ADMINAGENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If multiple nodes are managed by adminagent and you try to
    check the existing application status via wsadmin command, the
    wsadmin command might fail to get the application distribution
    status
    
    wsadmin>$AdminApp isAppReady query
    ADMA5071I: Distribution status check started for application
    query.
    ADMA5011I: The cleanup of the temp directory for application
    query is complete.
    ADMA5072I: Distribution status check completed for application
    query.
    WASX7015E: Exception running command: "$AdminApp isAppReady
    query";
    exception information: com.ibm.ws.scripting.ScriptingException:
    Failure in getting application distribution status.
    
    When the exception occurrs, you can see a
    DocumentNotFoundException in adminagent's SystemErr.log.
    
    [13/02/07 21:29:39:725 JST] 00000023 SystemErr     R
    com.ibm.websphere.management.exception.DocumentNotFoundException
    : cells/Cell01/nodes/Node02/node-metadata.properties
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0, V8.0 and v8.5                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When checking for application status    *
    *                      using the wsadmin isAppReady command    *
    *                      on an admin agent environment with      *
    *                      multiple registered nodes, the wsadmin  *
    *                      command may fail to get the             *
    *                      application                             *
    *                      distribution status.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When checking for application status using the wsadmin
    isAppReady command on an admin agent environment with multiple
    registered nodes, the wsadmin command may fail to get the
    application distribution status with the
    DocumentNotFoundException on the second node. For example:
    wsadmin>$AdminApp isAppReady query
    ADMA5071I: Distribution status check started for application
    query.
    ADMA5011I: The cleanup of the temp directory for application
    query is complete.
    ADMA5072I: Distribution status check completed for application
    query.
    WASX7015E: Exception running command: "$AdminApp isAppReady
    query";
    exception information: com.ibm.ws.scripting.ScriptingException:
    Failure in getting application distribution status.
    

Problem conclusion

  • The wsadmin isAppReady command has been fixed to correctly get
    the application distribution status on all nodes.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.39, 8.0.0.7 and 8.5.5. 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

    PM82872

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-15

  • Closed date

    2013-03-28

  • Last modified date

    2014-12-11

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • 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.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021