Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 5768 invoked from network); 12 Jul 2007 19:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 19:10:59 -0000 Received: (qmail 19447 invoked by uid 500); 12 Jul 2007 19:10:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 19402 invoked by uid 500); 12 Jul 2007 19:10:58 -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 19391 invoked by uid 99); 12 Jul 2007 19:10:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 12:10:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Gstanchev@serena.com designates 205.142.227.27 as permitted sender) Received: from [205.142.227.27] (HELO ORX-MX.serena.dmz) (205.142.227.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 12:10:55 -0700 Received: from ord-mail.serena.com (ord-mail.serena.com) by ORX-MX.serena.dmz (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Thu, 12 Jul 2007 12:11:52 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RepositoryListner.getLocation Date: Thu, 12 Jul 2007 12:10:01 -0700 Message-ID: <35C7864F19A8BB4284FB2738EF8152217752A7@ord-mail.serena.com> In-Reply-To: <968D9371-8A3F-4F3F-A087-2FEAA2C96603@hogstrom.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RepositoryListner.getLocation Thread-Index: AcfEK7E4Tw8yZ4lERMKuQ3daXxddMAAizhlQ From: "George Stanchev" To: X-Virus-Checked: Checked by ClamAV on apache.org Hi, We are trying to load and use axis2 via JNI and in this case we have the system class loader to be the thread context loader. That causes problems when loading modules due to the following code in=20 org.apache.axis2.deployment.RepositoryListner.getLocation() Class clazz =3D Loader.loadClass("org.apache.axis2.engine.AxisEngine"); java.net.URL url =3D clazz.getProtectionDomain().getCodeSource().getLocation(); If loaded by the system classloader, the class does not have a protection domain assoiciated with it and the code throws NPE. Is this fixed in 1.3 RC2 or I need to open a JIRA? Thanks! George Stanchev ********************************************************************** This email and any files transmitted with it are confidential and intended = solely for the use of the individual or entity to whom they are addressed. = Any unauthorized review, use, disclosure or distribution is prohibited. If = you are not the intended recipient, please contact the sender by reply e-ma= il and destroy all copies of the original message.=20 ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org