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 08:43
Eclipse User
Originally posted by: tobias.soloschenko.mxcit.de

Hello,

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 >
Classpath.

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
Drivers
are found and then the app crashes.

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

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


Current Time: Thu Jul 31 21:53:17 EDT 2014

Powered by FUDForum. Page generated in 0.01865 seconds