title: OSGi bundle restart with cxf-extension-osgi
body: <p>I have a simple CXF RS bundle deployed in Fuse 4.2 that works fine upon initial installation. But, when I update or re-install the bundle, the REST service in no longer accessible.</p>
  
  <p>I tried a various configurations and found that using cxf-extension-osgi was the issue...</p>
  
  <p>from this...</p>
  
  <pre><code>&lt;import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml"/&gt;
  </code></pre>
  
  <p>to this...</p>
  
  <pre><code>&lt;import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"/&gt;
  </code></pre>
  
  <p>Also, I updated the address to be non-relative...ending up with this configuration (that works after bundle restarts, etc)</p>
  
  <pre><code>&lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" /&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf-extension-http.xml" /&gt;
  &lt;import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" /&gt;
  
  &lt;jaxrs:server id="testService" address="http://localhost:9000/"&gt;
      &lt;jaxrs:serviceBeans&gt;
          &lt;ref bean="testBean" /&gt;
      &lt;/jaxrs:serviceBeans&gt;
  &lt;/jaxrs:server&gt;
  </code></pre>
  
  <p>Any idea what is causing this issue when using cxf-extension-osgi? Also, what is the trade-off when using cxf-extendsion-http-jetty instead (functional, performance, etc)?</p>
  
  <p>thanks</p>