IBM Support

PM71529: SYSTEM PROPERTY TO DECODE ALL J2EERESOURCEPROPERTY WHEN ACCESSING THE PROPERTY VIA WSADMIN.

Fixes are available

7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
8.5.0.2: WebSphere Application Server V8.5 Fix Pack 2
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as new function.

Error description

  • Previously we only decode the property password value for the
    Resource Environment Provider config object but not the
    Resource Environment Entry config object.  This APAR was opened
    to enhance the code to decode all custom properties
    (J2EEResourceProperty) password values if they are encoded (in
    {xor}xxx format) in the resources.xml.  To make sure the change
    does not break any existing customer scripts (some customers may
    have decoded the password values in scripts already or they
    want to keep the encoded values), we will introduce a new
    system property to decode all J2EEResourceProperty if the value
    is encoded when accessing the property via wsadmin
    (AdminConfig.showall() or AdminConfig.showAttribute()).
    
    Please note that this APAR will only resolve the decoding issue
    when using wsadmin or config service APIs to create resource
    custom properties.  The fix will not apply to the admin console
    because the console does not use config service APIs to create
    or update J2EEResourceProperty (custom properties).
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users can not view the encoded          *
    *                      password value through wsadmin          *
    *                      command after created a new custom      *
    *                      property on the                         *
    *                      ResourceEnviornmentEntry and the        *
    *                      property contained some password        *
    *                      value.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A new system property "decodeJ2EEResourceProperty" is
    introduced that allows users to view an encoded property value
    through wsadmin command such as AdminConfig.showall() or
    AdminConfig.showAttribute().
    If using wsadmin in connected mode, the system property needs
    to be set in the deployment manager or server connected by
    using AdminTask.setJVMSystemProperties command.
    If using wsadmin in local mode (conntype=NONE), the system
    property can be set via the wsadmin "javaoption" command
    option such as:
    wsadmin -conntype none -lang jython -javaoption
    "-DdecodeJ2EEResourceProperty=true"
    

Problem conclusion

  • Provide a new system property for user to specify in wsadmin
    or deployment manager to decode custom property if the
    property contains en encoded password value.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.27/8.0.0.6/8.5.0.2.  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

    PM71529

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-24

  • Closed date

    2012-09-27

  • Last modified date

    2012-09-27

  • 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

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM71529

Modified date: 27 September 2012