Hi German
The thread got broken somewhere ... I had reported the following:
I've followed the notes at:
http://developer.db4o.com/Resources/view.aspx/Reference/Platform_Specific_Issues/Database_For_OSGi/Eclipse_Plug-In_With_Db4o_Service
but
got a NoClassDefFoundError: com/db4o/osgi/Db4oService on start up (see
below). I've checked the following and run out of ideas:
- loaded db4o_osgi.jar into
ECLIPSE_HOME
- imported as source
- db4o_osgi is in the plugin.xml dependencies
I fixed the NoClassDefFoundError by adding the dbo4_ogsi jars to the classpath, but I'm not sure now that really solved the problem (or in fact should have done). I'm trying to run this as an Eclipse RCP plugin, but although I can now start the application the call to context.getServiceReference(Db4oService.class.getName()) returns null, I guess because the service hasn't been started. Not being familiar with OSGI I've been reading up on that but don't have an answer ... getting db4o to work with Eclipse RCP is proving a real problem, which is a great shame, as it was really easy when I was writing the unit tests for it.
By the way, your OSGI demo looks interesting but I had some problems on Linux with unrar - any chance you could put a zip version up?
David