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 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: Wed Oct 22 06:35:01 GMT 2014

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

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