Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 74348 invoked from network); 27 Jun 2006 06:01:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 06:01:04 -0000 Received: (qmail 19337 invoked by uid 500); 27 Jun 2006 06:01:04 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 19315 invoked by uid 500); 27 Jun 2006 06:01:04 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 19305 invoked by uid 99); 27 Jun 2006 06:01:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2006 23:01:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2006 23:01:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF046410124 for ; Tue, 27 Jun 2006 05:59:29 +0000 (GMT) Message-ID: <701634.1151387969845.JavaMail.jira@brutus> Date: Tue, 27 Jun 2006 05:59:29 +0000 (GMT+00:00) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-325) ClassNotFoundException under jvm 1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ClassNotFoundException under jvm 1.6 ------------------------------------ Key: HADOOP-325 URL: http://issues.apache.org/jira/browse/HADOOP-325 Project: Hadoop Type: Bug Components: ipc Versions: 0.3.2 Reporter: Owen O'Malley Assigned to: Owen O'Malley Fix For: 0.4.0 We have been having problems with classes that are returned by RPC methods not being loaded/initialized correctly. The work around has been to put in the servers, code of the form: static { new FooBar(); } // to resolve the ClassNotFoundException for class FooBar. When I tried running under java 1.6, that stopped working because one of the classes had to be instantiated from a package that didn't have visibility to create an instance. So I tracked the problem down to how the classes were being loaded via reflection. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira