Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Webstart and DerbyDB : class not found
Webstart and DerbyDB : class not found [message #459638] Tue, 05 December 2006 04:15 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Platform specific language packs
Next Topic:Validating A Concept
Goto Forum:
  


Current Time: Tue Apr 15 06:03:05 EDT 2025

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

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

Back to the top