Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34588 invoked from network); 30 Aug 2007 02:16:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 02:16:54 -0000 Received: (qmail 69102 invoked by uid 500); 30 Aug 2007 02:16:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 69047 invoked by uid 500); 30 Aug 2007 02:16:48 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 69033 invoked by uid 99); 30 Aug 2007 02:16:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 19:16:48 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 02:17:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 839D571418F for ; Wed, 29 Aug 2007 19:16:30 -0700 (PDT) Message-ID: <6892867.1188440190519.JavaMail.jira@brutus> Date: Wed, 29 Aug 2007 19:16:30 -0700 (PDT) From: "Yattie Yang (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3162) tcp transport problem: multithread blocking sending doesn't work In-Reply-To: <17840988.1188437071126.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yattie Yang updated AXIS2-3162: ------------------------------- Environment: jdk1.5, axis2 1.2, tomcat 6.0 (was: jdk1.5, axis2 1.2, tomcat 5.0) > tcp transport problem: multithread blocking sending doesn't work > ---------------------------------------------------------------- > > Key: AXIS2-3162 > URL: https://issues.apache.org/jira/browse/AXIS2-3162 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: transports > Affects Versions: 1.2 > Environment: jdk1.5, axis2 1.2, tomcat 6.0 > Reporter: Yattie Yang > > I create a webservices to send datas, and http,jms transport works fine with multithread sending, but not for tcp. > TCP uses ws-addressing in both client and server sides, and it works fine in single thread. In the case of multithread, > e.g., > 1. a thread T1 created to send data D1, use a ServiceClient object in blocking way(sendReceive()) > 2. meanwhile, another thread T2 created to send data D2 > 3. T1 sent the data and has not received the reply;(need more time) > 4. T2 sent the data and received the reply;(T2 works OK) > 5. T1 throws a Exception: Socket output is already shutdown > I use the seperator listener by options.setUseSeparateListener(true) and similarlly "socket shutdown" exception > My question is: > when using two seperate ServiceClient, there should be two socket connection. It works fine for http and jms, but why not work for > tcp? Is there something I missed when engaged ws-addressing or some bugs there? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org