IBM Support

PI77601: WSADMIN EXTRACTCONFIGPROPERTIES COMMAND TRIGGERS INVALIDATTRIBUTENAMEEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If wsadmin command  AdminTask.extractConfigProperties is issued
    to extract cell or security properties, an FFDC log is issued
    with InvalidAttributeNameException
    
    The exception is thrown because the extractConfigProperties
    command is getting the "CryptoHardwareToken" section properties
    under the SecureSocketLayer "setting" attribute, but it is not
    an attribute of the "setting", but an attribute of
    "cryptoHardware" in the SecureSocketLayer.  Thus, it throws an
    InvalidAttributeName error.  In this case, it does not break
    anything as there is no CryptoHardwareToken attribute set in
    security.xml
    
    Commands that triggered the exception:
    AdminTask.extractConfigProperties('[-propertiesFileName
    /tmp/security.props -configData Security= -options
    [[PortablePropertiesFile true]] ]')
    
    AdminTask.extractConfigProperties('[-propertiesFileName
    /tmp/all.props -options [[PortablePropertiesFile true]] ]')
    
    FFDC Exception:com.ibm.websphere.management.exception.InvalidAtt
     ributeNameException SourceId:com.ibm.ws.management.configservic
      e.MOFUtil.getAttributes ProbeId:271
    com.ibm.websphere.management.exception.InvalidAttributeNameExcep
     tion: ADMG0005E: The attribute name setting is not valid.
    .at com.ibm.ws.management.configservice.MOFUtil.getAttributeMeta
     Obj(MOFUtil.java:1128)
    .at com.ibm.ws.management.configservice.MOFUtil.getAttributeMeta
     Obj(MOFUtil.java:144)
    .at com.ibm.ws.management.configservice.MOFUtil.getAttribute(MOF
     Util.java:644)
    .at com.ibm.ws.management.configservice.MOFUtil.getAttributes(MO
     FUtil.java:589)
    .at com.ibm.ws.management.configservice.DocAccessor.getAttribute
     s(DocAccessor.java:890)
    .at com.ibm.ws.management.configservice.ConfigServiceImpl.getAtt
     ributesBasic(ConfigServiceImpl.java:2519)
    .at com.ibm.ws.management.configservice.ConfigServiceDelegator.g
     etAttributes(ConfigServiceDelegator.java:87)
    .at com.ibm.ws.management.configservice.SecureSocketLayerDelegat
     or.getAttributes(SecureSocketLayerDelegator.java:198)
    
    Properties file command security template will be fixed to have
    the correct attribute name defined for the CryptoHardwareToken
    object.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0, V8.5, and V9.0                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: AdminTask extractConfigProperties       *
    *                      throws ffdc                             *
    *                      InvalidAttributeNameException when      *
    *                      extracting Cell or Security             *
    *                      properties.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If wsadmin command  AdminTask.extractConfigProperties is issued
    to extract a cell or security properties, an FFDC log is
    issued with InvalidAttributeNameException
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI77601

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-03

  • Closed date

    2017-03-14

  • Last modified date

    2017-03-14

  • 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 FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850"}]

Document Information

Modified date:
06 September 2021