Try adding this code to your client to prevent timeout on the client side.

   Client client = ClientProxy.getClient(intf);
   HTTPConduit http = (HTTPConduit) client.getConduit();

   HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
   httpClientPolicy.setConnectionTimeout(0);//default is 30 secs
   http.setClient(httpClientPolicy);

Cheers,
Arul

jbonham wrote:
Hello

Any way to set keep-alive timeout on the CXF client side for an SSL
connection? Tomcat is set to 60 seconds but the connection is closed by the
client after 10 seconds.

By the way, I dropped my cxf.xml file on the classpath of the client side
application and I don't see a difference - I had to set JSSE to make SSL
work. How do I know it is being read by CXF?

Thanks in advance
Andre


Reply via email to