From: Alan McKinnon <alan.mckinnon@gmail.com>
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 [thread overview]
Message-ID: <201002150916.44846.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <4B785EEF.8000906@optonline.net>
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
next prev parent reply other threads:[~2010-02-15 7:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 13:19 [gentoo-user] Keyword for dev-java/sun-j2ee dhk
2010-02-11 14:40 ` Alan McKinnon
2010-02-11 14:56 ` dhk
2010-02-11 15:25 ` Alan McKinnon
2010-02-11 15:46 ` Dale
2010-02-11 16:09 ` Alex Schuster
2010-02-11 18:28 ` Alan McKinnon
2010-02-11 19:49 ` Neil Bothwick
2010-02-11 23:51 ` Dale
2010-02-12 6:25 ` Alan McKinnon
2010-02-12 11:13 ` Dale
2010-02-11 16:36 ` dhk
2010-02-11 20:06 ` dhk
2010-02-11 20:31 ` Alan McKinnon
2010-02-11 22:10 ` dhk
2010-02-11 22:20 ` Alan McKinnon
2010-02-11 22:58 ` dhk
2010-02-11 23:12 ` Alan McKinnon
2010-02-11 23:28 ` dhk
2010-02-14 20:37 ` dhk
2010-02-15 7:16 ` Alan McKinnon [this message]
2010-02-11 21:06 ` [gentoo-user] " walt
2010-02-11 22:11 ` dhk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201002150916.44846.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox