You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by dishmily <en...@hotmail.com> on 2008/06/01 13:43:12 UTC
Re: Using Ehcache in OSGI Platform
hi, thanks. as i have not understood how to use BND as well, i created a
Mysql-Bundle and exported the importend package, finally it works!
Martin Thelian wrote:
>
> dishmily schrieb:
>> i have also met the same problem when i try do use mysql in osgi
>> platform:
>>
>> osgi> java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
>>
>> how can i let mysql work in osgi platform? when i try to use extra
>> library
>> in osgi platform, such problem like "class not found" occured always.
>>
> If you don't want to create a mysql-bundle on your own, you could embed
> mysql into the bundle using it. See [1]
>
> Martin
>
> [1]
> http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin(BND)-Embeddingdependencies
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Using-Ehcache-in-OSGI-Platform-tp17534813p17584755.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using Ehcache in OSGI Platform
Posted by Stevens Gestin <sg...@gmail.com>.
I should add an advice concerning your bundle. Use the version of the
library as the version of your bundle.
Best Regards,
Stevens Gestin
On Sun, Jun 1, 2008 at 1:43 PM, dishmily <en...@hotmail.com> wrote:
>
> hi, thanks. as i have not understood how to use BND as well, i created a
> Mysql-Bundle and exported the importend package, finally it works!
>
>
>
> Martin Thelian wrote:
> >
> > dishmily schrieb:
> >> i have also met the same problem when i try do use mysql in osgi
> >> platform:
> >>
> >> osgi> java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
> >>
> >> how can i let mysql work in osgi platform? when i try to use extra
> >> library
> >> in osgi platform, such problem like "class not found" occured always.
> >>
> > If you don't want to create a mysql-bundle on your own, you could embed
> > mysql into the bundle using it. See [1]
> >
> > Martin
> >
> > [1]
> >
> http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin(BND)-Embeddingdependencies<http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin%28BND%29-Embeddingdependencies>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> > For additional commands, e-mail: users-help@felix.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Using-Ehcache-in-OSGI-Platform-tp17534813p17584755.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Le respect commence par celui de l'environnement