This seems to have been a problem concerning the classloading within Equinox. I tried fixing this using the DynamicImport-Package and Eclipse-BuddyPolicy headers, but without much success. Eventually I fixed this by repackaging the latest version of Quartz as a bundle myself, adding the MySql jar in the bundle.
It's not the prettiest or most elegant solution, but it will have to do for now. In case anybody could tell me more about the classloading, feel free to reply!
Up vote 1 down vote favorite share g+ share fb share tw.
I came upon the following obstacle whilst developing in OSGi. One set of bundles, responsible for persistence, uses the com.mysql.jdbc. Driver class, offered by another (Springsource EBR provisioned) bundle.
In another bundle I'm configuring the Quartz scheduler library to use a database as a jobstore. This is also done using the MySQL driver. Upon running however, I get a ClassNotFoundException.
This is strange, since the persistence still functions correctly. Even more strange, when I try to manually load the class, using Class. ForName("com.mysql.jdbc.
Driver") it is loaded correctly, implying that the class is indeed available for loading. Coincidence or not, the same seems to be happening with Drools... I repackaged some of the latest Drools jars as OSGi bundles, deployed them and when running again the ClassNotFoundException pops up. In both cases all supplier bundles are added to the required bundles in the manifest.
Does this weird issue ring any bells? I'd be happy to hear about it... java osgi class-loading equinox classnotfoundexception link|improve this question asked May 2 '11 at 14:39nielsn325 75% accept rate.
You can/should verify with the "headers" command in the equinox console if the bundles have correct Export-Package and Import-Package headers. – Progman May 2 '11 at 14:47 @Progman: thank you for your reply. The problem did not seem to be any incorrect import or export statements, but the classloading itself, cfr.
My answer. – nielsn May 3 '11 at 7:27.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.