| 
| Classloader only finding half of a jar? (db4o) [message #22122] | Tue, 13 May 2003 19:29  |  | 
| Eclipse User  |  |  |  |  | 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 #23724 is a reply to message #22122] | Wed, 14 May 2003 16:34  |  | 
| Eclipse User  |  |  |  |  | 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...
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.02795 seconds