-
1. Re: What is the default timeout value for http client used by CXF BC provider
ffang Apr 9, 2010 9:11 PM (in response to suxuguang)Hi,
Could you provide details how you configure receiveTimeout ?
Freeman
-
2. Re: What is the default timeout value for http client used by CXF BC provider
suxuguang Apr 12, 2010 11:30 AM (in response to ffang)Hi Freeman,
I added this in the bus config file for the cxf provider:
<http:client ConnectionTimeout="10800000" ReceiveTimeout="10800000" />
something like this:
-
<http:conduit name="NotificationConsumer.http-conduit">
<http:tlsClientParameters disableCNCheck="true">
<sec:trustManagers>
<sec:keyStore type="JKS" password="$" file="$"/> </sec:trustManagers> <sec:keyManagers keyPassword="$">
<sec:keyStore type="JKS" password="$"
file="$"/>
</sec:keyManagers>
<sec:cipherSuitesFilter>
<!-- these filters ensure that a ciphersuite with
Websphere compatibility is used,
but exclude anonymous Diffie-Hellman key change as
this is vulnerable to man-in-the-middle attacks -->
<sec:include>SSL_RSA_WITH_RC4_128_MD5</sec:include>
<sec:include>SSL_RSA_WITH_RC4_128_SHA</sec:include>
<sec:include>SSL_DHE_DSS_WITH_RC4_128_SHA</sec:include>
<sec:include>SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA</sec:include>
<sec:include>SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA</sec:include>
<sec:include>SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA</sec:include>
<sec:include>SSL_RSA_WITH_3DES_EDE_CBC_SHA</sec:include>
<sec:include>TLS_DHE_DSS_WITH_AES_128_CBC_SHA</sec:include>
<sec:include>TLS_DHE_RSA_WITH_AES_128_CBC_SHA</sec:include>
<sec:include>TLS_RSA_WITH_AES_128_CBC_SHA</sec:include>
<sec:exclude>.DHanon_.</sec:exclude>
</sec:cipherSuitesFilter>
</http:tlsClientParameters>
<http:client ConnectionTimeout="10800000" ReceiveTimeout="10800000" />
</http:conduit>
-
Thanks for the help.
-
3. Re: What is the default timeout value for http client used by CXF BC provider
ffang Apr 12, 2010 9:35 PM (in response to suxuguang)Hi,
Is NotificationConsumer
match your cxf bc provider endpoint name?
Could you also append your configuration for cxf bc provider and your wsdl?
Freeman
-
4. Re: What is the default timeout value for http client used by CXF BC provider
suxuguang Apr 13, 2010 9:56 AM (in response to ffang)Sorry Freeman, It does match my provider information, but I did not read my log correctly, the timeout was indeed 3 hours as I set. The configuration worked as it should.
Thanks again!