You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Xilai Dai (JIRA)" <ji...@apache.org> on 2016/03/17 03:11:33 UTC
[jira] [Created] (CAMEL-9718) [OSGi] The camel-kafka feature can't
be installed into karaf container completely
Xilai Dai created CAMEL-9718:
--------------------------------
Summary: [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
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)