Thanks for the help Jean-Baptiste, I've been learning so much through this 
process.On which feature do you want me to "install -v" on?   The pax=jdbc* ?  
I did those below, just in case.
Here are my installed features:

karaf@root(feature)> feature:list -i
Name            | Version         | Required | State   | Repository             
  | Description
----------------+-----------------+----------+---------+--------------------------+--------------------------------------------------
pax-jdbc-spec   | 1.3.0           |          | Started | 
org.ops4j.pax.jdbc-1.3.0 | Provides OSGi JDBC Service spec
pax-jdbc-jtds   | 1.3.0           | x        | Started | 
org.ops4j.pax.jdbc-1.3.0 | Provides JDBC jTDS DataSourceFactory
xml-specs-api   | 2.9.0           |          | Started | camel-2.21.1           
  |
aries-proxy     | 4.2.1           |          | Started | standard-4.2.1         
  | Aries Proxy
aries-blueprint | 4.2.1           | x        | Started | standard-4.2.1         
  | Aries Blueprint
feature         | 4.2.1           | x        | Started | standard-4.2.1         
  | Features Support
shell           | 4.2.1           | x        | Started | standard-4.2.1         
  | Karaf Shell
deployer        | 4.2.1           | x        | Started | standard-4.2.1         
  | Karaf Deployer
wrapper         | 4.2.1           |          | Started | standard-4.2.1         
  | Provide OS integration
service-wrapper | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide OS integration (alias to wrapper feature)
bundle          | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide Bundle support
config          | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide OSGi ConfigAdmin support
diagnostic      | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide Diagnostic support
instance        | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide Instance support
jaas            | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide JAAS support
log             | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide Log support
package         | 4.2.1           | x        | Started | standard-4.2.1         
  | Package commands and mbeans
service         | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide Service support
system          | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide System support
kar             | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide KAR (KARaf archive) support
ssh             | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide a SSHd server on Karaf
management      | 4.2.1           | x        | Started | standard-4.2.1         
  | Provide a JMX MBeanServer and a set of MBeans in
eventadmin      | 4.2.1           | x        | Started | standard-4.2.1         
  | OSGi Event Admin service specification for event-
wrap            | 2.5.4           | x        | Started | standard-4.2.1         
  | Wrap URL handler
spring          | 5.0.8.RELEASE_1 |          | Started | spring-4.2.1           
  | Spring 5.0.x support
spring-jdbc     | 5.0.8.RELEASE_1 |          | Started | spring-4.2.1           
  | Spring 5.0.x JDBC support
spring-tx       | 5.0.8.RELEASE_1 |          | Started | spring-4.2.1           
  | Spring 5.0.x Transaction (TX) support
xml-specs-api   | 2.9.0           |          | Started | camel-2.22.1           
  |
camel           | 2.22.1          | x        | Started | camel-2.22.1           
  |
camel-core      | 2.22.1          |          | Started | camel-2.22.1           
  |
camel-blueprint | 2.22.1          | x        | Started | camel-2.22.1           
  |
camel-sql       | 2.22.1          | x        | Started | camel-2.22.1           
  |
camel-stream    | 2.22.1          | x        | Started | camel-2.22.1           
  |
xml-specs-api   | 2.9.0           |          | Started | camel-2.20.0           
  |


karaf@root(feature)> feature:install -v pax-jdbc-spec
Adding features: pax-jdbc-spec/[1.3.0,1.3.0]
No deployment change.
Done.
karaf@root(feature)> feature:install -v pax-jdbc-jtds
Adding features: pax-jdbc-jtds/[1.3.0,1.3.0]
No deployment change.
Done.
karaf@root(feature)>

As for installed bundles, I do have the apache.commons/commons-dbcp2 version 
2.5.0 installed that matches my commons dependency in my POM
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-dbcp2</artifactId>
    <version>2.5.0</version>
    </dependency>

Perhaps commons should be installed as a "feature" and not a "bundle"?I haven't 
been able to find a reference as to the name of it.
Thanks all!
 
 On Thursday, October 25, 2018, 12:20:25 AM EDT, Jean-Baptiste Onofré 
<[email protected]> wrote: 





Hi,

you can please try using feature:install -v and send the complete output ?

Thanks
Regards
JB

On 24/10/2018 19:37, bohnjerry wrote:
> I am trying to install a maven Camel project and I get this error:
> Unable to resolve org.apache.commons.commons-dbcp2 [79](R 79.0): missing
> requirement [org.apache.commons.commons-dbcp2 [79](R 79.0)]
> osgi.wiring.package;
> (&(osgi.wiring.package=javax.transaction.xa)(version>=1.1.0)(partial=true))]
> Unresolved requirements:
> 
> I've tried to install every package and feature even remotely related (that
> I could find).. still no dice. 
> Ideas?
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

Reply via email to