Webstart and DerbyDB : class not found [message #459638] |
Tue, 05 December 2006 04:15  |
Eclipse User |
|
|
|
Hi,
I'm trying to run my RCP application using webstart. I followed a nice
tutorial (sorry I don't have the url in mind) and I can now start my
application successfuly.
Only one problem remains : my app uses the Derby plugin, and when using
Webstart, it can't find the jdbc driver. (it works when I don't use
webstart.)
As I'm using Class.forName in several parts of my app, I think that the
webstart classloader can't find a class if it is located in a different jar.
I tried to use forName( String ,boolean ,ClassLoader ) with
Thread.getCurrentThread().getClassLoader() with no success.
Any idea on how I can solve this ?
Thanks,
--
Nicolas
|
|
|
Re: Webstart and DerbyDB : class not found [message #459967 is a reply to message #459638] |
Sat, 09 December 2006 04:05  |
Eclipse User |
|
|
|
This problem can be solved by repackaging the derby plug in. (Set
classpath and export packages)
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=167315)
--
Nicolas
Nicolas Richeton a écrit :
> Hi,
>
> I'm trying to run my RCP application using webstart. I followed a nice
> tutorial (sorry I don't have the url in mind) and I can now start my
> application successfuly.
>
> Only one problem remains : my app uses the Derby plugin, and when using
> Webstart, it can't find the jdbc driver. (it works when I don't use
> webstart.)
>
> As I'm using Class.forName in several parts of my app, I think that the
> webstart classloader can't find a class if it is located in a different
> jar.
>
> I tried to use forName( String ,boolean ,ClassLoader ) with
> Thread.getCurrentThread().getClassLoader() with no success.
>
> Any idea on how I can solve this ?
>
> Thanks,
> --
> Nicolas
>
|
|
|
Powered by
FUDForum. Page generated in 0.05087 seconds