Hi,

I will try with 4.2.8-SNAPSHOT as it upgraded to a new pax jdbc version
including fixes.

About the example, actually, I created a Jira to add both static and
dynamic packages (and Dockerfile generationà in any example.
Not sure I will have time to do that for 4.2.8, but I will try.

Regards
JB

On 29/12/2019 15:44, stefang wrote:
> Hi JB,
> 
> as a hint:
> 
> We found a way to get it working on Karaf 4.2.6 
> 
> The trick is to 
> 
> <blacklistedFeatures>
> 
>                       <blacklistFeature>jdbc</blacklistFeature>
> 
> </blacklistedFeatures>
> 
> in the configuration and put these two bundles in startupBundles Section
> 
> 
> <startupBundle>mvn:org.apache.karaf.jdbc/org.apache.karaf.jdbc.core/${karaf.version}</startupBundle>
>  <startupBundle>mvn:org.osgi/org.osgi.service.jdbc/1.0.0</startupBundle>
> 
> Build runs without Errors, Distribution goes to target and the Datasource
> (Derby) comes up. Example is usable.
> 
> So we tried this on 4.2.8-SNAPSHOT but without any luck.
> 
> There the datasourceFactory comes up but the Datasource from Config not and
> we have no idea what's going on with this. 
> 
> 
> Regards
> 
> Stefan
> 
> 
> 
> stefang wrote
>> Hi,
>>
>> it would be great if we can run this reference-example under static
>> distribution build ... 
>>
>> https://github.com/apache/karaf/tree/karaf-4.2.x/examples/karaf-jdbc-example
>>
>> Regards
>>
>> Stefan
>>
>>
>>
>>
>> stefang wrote
>>> Hi JB,
>>>
>>> thanks a lot.
>>>
>>> Regards
>>>
>>> Stefan
>>>
>>>
>>>
>>> jbonofre wrote
>>>> By the way, I created https://issues.apache.org/jira/browse/KARAF-6573
>>>> for the tracking.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 29/12/2019 07:23, Jean-Baptiste Onofré wrote:
>>>>> Hi,
>>>>>
>>>>> I'm adding this test + eventual fix for 4.2.8.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 28/12/2019 17:13, stefang wrote:
>>>>>> Hi,
>>>>>>
>>>>>> still failed with static distribution and feature jdbc.
>>>>>> Any workaround? 
>>>>>> This showstopped us to go further on with static-distribution and
>>>>>> docker
>>>>>> integration.
>>>>>>
>>>>>> Stefan 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>>>>>
>>>>>
>>>>
>>>> -- 
>>>> Jean-Baptiste Onofré
>>>
>>>> jbonofre@
>>>
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>
>>
>>
>>
>>
>> --
>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to