title: Apache camel blueprint MS SQL datasource on karaf
body: <p>I am trying to access a MS SQL database with apache camel. I am building it with maven as a bundle and deploy it on apache karaf.To do this I got the following in my blueprint.xml</p>
  
  <pre><code>&lt;bean id="dataSource" class="net.sourceforge.jtds.jdbcx.JtdsDataSource"&gt;
       &lt;property name="url" value="" /&gt;
       &lt;property name="user" value="paygate" /&gt;
       &lt;property name="password" value="" /&gt;
  &lt;/bean&gt;
  
  &lt;service interface="javax.sql.DataSource" ref="dataSource"&gt;
      &lt;service-properties&gt;
          &lt;entry key="osgi.jndi.service.name" value="jdbc/mssqlDatasource" /&gt;
      &lt;/service-properties&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>But now I am getting the following in my karaf logs</p>
  
  <pre><code>missing requirement [1374.6] osgi.wiring.package; (osgi.wiring.package=net.sourceforge.jtds.jdbcx)
  </code></pre>
  
  <p>This is the class that also was generated when creating the datasource in karaf with 'jdbc:create'.</p>
  
  <p>Why doesn't karaf find that class?</p>