IBM Support

JR45865: CMVC 225560 - Cannot configure timeouts for the HTTP or HTTP-WS connectors

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The HTTP or HTTP-WS connectors do not support timeout.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce v7.0 users using the HTTP(-WS) connector to
    integrate with third-party systems
    
    PROBLEM ABSTRACT:
    This APAR allows the configuration of timeouts for the HTTP or
    HTTP-WS connectors
    
    BUSINESS IMPACT:
    Lack of connection timeout could lead to hangs
    
    RECOMMENDATION:
    

Problem conclusion

  • Set the timeout in the instance configuration file as in the
    following example:
    
    OutboundConnector/InteractionSpec/
    
    <OutboundConnector default="true" enabled="true" id="-100"
                    name="HTTP" retries="3">
                    <JNDI JndiName="eis/JCAHTTP" display="false"/>
                    <ConnectionSpec
    
    ClassName="com.ibm.commerce.wc.messaging.adapters.jcahttp.JCAHTT
    PConnectionSpecImpl" default="true"/>
                    <InteractionSpec
    
    ClassName="com.ibm.commerce.wc.messaging.adapters.jcahttp.JCAHTT
    PInteractionSpecImpl" default="true">
    .
                        <EditableProperty
         Admin="connectTimeout"
         display="false"
         editable="yes"
         name="setConnectTimeout" value="60"/>
    
        <EditableProperty
         Admin="readTimeout"
         display="false"
         editable="yes"
         name="setReadTimeout" value="60"/>
    
                    </InteractionSpec>
    
    Then propagate the changes to the EAR by using these
    instructions:
    
    Propagating changes to the WebSphere Commerce configuration file
    http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=
    %2Fcom.ibm.commerce.admin.doc%2Ftasks%2Ftcmxml.htm
    
    -------------------------------------------------------------
    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

    JR45865

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Serviceability

  • Submitted date

    2013-02-27

  • Closed date

    2013-03-28

  • Last modified date

    2013-04-03

  • 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



Document information

More support for: WebSphere Commerce Enterprise

Software version: 7.0

Reference #: JR45865

Modified date: 03 April 2013