IBM Support

PM26320: CREATING A NEW STRINGNAMESPACEBINDING WITH A NAME ATTRIBUTE THAT CONTAINES A SPECIAL CHARACTER FAILS WITH ADMG0012E

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The APAR will relax the fix the following issue when a special
    character is used within the 'name' attribute.
    
    AdminConfig.create('StringNameSpaceBinding', x,
    '[[stringToBind "XXX"] [nameInNameSpace
    "Example/test"] [name "Example/test1"]]')
    
    WASX7015E: Exception running command:
    exception information:
     com.ibm.websphere.management.exception.InvalidAttributeValExcep
    tion:
    ADMG0012E: The attribute value for attribute
    Example/test1 is not valid.
    
    This APAR will allow a forward slash '/' to be used within the
    name attribute
    

Local fix

  • Do not use a '/' in the name attribute or create the
    StringNameSpaceBinding from the admininstrative console.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Creating a new StringNameSpaceBinding   *
    *                      object with name attribute that         *
    *                      contains a special character fails      *
    *                                                              *
    *                      AdminConfig.create('StringNameSpaceBind *
    *                      ing', x,'[[stringToBind "XXX"]          *
    *                      [nameInNameSpace "Example/test"] [name  *
    *                      "Example/test1"]]')                     *
    *                                                              *
    *                      WASX7015E: Exception running command:   *
    *                      exception information:                  *
    *                      com.ibm.websphere.management.exception. *
    *                      InvalidAttributeValException:           *
    *                      ADMG0012E: The attribute value for      *
    *                      attribute Example/test1 is not valid.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    To avoid changing wsadmin behavior in the fix stream, the
    default wsadmin behavior after this fix is applied is
    unchanged (does not allow special characters within the "name"
    attribute). This fix will introduce a new system property
    to allow user to disable the name validation on
    StringNameSpaceBinding object.
    

Problem conclusion

  • The fix will introduce a new config service system property to
    allow user to disable name validation in
    StringNameSpaceBinding object.
    
    In order to set StringNameSpaceBinding name with special
    characters, the name validation must be disabled
    by setting a Java system property:
    
    com.ibm.websphere.management.configservice.validateNames=false
    
    When using wsadmin in connected mode, this property should be
    set at the deployment manager server using the
    AdminTask.setJVMSystemProperties command, or through the admin
    console.
    
    When using wsadmin in LOCAL mode (conntype=none), the property
    can be passed in as a javaoption:
    -javaoption
    "-Dcom.ibm.websphere.management.configservice.validateNames=fals
    e"
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.17.  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

    PM26320

  • 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

    2010-11-09

  • Closed date

    2011-02-22

  • Last modified date

    2011-02-22

  • 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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021