db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: IBM J9 Personal Profile 1.1 + OSGi + Derby
Date Wed, 01 Oct 2008 22:01:58 GMT
On Wed, Oct 1, 2008 at 1:22 PM, Paul French <paul.french@kirona.com> wrote:
> Hello All,
>
> I noticed I derby.jar is an OSGi bundle and so I installed it in my OSGi
> container (Knopflerfish 2.0.5) running on IBM J9 PP1.1
>
> I included the required jdbc.jar (JSR169) in the bootpath of the J9 jvm. I
> can install the bundle no problems. When I try and start the bundle I get:
>
> java.lang.NoClassDefFoundError: java.sql.Driver
>
> From reading this page on the wiki
> http://wiki.apache.org/db-derby/JavaMESupport?highlight=(j2me)
>
> I know java.sql.Driver does not exist in JSR169.
>
> Hence how do I tell the derby bundle not to use java.sql.Driver and use
> instead javax.sql.DataSource
>
> Any help would be appreciated.
>
> Many Thanks
> Paul

Hi,

I wonder
1. Did you get more of a stack trace? Maybe in a log file somewhere?
2. What is the exact output when you do: "j9 -version"  ?

Note, that we support the Foundation (1.1) Profile - as far as I can
tell, Personal Profile is a superset of that...

Myrna

Mime
View raw message