IBM Support

IV64045: WEBSPHERE ASD SENSOR ENDS WITH "BAD SUBSTITUTION" ON AIX.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The following error occurs with Websphere ASD discovery on AIX;
    
    
    
    com.ibm.cdb.discover.
    sensor.app.j2ee.webspherescript_1.0.0/script.sh[30]:
    ${WS_PROFILE_REGISTRY/$WAS_INST_VAR/$WAS_INST}: bad substitution
    
    This refers to a line in script.sh where it appears the shell
    being used does not like the format of the substitution.
    

Local fix

  • Update script.sh to comment out this line
    
    
    
    
            #WS_PROFILE_REGISTRY=`echo
    ${WS_PROFILE_REGISTRY/$WAS_INST_VAR/$WAS_INST}`
    
    
    and add this one to use sed;
    
            WS_PROFILE_REGISTRY=`echo $WS_PROFILE_REGISTRY | sed
    's|\$[{]
    was\.install\.root[}]|'$WAS_INST'|'`
    

Problem summary

  • The following error occurs with Websphere ASD discovery on AIX;
    
    
    
    com.ibm.cdb.discover.
    sensor.app.j2ee.webspherescript_1.0.0/script.shí30ù:
    ${WS_PROFILE_REGISTRY/$WAS_INST_VAR/$WAS_INST}: bad substitution
    
    This refers to a line in script.sh where it appears the shell
    being used does not like the format of the substitution.
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
    | Fix Pack | 7.2.2-TIV-ITADDM-FP0003
    Check the IBM Software Support web site for availability of the
    above maintenance packages.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV64045

  • Reported component name

    APP DEPENDENCY

  • Reported component ID

    5724N5500

  • Reported release

    722

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-27

  • Closed date

    2014-10-20

  • Last modified date

    2014-10-20

  • 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

    APP DEPENDENCY

  • Fixed component ID

    5724N5500

Applicable component levels

  • R722 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSPLFC","label":"Tivoli Application Dependency Discovery Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"722","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
20 October 2014