Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 46317 invoked from network); 23 Jun 2009 21:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 21:11:27 -0000 Received: (qmail 51060 invoked by uid 500); 23 Jun 2009 21:11:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 50969 invoked by uid 500); 23 Jun 2009 21:11:37 -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 50960 invoked by uid 99); 23 Jun 2009 21:11:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 21:11:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 21:11:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7135C234C055 for ; Tue, 23 Jun 2009 14:11:07 -0700 (PDT) Message-ID: <639454835.1245791467462.JavaMail.jira@brutus> Date: Tue, 23 Jun 2009 14:11:07 -0700 (PDT) From: "Riken Shah (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-4357) Client generated by wsdl2java is not thread safe for neither single nor multiple stubs In-Reply-To: <581248051.1243531665664.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723309#action_12723309 ] Riken Shah commented on AXIS2-4357: ----------------------------------- What I have come to find after a lot of stress testing, under heavy load, the Axis2 1.4 - with a stub per thread, is still not thread safe - if someone has any other way to make it, please add your comments. > Client generated by wsdl2java is not thread safe for neither single nor multiple stubs > -------------------------------------------------------------------------------------- > > Key: AXIS2-4357 > URL: https://issues.apache.org/jira/browse/AXIS2-4357 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Reporter: uygar yuzsuren > > I'm working on a web service client generated by wsdl2java.sh tool of axis2-1.4. > When I load the client with a multiple of threads, the server starts to throw exceptions stating that there are unexpected characters in the input. When I checked the transferred SOAP messages via tcpdump, I see that the requests of my client becoming garbage, they are not valid SOAP messages when loaded. > I googled it on the net and found out that there might be a workaround by creating a different stub instance for each call. But the author of this comment was not sure about that. > I changed my code to create different stubs for each call but nothing changed, the sent messages were garbage again. > Is there are way to solve this issue?I would be pleased if you could notify. > Thank you -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.