IBM Support

PI94447: AdminApplication.getAppDeploymentTarget returns incorrect values

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AdminApplication.getAppDeploymentTarget returns an incorrect
    result when it returns multiple targets and one of
    them has a name containing space(s), like "Test Cluster" -
    see the example below :
    
    wsadmin>AdminApplication.getAppDeploymentTarget("DefaultApplicat
    ion.ear")
    ---------------------------------------------------------------
     AdminApplication:       Get application deployment target
     Application Name:       DefaultApplication.ear
     Usage:
    
    AdminApplication.getAppDeploymentTarget("DefaultApplication.ear"
    )
    
    Return: List the application deployment target for a specified
    application.
    ---------------------------------------------------------------
    
    ['"Test)"',
    'Cluster(cells/ip-9-30-145-130Cell01/applications/DefaultApplica
    tion.ear.ear/deployments/DefaultApplication.ear|deployment.xml#C
    lusteredTarget_1519183992092)"',
    'webserver1(cells/ip-9-30-145-130Cell01/applications/DefaultAppl
    ication.ear.ear/deployments/DefaultApplication.ear|deployment.xm
    l#ServerTarget_1519185562460)']
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: AdminApplication.getAppDeploymentTarget *
    *                      returns incorrect values                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    AdminApplication.getAppDeploymentTarget returns incorrect
    values when it returns multiple targets and one of them has
    a name with space(s).
    

Problem conclusion

  • Corrected the scripting library implementation to tolerate the
    spaces in the target's name.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.8.  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

    PI94447

  • 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

    2018-02-28

  • Closed date

    2018-04-05

  • Last modified date

    2018-04-05

  • 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

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

Document Information

Modified date:
04 May 2022