IBM Support

PI28233: UPDATING A DATASOURCE PROPERTY VALUE OF TYPE #BOOLEAN CAUSES A NEW DATASOURCE TO BE ADDED AS TYPE #STRING WHEN USING WSADMIN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Create a new boolean data source using the administrative
    console.
    Navigate to:
    Resource > JDBC > Data sources > [DATASOURCE] > Custom
    Properties
    name="deferPrepares"
    type="java.lang.Boolean"
    value="false"
    Modity the value of the property using wsadmin, extracting
    the properties to create a server1.props file
    >wsadmin
    AdminTask.extractConfigProperties('[-propertiesFileName
    server1.props -configData Server=server1]')
    -
    looking in the server1.props at the data sources we can see
    that the value is set to false and resources.xml shows the
    same.
    -
    If we try to change the value of the data source property from
    true to false by changing the server1.props file
    server1.props
    ----------------
    deferPrepares=true #Boolean
    ----------------
    Using type #Boolean instead of type #boolean
    -
    >wsadmin
    AdminTask.applyConfigProperties('[-propertiesFileName
    server1.props]')
    AdminConfig.save()
    --
    If we export out the properties again it has not changed our
    original entry but has added a new data source in the
    resources.xml file as type #String
    -
    server1.props
    ----------------
    deferPrepares=false #boolean
    deferPrepares=true #String
    

Local fix

  • Workaround would be to use the Admin Console to remove the
    added data resource of type string
    If changing the value for the boolean, use type #boolean instead
    of type #Boolean, when using wsadmin.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Property File Based Configuration    *
    *                  (PFBC)                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Using wrong case for data type          *
    *                      already created can cause duplicate     *
    *                      properties to be created.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using the wrong case for a data type can cause unexpected
    behavior.
    

Problem conclusion

  • The PFBC code was changed to handle any capitalization for any
    type when dealing with properties.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.11 and 8.5.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

    PI28233

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-22

  • Closed date

    2014-12-10

  • Last modified date

    2015-09-02

  • 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

  • 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:
28 April 2022