Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFC3FD110 for ; Tue, 2 Oct 2012 21:27:42 +0000 (UTC) Received: (qmail 55282 invoked by uid 500); 2 Oct 2012 21:27:42 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 55249 invoked by uid 500); 2 Oct 2012 21:27:42 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 55241 invoked by uid 99); 2 Oct 2012 21:27:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 21:27:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Edison.su@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 21:27:34 +0000 X-IronPort-AV: E=Sophos;i="4.80,524,1344211200"; d="scan'208";a="210081985" Received: from sjcpmailmx01.citrite.net ([10.216.14.74]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 02 Oct 2012 21:27:13 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX01.citrite.net ([10.216.14.74]) with mapi; Tue, 2 Oct 2012 14:27:12 -0700 From: Edison Su To: "cloudstack-dev@incubator.apache.org" Date: Tue, 2 Oct 2012 14:27:12 -0700 Subject: RE: AgentHandler Classloading Issue Thread-Topic: AgentHandler Classloading Issue Thread-Index: Ac2g3YPBR3I9QtAVRBS7pHaJAV2jTQABx+qw Message-ID: References: <9DC10A5F-CD7A-4EBE-8993-DD3396B7D855@basho.com> In-Reply-To: <9DC10A5F-CD7A-4EBE-8993-DD3396B7D855@basho.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Do you have log message for this NoClassDefFound exception? > -----Original Message----- > From: John Burwell [mailto:jburwell@basho.com] > Sent: Tuesday, October 02, 2012 1:35 PM > To: cloudstack-dev@incubator.apache.org > Subject: AgentHandler Classloading Issue >=20 > All, >=20 > NoClassDefFound exceptions are occurring when executing code in an > AgentManager-Handler thread pool (specifically calling a utility class > from the cloud-utils module while in an NfsSecondaryStorageResource > method). The same code executes without error in other thread contexts > (e.g. calling the same method from code executing in the ApiServer > thread pool). I have isolated the NoClassDefFound exception to this > particular thread pool which appears to be started in the > com.cloud.utils.nio.NioConnection class. I have also been unable to > find log messages from work executing in the AgentManager-Handler > thread pool. Additionally, breakpoints set do not fire when code is > executing in the AgentManager-Handler, but do in other thread contexts. > What is different about code executing in this thread pool? Are there > any special steps that must be taken for this code? >=20 > Thank you for your assistance, > -John