Hi,

As a workaround, you can try to use the bundle:dynamic-import command on
Pax JDBC bundles.

I will check later today if it makes sense to enable by default for
generic driver support.

Regards
JB

On 25/07/2018 04:43, Paul Spencer wrote:
> JB,
> I am not sure how to "enable dynamic import for Pax JDBC".  
> 
> Paul Spencer
> 
>> On Jul 24, 2018, at 1:03 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
>>
>> Hi Paul,
>>
>> can you try to enable dynamic import for Pax JDBC ?
>>
>> I will add this natively.
>>
>> Regards
>> JB
>>
>> On 24/07/2018 18:02, Paul Spencer wrote:
>>> Karaf 4.2
>>>
>>> I am trying to create a JDBC datasource for a DBMS not natively supported by
>>> PAX-JDBC, specifically Ingres.   Below are the commands I am using to
>>> install the Ingres JDBC driver and create the datasource.  Based on the log
>>> files, the creation process is waiting on a service dependency.
>>>
>>> karaf@root()> bundle:install wrap:mvn:com.ingres.jdbc/iijdbc/9.2-3.4.10
>>> karaf@root()> jdbc:ds-create -url jdbc:ingres://localhost/dbname -u user -p
>>> password -dc com.ingres.jdbc.IngresDataSource myDS
>>> karaf@root()> log:display
>>> 11:47:35.465 INFO [CM Configuration Updater (Update:
>>> pid=org.ops4j.datasource.b91f90b0-b399-49ab-9f55-9ab522d24833)] Waiting for
>>> service dependency:
>>> (&(objectClass=org.osgi.service.jdbc.DataSourceFactory)(osgi.jdbc.driver.class=com.ingres.jdbc.IngresDataSource))
>>>
>>> How to I create a JDBC datasource using com.ingres.jdbc.IngresDataSource?
>>>
>>>
>>>
>>> --
>>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>>
> 

Reply via email to