IBM Support

JR49627: webFeedLoad script does not call System.exit with the correct code when it encounters exceptions.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • webFeedLoad script does not always set the correct exit code
    when it encounters exceptions. If a command such as the one
    below is used to verify the execution result, it will always
    return 0.
    
     [wcsadmin@lpofwwcstgwc bin]$ echo $?
    

Local fix

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce uses who plan to use the webFeedLoad script
    and want to rely on the "echo $?" command to verify the
    execution result.
    
     PROBLEM ABSTRACT:
     webFeedLoad script does not call System.exit with the correct
    code when it encounters exceptions.
    
     BUSINESS IMPACT:
     The user will get the wrong result and will impact their next
    action.
    
     RECOMMENDATION:
    

Problem conclusion

  • The code is modified to ensure the correct handling of the
    return code when it encounters any exception.
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49627

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-14

  • Closed date

    2014-06-04

  • Last modified date

    2014-06-04

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021