IBM Support

PI19778: HTTP TRANSPORT "TEST TRANSPORT" INTENDED AS CLIENT FAILS IF CANNOT CONNECT TO SERVER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Let's assume that the local host has a web server running on
    port 80 but not on port 9999.
    
    Defining a connection to localhost on port 80 and clicking "Test
    Transport" yields this result (which is correct):
    Successfully connected to localhost:80
    Port 80 is in use locally so the HTTP server will be started on
    a dynamically allocated port
    
    So the output shows first what happens when we use the transport
    as a client and then what happens if we use the transport as a
    server.
    
    Defining a connection to localhost on port 9999 and clicking
    "Test Transport" should yield a result a little like this:
    Could not connect to localhost:9999
    Port 9999 is available locally so the HTTP server will be
    started on port specified
    
    But instead we get this error:
    [CRRIT1707E] Could not create a connection to the HTTP server :
    [CRRIT4717E] Error executing method. Connection refused: connect
    Details >>
    com.ghc.utils.GHException: [CRRIT4717E] Error executing method.
    Connection refused: connect
        at com.ghc.utils.http.HTTPUtils.execute(HTTPUtils.java:254)
        at com.ghc.utils.http.HTTPUtils.execute(HTTPUtils.java:148)
        at com.ghc.utils.http.HTTPUtils.execute(HTTPUtils.java:141)
        at
    com.ghc.a3.http.HttpTransport.X_testAsClient(HttpTransport.java:
    766)
        at
    com.ghc.a3.http.HttpTransport.testTransport(HttpTransport.java:6
    67)
        at
    com.ghc.ghTester.gui.resourceviewer.transporteditor.TransportEdi
    tor$3$1.run(TransportEditor.java:332)
        at
    com.ghc.utils.io.OutputRedirector.doRedirect(OutputRedirector.ja
    va:56)
        at
    com.ghc.ghTester.gui.resourceviewer.transporteditor.TransportEdi
    tor$3.actionPerformed(TransportEditor.java:315)
        at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.ja
    va:2029)
    .... (and so on)
    
    If the definition localhost:9999 were intended for use as a
    client to an external service the above error would be correct
    and helpful.  Unfortunately however once this problem is
    reported the application does not go on to indicate what will
    happen if the transport is used as a server.
    
    This could be considered a regression issue since the dialog
    which this replaces from GH Tester (in which the user specifies
    whether the connection is a client or a server) does not suffer
    from this problem.
    

Local fix

  • Avoid using "Test Transport" when using an HTTP definition in
    Architecture School's Physical View for use as a server which
    will be hosted within IBM Rational Integration Tester (RIT) or
    RIT-Agent.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester working with the    *
    * HTTP transport.                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If an error occurred in testing the transport as a client,   *
    * information regarding the status of using the transport as a *
    * server might not have been displayed.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix for this issue was provided in version 8.7.0 of Rational
    Integration Tester. The results of using the transport in a
    client capacity and a server capacity are both displayed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI19778

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-11

  • Closed date

    2015-05-21

  • Last modified date

    2015-05-21

  • 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

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.5.1

Reference #: PI19778

Modified date: 21 May 2015