Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68820 invoked from network); 11 Jun 2007 19:59:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 19:59:54 -0000 Received: (qmail 18001 invoked by uid 500); 11 Jun 2007 19:59:51 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 17893 invoked by uid 500); 11 Jun 2007 19:59:51 -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 17733 invoked by uid 99); 11 Jun 2007 19:59:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 12:59:50 -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; Mon, 11 Jun 2007 12:59:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5194A7141FF for ; Mon, 11 Jun 2007 12:59:26 -0700 (PDT) Message-ID: <9373751.1181591966331.JavaMail.jira@brutus> Date: Mon, 11 Jun 2007 12:59:26 -0700 (PDT) From: "Srinath Perera (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Closed: (AXIS2-2641) In RPCMessageReceiver, the class level variable "method" is not threadsafe, which will lead to concurrency method call issue. In-Reply-To: <1890673.1178511015323.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-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srinath Perera closed AXIS2-2641. --------------------------------- Resolution: Fixed attribute is Removed by deepal > In RPCMessageReceiver, the class level variable "method" is not threadsafe, which will lead to concurrency method call issue. > ----------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-2641 > URL: https://issues.apache.org/jira/browse/AXIS2-2641 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.1.1 > Environment: Java 1.5.0_07-b03, tomcat 5.5.16, WinXP SP2 Intel machine > Reporter: Lee Eng Leong > Assignee: Deepal Jayasinghe > Priority: Blocker > > In org.apache.axis2.rpc.receivers.RPCMessageReceiver, the class level variable "method" is not threadsafe, which will lead to concurrency method call issue. > I have a concurrent method call for say Class A, method1 and method2, some of the method call override the "method" variable each other. Therefore, say I have a call to method1, it actually calls method2, which cause InvocationTargetException in method.invoke() call. > The way to fix this is to move the method class instance variable to method level variable (inside method invokeBusinessLogic) -- 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