title: Unable to initialize bean cxf?
body: <p>currently i'm working on karaf prject, i have deployed 3 bundle module-data, module-service and module-jaxrs with Active status, then when i configured  karaf feature to automaticaly deploy jar's the status of module-jaxrs became 
  failure beacause of cxf. i have tried everything but always the same error.</p>
  
  <p>The result of diag: </p>
  
  <pre><code>org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean cxf
                  at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)
                  at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)
                  at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
                  at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
                  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                  at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
  
  
  
      Caused by: org.apache.cxf.bus.extension.ExtensionException: Could not create object of extension class org.apache.cxf.ws.policy.PolicyEngineImpl.
              at org.apache.cxf.bus.extension.Extension.load(Extension.java:241)
              at org.apache.cxf.bus.osgi.CXFExtensionBundleListener$OSGiExtension.load(CXFExtensionBundleListener.java:145)
  </code></pre>
  
  <p>here is the blueprint:</p>
  
  <pre><code>&lt;blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
             xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
             xmlns:cxf="http://cxf.apache.org/blueprint/core"
  
             xsi:schemaLocation="
    http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    http://cxf.apache.org/blueprint/jaxws http://cxf.apache.org/schemas/blueprint/jaxws.xsd
    http://cxf.apache.org/blueprint/jaxrs http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
    http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd"&gt;
  
      &lt;!-- Configuration des logs CXF afin de faire apparaître les requetes recues et les reponses fournies, dans le journal de Karaf --&gt;
      &lt;cxf:bus id="bus"&gt;
          &lt;cxf:features&gt;
              &lt;cxf:logging/&gt;
          &lt;/cxf:features&gt;      
      &lt;/cxf:bus&gt;
  
      &lt;!-- Configuration du endpoint JAX-RS dans le container OSGI--&gt;
         &lt;jaxrs:server address="/tuto" id="tut"&gt;
          &lt;jaxrs:serviceBeans&gt;
              &lt;ref component-id="customerRestService"/&gt;
          &lt;/jaxrs:serviceBeans&gt;        
      &lt;/jaxrs:server&gt;
  
  
      &lt;!-- Declaration du bean customerRestService implemente par le POJO com.exemple.karaf.jaxrs.CustomerRestService--&gt;
         &lt;!-- Ce bean possede une propriete a injecter. L'injection de cette propriete (ici une instance de la classe CustomerService) est faite
         immediatement apres la creation du bean  --&gt;
      &lt;bean id="customerRestService" class="com.exemple.customerRestFulHibernateWS.jaxrs.CustomerRestService"&gt;
          &lt;property name="customerService" ref="customerService"/&gt;
      &lt;/bean&gt;
  
      &lt;!-- Definition des dependances --&gt;
      &lt;reference id="customerService" interface="com.exemple.customerRestFulHibernateWS.services.CustomerService"&gt;&lt;/reference&gt;
  &lt;/blueprint&gt;
  </code></pre>