[
https://issues.apache.org/jira/browse/CAMEL-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198836#comment-15198836
]
ASF GitHub Bot commented on CAMEL-9718:
---------------------------------------
GitHub user xldai opened a pull request:
https://github.com/apache/camel/pull/907
fix CAMEL-9718 by upgrade zkclient to 0.8
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xldai/camel patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/907.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #907
----
commit 47c9c416bd2487f704fa17710a8ea256a873d461
Author: Xilai Dai <[email protected]>
Date: 2016-03-17T06:33:35Z
fix CAMEL-9718 by upgrade zkclient to 0.8
----
> [OSGi] The camel-kafka feature can't be installed into karaf container
> completely
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-9718
> URL: https://issues.apache.org/jira/browse/CAMEL-9718
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.16.2
> Environment: Java 8
> Reporter: Xilai Dai
> Priority: Minor
> Fix For: 2.16.3
>
>
> When trying to install the camel-kafka feature into karaf OSGi container, the
> com.101tec/zkclient/0.5 bundle can't be installed dur to it's wrong
> Import-Package section in the MANIFEST.
> {code}
> Caused by: java.lang.Exception: Unable to start bundle
> wrap:mvn:com.101tec/zkclient/0.5
> at
> org.apache.karaf.bundle.command.Install.execute(Install.java:98)[24:org.apache.karaf.bundle.core:4.0.4]
> ... 11 more
> Caused by: org.osgi.framework.BundleException: Unable to resolve
> com.101tec.zkclient [65](R 65.0): missing requirement [com.101tec.zkclient
> [65](R 65.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.jute)
> Unresolved requirements: [[com.101tec.zkclient [65](R 65.0)]
> osgi.wiring.package; (osgi.wiring.package=org.apache.jute)]
> at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2117)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.karaf.bundle.command.Install.execute(Install.java:96)[24:org.apache.karaf.bundle.core:4.0.4]
> ... 11 more
> {code}
> The package name: org.apache.jute and org.apache.zookeeper.proto should be
> removed from Import-Package, seems it's got fixed from zkclient project
> version 0.8.
> https://github.com/sgroschupf/zkclient/commit/bbe5db97991ff10c2ba90338bc50a98eb24361fb
> so this issue can be fixed by upgrade zkclient from 0.5 to 0.8 (as long as
> the 0.8 version is available from maven centre)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)