Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 62519 invoked from network); 11 Mar 2008 19:34:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 19:34:23 -0000 Received: (qmail 1084 invoked by uid 500); 11 Mar 2008 19:34:14 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1040 invoked by uid 500); 11 Mar 2008 19:34:13 -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 1029 invoked by uid 99); 11 Mar 2008 19:34:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 12:34:13 -0700 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, 11 Mar 2008 19:33:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 434EE234C08B for ; Tue, 11 Mar 2008 12:32:46 -0700 (PDT) Message-ID: <493632725.1205263966268.JavaMail.jira@brutus> Date: Tue, 11 Mar 2008 12:32:46 -0700 (PDT) From: "Manuel Linsmayer (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3524) Classloader problem / Service isolation In-Reply-To: <978798397.1203507643658.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-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577578#action_12577578 ] Manuel Linsmayer commented on AXIS2-3524: ----------------------------------------- Hi, that's bad news. I need to use an older version of Jakarta Commons HTTP-Client than Axis ships with (2.0.2 instead of 3.0.1) . There is no way to handle such a situation? Thank you, Manuel > Classloader problem / Service isolation > --------------------------------------- > > Key: AXIS2-3524 > URL: https://issues.apache.org/jira/browse/AXIS2-3524 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.3 > Reporter: Manuel Linsmayer > > I have two versions of the same library in AXIS2_HOME/lib and inside my AAR in the lib folder. Inside my service class, I'm trying to load the version from the AAR file using the following code: > ClassLoader cl = this.getClass().getClassLoader(); > Class testClass = Class.forName("package.Test", true, cl); > package.Test testObj = (package.Test) testClass.newInstance(); > The classloader always picks the version from AXIS2_HOME/lib. -- 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