Hi all,

I am using karaf 3.0.0. I am having problem with karaf if it shutdown
abruptly. For example when the system running the karaf container is
shutdown  without karaf shutdown, the next time I start karaf some of the
installed feature bundles are gone missing it seems to not work.


ERROR: Bundle org.apache.camel.camel-blueprint [149] Error starting
mvn:org.apache.camel/camel-blueprint/2.12.1
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-blueprint [149]: Unable to resolve 149.0: missing
requirement [149.0] osgi.wiring.package;
(osgi.wiring.package=javax.xml.bind))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-blueprint [149]: Unable to resolve 149.0: missing
requirement [149.0] osgi.wiring.package;
(osgi.wiring.package=javax.xml.bind)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.camel.camel-stream [150] Error starting
mvn:org.apache.camel/camel-stream/2.12.1
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-stream [150]: Unable to resolve 150.0: missing
requirement [150.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel)(version>=2.12.0)(!(version>=2.13.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-stream [150]: Unable to resolve 150.0: missing
requirement [150.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel)(version>=2.12.0)(!(version>=2.13.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.httpcomponents.httpcore [151] Error starting
mvn:org.apache.httpcomponents/httpcore-osgi/4.2.4
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.httpcomponents.httpcore [151]: Unable to resolve 151.0: missing
requirement [151.0] osgi.wiring.package;
(osgi.wiring.package=javax.net.ssl))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.httpcomponents.httpcore [151]: Unable to resolve 151.0: missing
requirement [151.0] osgi.wiring.package; (osgi.wiring.package=javax.net.ssl)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.httpcomponents.httpclient [152] Error starting
mvn:org.apache.httpcomponents/httpclient-osgi/4.2.5
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.httpcomponents.httpclient [152]: Unable to resolve 152.0:
missing requirement [152.0] osgi.wiring.package;
(osgi.wiring.package=javax.crypto))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.httpcomponents.httpclient [152]: Unable to resolve 152.0:
missing requirement [152.0] osgi.wiring.package;
(osgi.wiring.package=javax.crypto)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.servicemix.specs.stax-api-1.0 [154] Error starting
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/2.2.0
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.specs.stax-api-1.0 [154]: Unable to resolve 154.0:
missing requirement [154.0] osgi.wiring.package;
(osgi.wiring.package=javax.xml.namespace))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.specs.stax-api-1.0 [154]: Unable to resolve 154.0:
missing requirement [154.0] osgi.wiring.package;
(osgi.wiring.package=javax.xml.namespace)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle jackson-core-asl [155] Error starting
mvn:org.codehaus.jackson/jackson-core-asl/1.9.12
(org.osgi.framework.BundleException: Unresolved constraint in bundle
jackson-core-asl [155]: Unable to resolve 155.0: missing requirement
[155.0] osgi.wiring.package;
(&(osgi.wiring.package=org.codehaus.jackson)(version>=1.9.12)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
jackson-core-asl [155]: Unable to resolve 155.0: missing requirement
[155.0] osgi.wiring.package;
(&(osgi.wiring.package=org.codehaus.jackson)(version>=1.9.12))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle jackson-mapper-asl [156] Error starting
mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.12
(org.osgi.framework.BundleException: Unresolved constraint in bundle
jackson-mapper-asl [156]: Unable to resolve 156.0: missing requirement
[156.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.datatype))
org.osgi.framework.BundleException: Unresolved constraint in bundle
jackson-mapper-asl [156]: Unable to resolve 156.0: missing requirement
[156.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.datatype)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.servicemix.bundles.aws-java-sdk [157] Error
starting
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/1.5.1_1
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.bundles.aws-java-sdk [157]: Unable to resolve 157.0:
missing requirement [157.0] osgi.wiring.package;
(osgi.wiring.package=javax.crypto))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.bundles.aws-java-sdk [157]: Unable to resolve 157.0:
missing requirement [157.0] osgi.wiring.package;
(osgi.wiring.package=javax.crypto)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.camel.camel-aws [158] Error starting
mvn:org.apache.camel/camel-aws/2.12.1 (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.camel.camel-aws [158]: Unable to
resolve 158.0: missing requirement [158.0] osgi.wiring.package;
(osgi.wiring.package=com.amazonaws))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-aws [158]: Unable to resolve 158.0: missing
requirement [158.0] osgi.wiring.package; (osgi.wiring.package=com.amazonaws)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.camel.camel-gson [160] Error starting
mvn:org.apache.camel/camel-gson/2.12.1 (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.camel.camel-gson [160]: Unable
to resolve 160.0: missing requirement [160.0] osgi.wiring.package;
(&(osgi.wiring.package=com.google.gson)(version>=2.2.0)(!(version>=3.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-gson [160]: Unable to resolve 160.0: missing
requirement [160.0] osgi.wiring.package;
(&(osgi.wiring.package=com.google.gson)(version>=2.2.0)(!(version>=3.0.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.servicemix.bundles.ognl [163] Error starting
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ognl/3.0.6_1
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.bundles.ognl [163]: Unable to resolve 163.0: missing
requirement [163.0] osgi.wiring.package;
(&(osgi.wiring.package=javassist)(version>=3.11.0)(!(version>=4.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.bundles.ognl [163]: Unable to resolve 163.0: missing
requirement [163.0] osgi.wiring.package;
(&(osgi.wiring.package=javassist)(version>=3.11.0)(!(version>=4.0.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.camel.camel-ognl [165] Error starting
mvn:org.apache.camel/camel-ognl/2.12.1 (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.camel.camel-ognl [165]: Unable
to resolve 165.0: missing requirement [165.0] osgi.wiring.package;
(&(osgi.wiring.package=ognl)(version>=3.0.0)(!(version>=4.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-ognl [165]: Unable to resolve 165.0: missing
requirement [165.0] osgi.wiring.package;
(&(osgi.wiring.package=ognl)(version>=3.0.0)(!(version>=4.0.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (3.0.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> list
START LEVEL 100 , List Threshold: 50
 ID | State     | Lvl | Version        | Name

-------------------------------------------------------------------------------------
149 | Installed |  50 | 2.12.1         | camel-blueprint

150 | Installed |  50 | 2.12.1         | camel-stream

151 | Installed |  50 | 4.2.4          | Apache HttpCore OSGi bundle

152 | Installed |  50 | 4.2.5          | Apache HttpClient OSGi bundle

153 | Active    |  50 | 1.8.0          | Commons Codec

154 | Installed |  50 | 2.2.0          | Apache ServiceMix :: Specs :: Stax
API 1.0
155 | Installed |  50 | 1.9.12         | Jackson JSON processor

156 | Installed |  50 | 1.9.12         | Data mapper for Jackson JSON
processor
157 | Installed |  50 | 1.5.1.1        | Apache ServiceMix :: Bundles ::
aws-java-sdk
158 | Installed |  50 | 2.12.1         | camel-aws

159 | Active    |  50 | 2.2.4          | Gson

160 | Installed |  50 | 2.12.1         | camel-gson

162 | Installed |  80 | 1.1.0.SNAPSHOT | Shamar camel integration

163 | Installed |  50 | 3.0.6.1        | Apache ServiceMix :: Bundles ::
ognl
164 | Active    |  50 | 3.12.1.GA_3    | Apache ServiceMix :: Bundles ::
javassist
165 | Installed |  50 | 2.12.1         | camel-ognl


I am not able to uninstall the packages. It says the 'No bundles specified.'


karaf@root()> uninstall 165
Bundle 165 is invalid
No bundles specified.


Please advice on how to handle this.
Thanking you in advance.
-- 
BR
Muhsin

Reply via email to