Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 49830 invoked from network); 14 Dec 2004 22:00:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Dec 2004 22:00:10 -0000 Received: (qmail 66011 invoked by uid 500); 14 Dec 2004 21:37:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65890 invoked by uid 500); 14 Dec 2004 21:37:04 -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: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 65819 invoked by uid 99); 14 Dec 2004 21:37:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Dec 2004 13:36:59 -0800 Received: (qmail 20719 invoked from network); 14 Dec 2004 21:36:58 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 14 Dec 2004 21:36:58 -0000 Message-ID: <1662869262.1103060218229.JavaMail.apache@nagoya> Date: Tue, 14 Dec 2004 13:36:58 -0800 (PST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS-1722) MethodCache does not consider the classloader in the cache key In-Reply-To: <980991135.1103053618018.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/AXIS-1722?page=history ] Davanum Srinivas resolved AXIS-1722: ------------------------------------ Resolution: Fixed Applied. thanks, dims > MethodCache does not consider the classloader in the cache key > -------------------------------------------------------------- > > Key: AXIS-1722 > URL: http://nagoya.apache.org/jira/browse/AXIS-1722 > Project: Axis > Type: Bug > Components: Basic Architecture > Versions: 1.2RC2 > Environment: Any > Reporter: Eric Norman > Attachments: MethodCache.java > > If you load a class with the same name in different classloaders, the method cache only uses the first one. This is a problem because our server loads components into their own classloaders, so if two components contain the same classname, the MethodCache will often return a Method from the wrong class, eventually causing a problem serializing and/or deserializing the SOAP message into their java objects. Suggest using the class object as the key in the HashMap instead of the classname. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira