fis-karaf-openshift: Error installing boot feature (wrap): feature not found
Issue
- During Karaf's OSGi Features/Bundle resolution when FIS starts in the docker pod, the following error occurs
ERROR | FelixStartLevel | FeaturesServiceImpl | 17 - org.apache.karaf.features.core -PAXCONS 2.4.0.redhat-630254 | Error installing boot feature (wrap): feature not found
- Subsequent non-osgi jars defined with "wrap:" in our feature-file do not seem to be resolved. eg. camel-http4 requires the non-osgi httpclient jar
ERROR: Bundle org.apache.camel.camel-http4 [103] Error starting mvn:org.apache.camel/camel-http4/2.17.0.redhat-630254 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-http4 [103]: Unable to resolve 103.0: missing requirement [103.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.http)(version>=4.3.0)(!(version>=5.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-http4 [103]: Unable to resolve 103.0: missing requirement [103.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.http)(version>=4.3.0)(!(version>=5.0.0)))
-
Most other "camel-*" bundles also depend on some non-osgi jars that need wrapping as bundles.
-
I expect the "wrap:" component to export all packages contained in the wrapped jar.
Environment
- FIS
- 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
