Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Classloader only finding half of a jar? (db4o)
Classloader only finding half of a jar? (db4o) [message #22122] Tue, 13 May 2003 23:29 Go to next message
Eclipse UserFriend
Originally posted by: clee3.students.depaul.edu

Hi,

I'm trying to use db4o (a lightweight OO db) from inside an eclipse
plugin. However, db4o, which
uses the Thread.currentThread().getContextLoader() cannot find some of its
classes.

Now, I know that from within the plugin, the db4o.jar partially loads,
because it loads enough to
throw its own error messages about not being able to load other classes
within the same jar.

looking for help, or if you have used db4o from within an eclipse plugin,


Chris
Re: Classloader only finding half of a jar? (db4o) [message #23381 is a reply to message #22122] Wed, 14 May 2003 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jed_anderson.us.ibm.com

Does the manifest file in the db4o jar reference other jars? Are those
jars located in the "correct" spot as specified in the manifest?

Just a thought...

jkca

Christopher Lee wrote:
> Hi,
>
> I'm trying to use db4o (a lightweight OO db) from inside an eclipse
> plugin. However, db4o, which
> uses the Thread.currentThread().getContextLoader() cannot find some of its
> classes.
>
> Now, I know that from within the plugin, the db4o.jar partially loads,
> because it loads enough to
> throw its own error messages about not being able to load other classes
> within the same jar.
>
> looking for help, or if you have used db4o from within an eclipse plugin,
>
>
> Chris
>
Re: Classloader only finding half of a jar? (db4o) [message #23724 is a reply to message #22122] Wed, 14 May 2003 20:34 Go to previous message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

* Christopher Lee <clee3@students.depaul.edu> wrote:
> plugin. However, db4o, which
> uses the Thread.currentThread().getContextLoader() cannot find some of its
> classes.

Another guess: the Context classloader does not know about the
plugin location. This is at least happening, if you use the xerces
factories. Search the wiki for classloader and xerces to get a
'pattern', how to solve this. Something with setting the context
classloader to the classloader of your current class , doing the
operation and then put the opld context classlaoder back.

Jan, debugged this problem for about a day...
Previous Topic:hidden-field preference?
Next Topic:{jar position, source viewing} weirdness
Goto Forum:
  


Current Time: Thu Dec 26 16:07:35 GMT 2024

Powered by FUDForum. Page generated in 0.03290 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top