IBM Support

PM72056: Concurrent API programs of a project take same build tag name

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1. Problem description
    
       Concurrent api programs take same build tag name
    
    2. Cause of the problem
        More than one build take $B value before increasing its
    value.
    
    3. Environment : N/A (all platform and all BF versions)
    
    4. Reproduce steps
    
       a) write a simple java API program
    
      for(int i=0 ;i? 5 ;i++) {
       Project proj = Project.findByName (conn, projName);
       proj.fire ();
      }
    
       b) even $BF_T can not avoid the problem becaue it is 1 second
    base
    
    5. Workarond
    
        put interveral more than 1 second in loop;
    
    
      for(int i=0 ;i? 5 ;i++) {
       Project proj = Project.findByName (conn, projName);
       proj.fire ();
                                                    Thread.sleep(1
    *1200);
    
      }
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This is competing case. Program reads the tag firstly, then
    increase it if needed, but during the read and increase
    interval,if other firing operation reads the tag, it will
    get the same tag's value with the previous firing operation.
    It is rare case for the reading and increasing is very
    quick.
    

Problem conclusion

  • Adding a program lock when reading and increasing the tag.
    Before we complete the reading and increasing operation,
    program doesn't release the lock.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM72056

  • Reported component name

    BUILD FORGE SE

  • Reported component ID

    5724S2706

  • Reported release

    713

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-03

  • Closed date

    2012-12-08

  • Last modified date

    2012-12-08

  • 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

    BUILD FORGE SE

  • Fixed component ID

    5724S2706

Applicable component levels

  • R713 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.3","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021