<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article ESB Migration from 5.6.x to 6.0.x: bundle refresh issues in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/ESB-Migration-from-5-6-x-to-6-0-x-bundle-refresh-issues/ta-p/2150896</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H2&gt;Overview&lt;/H2&gt; 
 &lt;P&gt;This article explains how to avoid bundle refresh issues after migrating from 5.6.x to 6.0.x.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Environment&lt;/H2&gt; 
 &lt;P&gt;This procedure only applies when migrating from 5.6.x to 6.0.x. For all other versions of Talend Runtime, please refer to the &lt;EM&gt;Installation and Upgrade Guide&lt;/EM&gt; for your platform.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Symptoms/Description&lt;/H2&gt; 
 &lt;P&gt;After migrating from 5.6.x to 6.0.x, your Karaf 4.0.x-based Talend Runtime container may seem to refresh dozens of bundles, or may install or uninstall unexpected bundles, when you are installing other features.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;If the container seems to refresh a lot more bundles than expected, this is because the refreshes can easily cascade.&lt;/P&gt; 
 &lt;P&gt;For example, a bundle that embeds an API package also has an optional dependency to another package. If this optional dependency is fulfilled by a newly-installed feature, then the bundle is rewired and will cause all bundles that are wired to the API package to also be refreshed.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Diagnosis&lt;/H2&gt; 
 &lt;P&gt;The Feature Service can be turned to verbose mode (&lt;STRONG&gt;-v&lt;/STRONG&gt;) to show more details of what it does. The output will show which bundles are installed, uninstalled, refreshed, stopped, and started.&lt;/P&gt; 
 &lt;P&gt;For example:&lt;/P&gt; 
 &lt;PRE&gt;feature:install -v activemq&lt;/PRE&gt; 
 &lt;P&gt;In the logged messages you will find lines like this:&lt;/P&gt; 
 &lt;PRE&gt;org.ops4j.pax.web.pax-web-jsp/4.2.0 (Wired to org.ops4j.pax.web.pax-web-spi/4.2.0 which is being refreshed)&lt;/PRE&gt; 
 &lt;P&gt;This means that &lt;STRONG&gt;pax-web-jsp&lt;/STRONG&gt; is being refreshed because &lt;STRONG&gt;pax-web-spi&lt;/STRONG&gt; is refreshed. So all lines containing "which is" are not the root cause. It helps to use:&lt;/P&gt; 
 &lt;PRE&gt;feature:install -t -v activemq | grep -v "which is"&lt;/PRE&gt; 
 &lt;P&gt;The option &lt;STRONG&gt;-t&lt;/STRONG&gt; (simulate) makes sure you are only looking at what would be changed, but does not install anything. The &lt;STRONG&gt;grep&lt;/STRONG&gt; part filters out all non-root causes.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Resolution&lt;/H2&gt; 
 &lt;P&gt;There are some ways to avoid such cascading refreshes:&lt;/P&gt; 
 &lt;UL&gt;&lt;LI&gt;Avoid embedding API packages into bundles with optional dependencies. Ideally, deploy separate bundles for the API.&lt;/LI&gt;&lt;LI&gt;Do many feature installations in one step. Instead of &lt;STRONG&gt;feature:install cxf&lt;/STRONG&gt;; &lt;STRONG&gt;feature:install activemq&lt;/STRONG&gt;, do &lt;STRONG&gt;feature:install cxf activemq&lt;/STRONG&gt;. The more information the Feature Service has, the better it can choose the right bundles.&lt;/LI&gt;&lt;/UL&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-02-09T18:22:49Z</dc:date>
    <item>
      <title>ESB Migration from 5.6.x to 6.0.x: bundle refresh issues</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/ESB-Migration-from-5-6-x-to-6-0-x-bundle-refresh-issues/ta-p/2150896</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H2&gt;Overview&lt;/H2&gt; 
 &lt;P&gt;This article explains how to avoid bundle refresh issues after migrating from 5.6.x to 6.0.x.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Environment&lt;/H2&gt; 
 &lt;P&gt;This procedure only applies when migrating from 5.6.x to 6.0.x. For all other versions of Talend Runtime, please refer to the &lt;EM&gt;Installation and Upgrade Guide&lt;/EM&gt; for your platform.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Symptoms/Description&lt;/H2&gt; 
 &lt;P&gt;After migrating from 5.6.x to 6.0.x, your Karaf 4.0.x-based Talend Runtime container may seem to refresh dozens of bundles, or may install or uninstall unexpected bundles, when you are installing other features.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;If the container seems to refresh a lot more bundles than expected, this is because the refreshes can easily cascade.&lt;/P&gt; 
 &lt;P&gt;For example, a bundle that embeds an API package also has an optional dependency to another package. If this optional dependency is fulfilled by a newly-installed feature, then the bundle is rewired and will cause all bundles that are wired to the API package to also be refreshed.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Diagnosis&lt;/H2&gt; 
 &lt;P&gt;The Feature Service can be turned to verbose mode (&lt;STRONG&gt;-v&lt;/STRONG&gt;) to show more details of what it does. The output will show which bundles are installed, uninstalled, refreshed, stopped, and started.&lt;/P&gt; 
 &lt;P&gt;For example:&lt;/P&gt; 
 &lt;PRE&gt;feature:install -v activemq&lt;/PRE&gt; 
 &lt;P&gt;In the logged messages you will find lines like this:&lt;/P&gt; 
 &lt;PRE&gt;org.ops4j.pax.web.pax-web-jsp/4.2.0 (Wired to org.ops4j.pax.web.pax-web-spi/4.2.0 which is being refreshed)&lt;/PRE&gt; 
 &lt;P&gt;This means that &lt;STRONG&gt;pax-web-jsp&lt;/STRONG&gt; is being refreshed because &lt;STRONG&gt;pax-web-spi&lt;/STRONG&gt; is refreshed. So all lines containing "which is" are not the root cause. It helps to use:&lt;/P&gt; 
 &lt;PRE&gt;feature:install -t -v activemq | grep -v "which is"&lt;/PRE&gt; 
 &lt;P&gt;The option &lt;STRONG&gt;-t&lt;/STRONG&gt; (simulate) makes sure you are only looking at what would be changed, but does not install anything. The &lt;STRONG&gt;grep&lt;/STRONG&gt; part filters out all non-root causes.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H2&gt;Resolution&lt;/H2&gt; 
 &lt;P&gt;There are some ways to avoid such cascading refreshes:&lt;/P&gt; 
 &lt;UL&gt;&lt;LI&gt;Avoid embedding API packages into bundles with optional dependencies. Ideally, deploy separate bundles for the API.&lt;/LI&gt;&lt;LI&gt;Do many feature installations in one step. Instead of &lt;STRONG&gt;feature:install cxf&lt;/STRONG&gt;; &lt;STRONG&gt;feature:install activemq&lt;/STRONG&gt;, do &lt;STRONG&gt;feature:install cxf activemq&lt;/STRONG&gt;. The more information the Feature Service has, the better it can choose the right bundles.&lt;/LI&gt;&lt;/UL&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/ESB-Migration-from-5-6-x-to-6-0-x-bundle-refresh-issues/ta-p/2150896</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-02-09T18:22:49Z</dc:date>
    </item>
  </channel>
</rss>

