Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5A0D9200C5B for ; Thu, 27 Apr 2017 19:38:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 588AF160BA7; Thu, 27 Apr 2017 17:38:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9F357160B9E for ; Thu, 27 Apr 2017 19:38:14 +0200 (CEST) Received: (qmail 44813 invoked by uid 500); 27 Apr 2017 17:38:08 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 44617 invoked by uid 99); 27 Apr 2017 17:38:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2017 17:38:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F0975C074C for ; Thu, 27 Apr 2017 17:38:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3TB3FyPqhEoo for ; Thu, 27 Apr 2017 17:38:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C60E35FC7E for ; Thu, 27 Apr 2017 17:38:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 57296E0D5E for ; Thu, 27 Apr 2017 17:38:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 99B3621DF0 for ; Thu, 27 Apr 2017 17:38:04 +0000 (UTC) Date: Thu, 27 Apr 2017 17:38:04 +0000 (UTC) From: "Christof Tinnes (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-7348) Retry sending of POST Messages under Load MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Apr 2017 17:38:15 -0000 [ https://issues.apache.org/jira/browse/CXF-7348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christof Tinnes updated CXF-7348: --------------------------------- Component/s: Transports > Retry sending of POST Messages under Load > ----------------------------------------- > > Key: CXF-7348 > URL: https://issues.apache.org/jira/browse/CXF-7348 > Project: CXF > Issue Type: Bug > Components: JAX-RS, Transports > Affects Versions: 3.1.4 > Environment: Can be reproduced on many environments > Reporter: Christof Tinnes > > We are using Multiple Instances of WebClients (e.g. 200) in parallel. One per Thread. > Each Client is using POST REST-Methods to Call a REST-Service of a Spring-Application (using also CXF on server side for JAX-RS) running in Tomcat. > We experience a retry of the entire HTTP-Message (approx. 20ms offset) > in 0.002 of the messages. We can see this retry on server side and in an TCP-Monitor on client side. > We can not see the retry in the CXF (Debug) Logs. There, we can see exactly one of the requests and one of the responses, as if everything works fine. > Our initialialization of each Client looks the following: > WebClient clientLocal = > WebClient.create(this.propertyManager.get(ProxyPropertiesEnum.WEBSERVICE_ADDRESS, String.class)); > ClientConfiguration clientconfig = WebClient.getConfig(clientLocal); > clientconfig.getRequestContext().put(org.apache.cxf.message.Message.MAINTAIN_SESSION, Boolean.TRUE); > clientLocal.path(this.propertyManager.get(ProxyPropertiesEnum.WEBSERVICE_PATH_MESSAGE_PROCESSING, String.class)); > clientLocal.type(MEDIA_TYPE_OUTGOING).accept(MEDIA_TYPE_INCOMING); > clientconfig.setSynchronousTimeout(this.propertyManager.get(ProxyPropertiesEnum.TIMEOUT_WEBSERVICE, Long.class)); > HTTPConduit conduit1 = (HTTPConduit) clientconfig.getConduit(); > HTTPClientPolicy pol = conduit1.getClient(); > Long timeout = this.propertyManager.get(ProxyPropertiesEnum.TIMEOUT_WEBSERVICE, Long.class); > pol.setAsyncExecuteTimeout(timeout); > pol.setConnectionTimeout(timeout); > pol.setReceiveTimeout(timeout); > conduit1.setClient(pol); > this.client = clientLocal; -- This message was sent by Atlassian JIRA (v6.3.15#6346)