Hello Again,
I have tried with simplistics kars and got the expected behavior. I
would think that I have some transitive dependencies between my two
features. I will look for this.
Thanks again and I will come back if I get something.
Have a nice day,
Christophe
Le 04. 05. 15 12:50, jbonofre [via Karaf] a écrit :
> OK,
>
> did you create the kar file by hand or using the maven plugin ?
>
> And you use Karaf 2.3.8 right ?
>
> Regards
> JB
>
> On 05/04/2015 12:29 PM, Christophe Pache wrote:
>
>> With pleasure, thanks for your help.
>>
>> Here is the first feature:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <features>
>>
>> <feature name="common_statistic" version="1.0-SNAPSHOT">
>> <feature>jpa-hibernate</feature>
>> <feature>camel-jpa</feature>
>>
>> <bundle>wrap:mvn:net.sourceforge.jtds/jtds/1.3.0</bundle>
>> <!-- jta -->
>> <feature>jndi</feature>
>>
> <bundle>mvn:io.xtech.cf.common.statistic/cf-jpa/1.1-SNAPSHOT</bundle>
>> <configfile finalname="/etc/io.xtech.cf.common.statistic.cfg">
>>
>> mvn:io.xtech.cf.common.statistic/cf-jpa/1.1-SNAPSHOT/properties/config
>> </configfile>
>>
>> </feature>
>>
>> </features>
>>
>> Here is the second one:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <features>
>>
>> <feature name="XT_CF_FH_Bus" version="${project.version}">
>>
>> <feature>jasypt-spring31</feature>
>> <feature>babel-camel</feature>
>>
>>
> <bundle>mvn:${project.groupId}/firmbus-model/${project.version}</bundle>
>>
>>
> <bundle>mvn:${project.groupId}/firmbus-mediation/${project.version}</bundle>
>
>>
>> <configfile finalname="/etc/XT_CF_FH_Bus.cfg">
>>
>>
> mvn:${project.groupId}/firmbus-mediation/${project.version}/properties/config
>
>> </configfile>
>> </feature>
>>
>> </features>
>>
>>
>> Le 04. 05. 15 10:33, jbonofre [via Karaf] a écrit :
>>> Do you mind to share your kar or features XML ?
>>>
>>> A kar is atomic, so removing a kar should not impact the others (or the
>>> kar files share some common thing in the features XML).
>>>
>>> Regards
>>> JB
>>>
>>> On 05/04/2015 10:23 AM, Christophe Pache wrote:
>>>
>>>> Hi JB,
>>>>
>>>> Thanks for reply. No the features do not contain any common bundle
>>>> definition.
>>>>
>>>> THis was what I was thinking about first.
>>>>
>>>> Le 04. 05. 15 10:21, jbonofre [via Karaf] a écrit :
>>>>> Hi Christophe,
>>>>>
>>>>> does the features XML contained in the kar define the same bundles ?
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 05/04/2015 09:27 AM, Christophe Pache wrote:
>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> I have not been able to find the documentation on the deployed kar
>>>>> behavior.
>>>>>> Currently, I'm deploying 2 kars in a karaf (2.3.0).
>>>>>> They don't have any direct dependency on each other but when I remove
>>>>> one of
>>>>>> those, the bundles from the other are also removed.
>>>>>>
>>>>>> My expectation are that a kar, once removed, should try to remove the
>>>>>> bundles installed if not used. I worring whenever this might be
> another
>>>>>> bundle that is uninstalled.
>>>>>>
>>>>>> Any idea or documentation might help a lot, thanks in advance.
>>>>>>
>>>>>> Christophe
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127.html
>>>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>>>
>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> [hidden email] </user/SendEmail.jtp?type=node&node=4040132&i=0>
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>>
>>>>>
>>>>>
> ------------------------------------------------------------------------
>>>>> If you reply to this email, your message will be added to the
> discussion
>>>>> below:
>>>>>
>>>
> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040132.html
>>>>>
>>>>> To unsubscribe from Kar expected behavior, click here
>>>>> <
>>>>> NAML
>>>>>
>>>
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>
> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040134.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email] </user/SendEmail.jtp?type=node&node=4040135&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>> ------------------------------------------------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040135.html
>>>
>>> To unsubscribe from Kar expected behavior, click here
>>> <
>>> NAML
>>>
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>>>
>>
>>
>>
>>
>> --
>> View this message in context:
> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040144.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email] </user/SendEmail.jtp?type=node&node=4040145&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040145.html
>
> To unsubscribe from Kar expected behavior, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4040127&code=Y2hyaXN0b3BoZS5wYWNoZUBjcm9zc2luZy10ZWNoLmNvbXw0MDQwMTI3fDE5NTI0Nzk1NjQ=>.
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Kar-expected-behavior-tp4040127p4040172.html
Sent from the Karaf - User mailing list archive at Nabble.com.