Looks like I was missing pax-jdbc, although I did have 3 other pax jdbc
related features..... *facepalm*

On Sun, Dec 20, 2015 at 5:37 PM, Jean-Baptiste Onofré <j...@nanthrax.net>
wrote:

> Can you check if pax-jdbc and pax-jdbc-config feature are installed (boot
> features in your case I guess) ?
>
> Regards
> JB
>
> On 12/20/2015 06:00 PM, Tom Barber wrote:
>
>> Okay so I tried something.
>>
>> If I unzip my distro and start it up and run jdbc:ds-list the data
>> source is listed. If I then install my persistence bundle it finds it.
>>
>> If I unzip my distro and start up my persistence bundle, it doesn't
>> detect the datasource.
>>
>> Am I missing some bootstrap?
>>
>> Tom
>>
>>
>> On Sun, Dec 20, 2015 at 3:52 PM, Jean-Baptiste Onofré <j...@nanthrax.net
>> <mailto:j...@nanthrax.net>> wrote:
>>
>>     Hi Tomn
>>
>>     what did you define in the cfg file ?
>>     Anything special in the log ?
>>
>>     I guess you use Karaf 4.0.2. Did you install the pax-jdbc feature:
>>
>>     feature:install pax-jdbc
>>
>>     ?
>>
>>     I fixed that in next Karaf version: now the jdbc feature installs
>>     pax-jdbc (it wasn't the case before).
>>
>>     Regards
>>     JB
>>
>>     On 12/20/2015 11:21 AM, Tom Barber wrote:
>>
>>         Hello folks
>>
>>         i have a datasource define in etc/org.ops4j.datasource-users.cfg
>>
>>         When I install my feature I have a persistence bundle that
>>         starts but I get:
>>
>>         apache.aries.jpa.container - 1.0.2 | The DataSource
>>         osgi:service/javax.sql.DataSource/(osgi.jndi.service.name
>>         <http://osgi.jndi.service.name>
>>         <http://osgi.jndi.service.name>=userlist) required by bundle
>>         bi.meteorite.persistence/1.0.0.SNAPSHOT could not be found.
>>
>>         And my bundle hangs in grace period.
>>
>>         If I then stop and start karaf all my bundles start.
>>
>>         So how do I get it to find the datasource before trying to start
>> my
>>         bundle with blueprint?
>>
>>         Thanks
>>
>>         Tom
>>
>>
>>     --
>>     Jean-Baptiste Onofré
>>     jbono...@apache.org <mailto:jbono...@apache.org>
>>     http://blog.nanthrax.net
>>     Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to