Re: ClassCastException after retrieving an Entry

Gregg Wonderly <[email protected]> Thu, 4 Jan 2007 14:50:34 -0600
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Dan Creswell wrote:
> And there's the answer - yes that's very important because eclipse has
> it's way of doing classloading and Blitz and other Jini bits have
> another way of structuring it all.
>
> I think it's time to insert some usages of:
>
> com.sun.jini.start.ClassLoaderUtil.displayClassLoaderTree()
>
> For each of these classloaders...
>
> e.g.
>
> ClassLoaderUtil.displayClassLoaderTree(TaskEntry.class.getClassLoader());

That will be helpful in seeing if there is a common loader above them where this
class should be defined instead.  But, we still need to know what loader that
the TaskEntry definition uses for the entry object.  Then, dumping that loader
tree will hopefully reveal what's happening with loader hierarchies.

Gregg Wonderly

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html