Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » HowTo load database-driver dynamically
HowTo load database-driver dynamically [message #587977] Wed, 26 September 2007 12:43
Eclipse UserFriend
Originally posted by:


Is there any way to add jars dynamically to the osgi context? I've got the
problem to use a folder where users can add drivers and those drivers have
to load dynamically. So I can't define it in plugin.xml > Runtime >

I'm using Spring in the rcp context and the request to any driver classes
is delegated to the
org.eclipse.core.runtime.internal.adaptor.ContextFinder. The
ContextFinder itself looks into the classpath of the plugin where no
are found and then the app crashes.

I heard about a ClassLoadingHook and tried it already with vm arguments.

Previous Topic:database development perspective not visible
Next Topic:Connect just hangs
Goto Forum:

Current Time: Sat Apr 21 08:03:52 GMT 2018

Powered by FUDForum. Page generated in 0.01836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software