From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NgvEl-0004Vg-Q7 for garchives@archives.gentoo.org; Mon, 15 Feb 2010 07:19:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92C88E084F; Mon, 15 Feb 2010 07:18:59 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by pigeon.gentoo.org (Postfix) with ESMTP id 4DCBFE084F for ; Mon, 15 Feb 2010 07:18:59 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 3so755116eyh.2 for ; Sun, 14 Feb 2010 23:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=1G1uHoQ7t2KgceA+HalxshQCcKRfsO/2CZnV5C6SBgM=; b=oa2SJW0fmUlU9UazlVtzmFHVpYxYZ1d3jrBlcW+ipyTlRolMgMVmxsiW+mtdKWAOu6 v/O5Vjed6pNp4c8dhkgRC48jbWbuRjm39eQOiPR8i5TYSmVe+If+cwFL39k8K2glUPiX 6Z0DpbxIudSRF8GB0GfxDzXd1INvxQ6zgeJDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=b84pbIDTctgPkyYZHVL9CKRrq61BGaEDGcCQuIdwMMEqCNdiVAXrfp186BfcDrpnms x5ecDPhH7R4PY4FMUJ7aIvXMvDlOHpEdub/Td0bHFuB2ODeRS6mxyrqn+Rlm2CEXF+bq /TCd+fhgfbxQIoAv9/PfJ45f/XvIo30r77ThM= Received: by 10.213.68.139 with SMTP id v11mr2507387ebi.32.1266218338724; Sun, 14 Feb 2010 23:18:58 -0800 (PST) Received: from nazgul.localnet (dustpuppy.is.co.za [196.14.169.11]) by mx.google.com with ESMTPS id 15sm4234161ewy.12.2010.02.14.23.18.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Feb 2010 23:18:57 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Keyword for dev-java/sun-j2ee Date: Mon, 15 Feb 2010 09:16:44 +0200 User-Agent: KMail/1.13.0 (Linux/2.6.32-zen6; KDE/4.4.0; x86_64; ; ) References: <4B7403FD.8050208@optonline.net> <4B7492AA.6010109@optonline.net> <4B785EEF.8000906@optonline.net> In-Reply-To: <4B785EEF.8000906@optonline.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002150916.44846.alan.mckinnon@gmail.com> X-Archives-Salt: 7b2d521c-b7ea-4b54-a7cb-f500d515dca3 X-Archives-Hash: 7c980d8039b7efd5b587bcdd7beb9c40 On Sunday 14 February 2010 22:37:03 dhk wrote: > dhk wrote: > Ok, I think the problem is in the rt.jar file. The beginning of the > error is as follows: > > # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose > J2EE server listen port: 1050 > Exception in thread "main" java.lang.NoClassDefFoundError: > com/sun/corba/se/internal/util/IdentityHashtable > > However, the following command shows the IdentityHashtable in a > different location. > > # jar tf /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar | grep "IdentityHashtable" > com/sun/corba/se/impl/util/IdentityHashtable.class > com/sun/corba/se/impl/util/IdentityHashtableEntry.class > com/sun/corba/se/impl/util/IdentityHashtableEnumerator.class > > > I think the difference is j2ee is looking for "IdentityHashtable" in > com/sun/corba/se/internal/util/IdentityHashtable but the jar file has it > in com/sun/corba/se/impl/util/IdentityHashtable.class . > > Is this the problem? If so haw can it be fixed? It sure looks like your real problem. The class loader will not find the package you do have. And it's not a simple matter of unpacking rt.jar, changing and it zipping it all back up again - those things are signed and manifested. Have you looked into the metadata of java ebuilds to find where the java herd hang out and ask them there? -- alan dot mckinnon at gmail dot com