Werner, Thanks for your fast response. Here are my answers:

> Btw, what 
> environment are you using ? Standalone or 
> web/app server ? If e.g. web server, is the JDBC driver 
> packaged within e.g. the web app ? 

I am using standalone environment with Eclipse just doing a simple concept of proof at 
the moment. 

I have just noticed that it kept crashing with null pointer exception, until I defined 
the following expression:

mapping.getResolver(Mapping.JDO, factory)

and evaluated it, when the debug was here:
Line 283 of DatabaseRegistry.java:
dbs = new DatabaseRegistry( database.getName(), mapping.getResolver( Mapping.JDO, 
factory ), factory, database.getDriver().getUrl(), props );   

After that it was not crashing at that point any more during debug, while still 
crashing during normal execution. 

> >             jdo.setClassLoader(jdo.getClass().getClassLoader());
> 
> Can you please move that line in front of the call to 
> JDO.setConfiguration () just to see whether it makes a difference ... 

No difference after this change.

Michal

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to