camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: Fuse Datasource Problem
Date Fri, 09 Jun 2017 06:03:37 GMT
Hello, the problem is opposite. You have:

org.apache.commons.dbcp.BasicDataSource not found by camelEmail.jar
>

which means it's camelEmail.jar that has wrong Import-Package.

regards
Grzegorz Grzybek

2017-06-09 8:01 GMT+02:00 jjansen <Joerg.Jansen@inform-software.com>:

> I don't think that this is a problem of camel, more your integration into
> the
> OSGi container.
> May you should post your question also to the servicemix forum.
>
> In servicemix 7.0.0 there should be no need to wrap the commons-dbcp as it
> is provided out of the box.
>
> karaf@root>exports | grep org.apache.commons.dbcp
> org.apache.commons.dbcp.cpdsadapter     | 1.4.0 | 94  |
> org.apache.commons.dbcp
> org.apache.commons.dbcp.datasources     | 1.4.0 | 94  |
> org.apache.commons.dbcp
> org.apache.commons.dbcp.managed         | 1.4.0 | 94  |
> org.apache.commons.dbcp
> org.apache.commons.dbcp                       | 1.4.0| 94  |
> org.apache.commons.dbcp
> org.apache.commons.jocl                        | 1.4.0 | 94  |
> org.apache.commons.dbcp
>
>
> karaf@root>list |grep -i commons
>  93 | Active   |  50 | 3.2.2                              | Apache Commons
> Collections
>  94 | Active   |  50 | 1.4                                 | Commons DBCP
>  95 | Active   |  50 | 2.0.1                              | Commons JEXL
>  97 | Active   |  50 | 3.4.0                              | Apache Commons
> Lang
>  98 | Active   |  50 | 3.5.0                              | Apache Commons
> Net
>  99 | Active   |  50 | 1.6.0                              | Commons Pool
> 100 | Active  |  50 | 2.4.2                              | Apache Commons
> Pool
> karaf@root>
>
> Also you should check the dependency to it in ant.
>
> Rgds,
> Jörg
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/Fuse-Datasource-Problem-tp5802578p5802699.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message