As I've been getting more comfortable with Karaf (ServiceMix) I thought I
was ready to be a little more adventurous and go ahead and build my own
custom assembly with some upgraded packages I needed but I'm getting some
odd behavior and I can't pinpoint what exactly caused the issue. Since I'm
essentially using ServiceMix I started with their assemblies as an example
to build mine and really only changed the package versions.
- Camel 2.9.2-SNAPSHOT
- CXF 2.5.2
When I start my distro though I get two odd things
1) The initial branding (logo and such) shows up twice
2) I get the following exception which shows up on the console, not log
org.apache.karaf.features.core[org.apache.karaf.features.internal.FeaturesServiceImpl]
: Error persisting FeaturesService state
java.lang.IllegalStateException: Invalid BundleContext.
at
org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:365)
at
org.apache.felix.framework.BundleContextImpl.getDataFile(BundleContextImpl.java:347)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.saveState(FeaturesServiceImpl.java:1049)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:407)
at
org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:975)
org.apache.karaf.features.core[org.apache.karaf.features.internal.FeaturesServiceImpl]
: Error persisting FeaturesService state
java.lang.IllegalStateException: Invalid BundleContext.
at
org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:365)
at
org.apache.felix.framework.BundleContextImpl.getDataFile(BundleContextImpl.java:347)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.saveState(FeaturesServiceImpl.java:1049)
at
org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:980)
Everything seems to run just fine but those seemed odd. What makes it even
weirder is that neither of those things happen on future launches of the
container. Any thoughts on what might cause these and should I be concerned?
Thanks,
Chris