IBM Support

PM39020: DXL API server started with initDXLServer server 5093 gives error in DOORS 9.3

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Problem
    'API error: receiving response from DXL server: Data not ready
    at TCP/IP socket'  error occurs in DOORS 9.3 when a API DXL
    server is started with initDXLServer and a command is sent to
    it.
    The command is executed once in bactch mode before the session
    disconnects. GUI oupput is printed with the error.
    
    To Reproduce
    GUI Mode
    =====
    Open DXL editor and run the command initDXLServer server 5093
    Now from a command prompt navigate to $DOORSHOME/bin , run
    dxlips 'print session'
    
    Batch mode
    =====
    start DOORS in batch mode running the DXL initDXLServer 5093
    Now from a command prompt navigate to $DOORSHOME/bin , run
    dxlips 'print session'
    
    Expected Results
    
    GUI Mode
    ======
    Session start date should be printed in the DXL ouput window.
    running dxlips 'print session' again should print the session
    date/ time again. and so on.
    
    Batch mode
    ======
    Session time/date should be printed in the Command output ,
    without errors. Multiple run of dxlips should keep print the
    session info multiple times without disconnecting.
    
    The above behavior is seen in DOORS 9.2 and pripor versions
    
    Actual Results
    Error 'API error: receiving response from DXL server: Data not
    ready at TCP/IP socket' is returned in the GUI mode with the
    session info output. In batch mode the comamnd can only be run
    once and the session disconnects after first run of command with
    the same error.
    
    Possible Workarounds
    none - other than to use a previous version
    
    Additional Notes
    This issue seems ot be introduced in DOORS 9.3 . Issue is not
    reproducible in 9.2 and before.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DXL API was not waiting for response from server after
    sending request - it was expecting the answer to be already
    prepared and waiting. But the answer was not ready yet and
    DXL API received nothing thus displaying an error.
    

Problem conclusion

  • Allow  DXL API apiSend method to wait for an answer.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM39020

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-12

  • Closed date

    2011-06-29

  • Last modified date

    2011-06-29

  • 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

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R920 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 9.2

Reference #: PM39020

Modified date: 29 June 2011