title: why does following bundle is in graceperiod?
body: <p>I have two bundles with blueprint file having camel-activemq stuff.
  like </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
   ..
      &lt;cm:property-placeholder id="jms.placeholder" persistent-id="com.mycompany.context"&gt;
          &lt;cm:default-properties&gt;
              &lt;cm:property name="activemq.url" value="${activemq.url}" /&gt;
              &lt;cm:property name="activemq.user" value="${activemq.user}" /&gt;
              &lt;cm:property name="activemq.password" value="${activemq.password}" /&gt;
          &lt;/cm:default-properties&gt;
      &lt;/cm:property-placeholder&gt;
   
   ..
      &lt;camelContext xmlns="http://camel.apache.org/schema/blueprint"
                    id="quartzCamelPublisher"
                    autoStartup="true"&gt;
          
          &lt;route id="failedMessagePublisher"&gt;
              &lt;from uri="vm:failedEventQueue" /&gt;
              &lt;to pattern="InOnly" uri="activemq:queue:not-success"/&gt;
          &lt;/route&gt;
      &lt;/camelContext&gt;
      
      
      &lt;reference id="txMgr" interface="javax.transaction.TransactionManager" /&gt;
  
      &lt;bean id="xaConnectionFactory" class="org.apache.activemq.ActiveMQXAConnectionFactory"&gt;
          &lt;property name="brokerURL" value="${activemq.url}" /&gt;
          &lt;property name="userName" value="${activemq.user}" /&gt;
          &lt;property name="password" value="${activemq.password}" /&gt;
          &lt;property name="watchTopicAdvisories" value="false" /&gt;
      &lt;/bean&gt;
  
      &lt;bean id="jcaConnectionFactory" class="org.apache.activemq.jms.pool.JcaPooledConnectionFactory"
            init-method="start" destroy-method="stop"&gt;
          &lt;property name="transactionManager" ref="txMgr"/&gt;
          &lt;property name="maxConnections" value="10" /&gt;
          &lt;property name="name" value="amq" /&gt;
          &lt;property name="connectionFactory" ref="xaConnectionFactory"/&gt;
      &lt;/bean&gt;
  
      &lt;bean id="jmsTxConf" class="org.apache.activemq.camel.component.ActiveMQConfiguration"&gt;
          &lt;property name="connectionFactory" ref="jcaConnectionFactory" /&gt;
          &lt;property name="requestTimeout" value="10000" /&gt;
          &lt;property name="transactionTimeout" value="30" /&gt;
          &lt;property name="transacted" value="true" /&gt;
          &lt;property name="cacheLevelName" value="CACHE_NONE" /&gt;
      &lt;/bean&gt;
  
      &lt;bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" &gt;
          &lt;property name="configuration" ref="jmsTxConf" /&gt;
      &lt;/bean&gt;
  &lt;/blueprint&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>If I use constant values in second bundle blueprint file , every thing works fine.As soon I use configuration like ${activemq.url} there, it looks it can not find it and try to get it infinite number of time. and second bundle can not resolve there.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>   018-05-22 13:00:13,133 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving property activemq.url
  2018-05-22 13:00:13,133 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieved property activemq.url value from defaults ${activemq.url}
  2018-05-22 13:00:13,133 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving Value from expression: activemq.url
  2018-05-22 13:00:13,133 | DEBUG | rint Extender: 2 | CmPropertyPlaceholder            | 34 - org.apache.aries.blueprint.cm - 1.1.0 | Retrieving property value activemq.url from configuration with pid com.mycompany.context
  2018-05-22 13:00:13,138 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving property activemq.url
  2018-05-22 13:00:13,139 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieved property activemq.url value from defaults ${activemq.url}
  2018-05-22 13:00:13,139 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving Value from expression: activemq.url
  2018-05-22 13:00:13,140 | DEBUG | rint Extender: 2 | CmPropertyPlaceholder            | 34 - org.apache.aries.blueprint.cm - 1.1.0 | Retrieving property value activemq.url from configuration with pid com.mycompany.context
  2018-05-22 13:00:13,140 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving property activemq.url
  2018-05-22 13:00:13,141 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieved property activemq.url value from defaults ${activemq.url}
  2018-05-22 13:00:13,141 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving Value from expression: activemq.url
  2018-05-22 13:00:13,141 | DEBUG | rint Extender: 2 | CmPropertyPlaceholder            | 34 - org.apache.aries.blueprint.cm - 1.1.0 | Retrieving property value activemq.url from configuration with pid com.mycompany.context
  2018-05-22 13:00:13,143 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving property activemq.url
  2018-05-22 13:00:13,143 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieved property activemq.url value from defaults ${activemq.url}
  2018-05-22 13:00:13,144 | DEBUG | rint Extender: 2 | PropertyPlaceholder              | 35 - org.apache.aries.blueprint.core - 1.8.2 | Retrieving Value from expression: activemq.url
  2018-05-22 13:00:13,144 | DEBUG | rint Extender: 2 | CmPropertyPlaceholder            | 34 - org.apache.aries.blueprint.cm - 1.1.0 | Retrieving property value activemq.url from
   
  
  
  ..
  
  ..
  ..</code></pre>
  </div>
  </div>
  </p>
  
  <p>If I use second configuration file which is just the duplicate config file like com.mycompany.context_1, then first bundle can not resolve with following transaction relate message.
  What is the reason following bundle is in graceperiond?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>karaf@root()&gt; bundle:diag 128
  ReturnContext :: My Bundle (128)
  ----------------------------------------------
  Status: GracePeriod
  Blueprint
  22/5/18 12:53 PM
  Missing dependencies:
  (&amp;(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/xmlns/transactions/v2.0.0))
  Declarative Services
  
  
  karaf@root()&gt; feature:list | grep transaction
  transaction-api                         | 1.2.0            |          | Started     | enterprise-4.1.2                      |
  transaction-manager-geronimo            | 1.3.3            |          | Started     | enterprise-4.1.2                      | Geronimo Transaction Manager
  transaction-manager-narayana            | 5.5.2.Final      |          | Uninstalled | enterprise-4.1.2                      | Narayana Transaction Manager
  transaction                             | 2.0.0            |          | Started     | enterprise-4.1.2                      | OSGi Transaction Manager
  karaf@root()&gt;</code></pre>
  </div>
  </div>
  </p>