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>=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é
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to