I had the same problem when the OJB.properties file was not on my classpath. It took some searching in the source but eventually realized that the ExceptionInInitializerError I was getting was because the OJB.properties file was not on my class path. I added it and everything worked fine. It seems that working with the default settings is not enough and it fails to load. I think the errors there are a little ambiguous when they tell you that OJB is running with the default settings and then fails to load.
Cheers, Andrew
At 11:20 20/08/2003 +0600, you wrote:
hi all,
i am creating a eclipse plugin to load specific search results from a database. so, i am calling ojb classes through the eclipse platform.
it works well in a normal java program. but when i run it as a eclipse plugin, it gave me lot of errors.
first error was some thing with the OJB.properties file. i removed the file, so then ojb worked with the default settings, then it gave the following error.
Unhandled exception caught in event loop.
Reason:
java.lang.ExceptionInInitializerError
i thought it is some problem with eclipse class loader or class paths, but can't figure the problem.
please help me for my plugin.
regards indrajith rambukkanage
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
