Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2274

Cellar doesn't work with Felix framework

    XMLWordPrintableJSON

Details

    Description

      The hazelcast feature doesn't install correctly with Felix framework (NB: no problem using Equinox).

      cellar-hazelcast bundle is a fragment to the hazelcast bundle (host), but it doesn't seem to resolve the cellar-core import package:

      2013-04-18 07:30:04,428 | ERROR | l Console Thread | AbstractSerializer | dardLoggerFactory$StandardLogger 47 | 57 - hazelcast - 1.9.4.8 | org.apache.karaf.cellar.core.Group
      java.lang.ClassNotFoundException: org.apache.karaf.cellar.core.Group
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)[:1.6.0_26]
      at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_26]
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)[:1.6.0_26]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)[:1.6.0_26]
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)[:1.6.0_26]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_26]
      at java.lang.Class.forName0(Native Method)[:1.6.0_26]
      at java.lang.Class.forName(Class.java:247)[:1.6.0_26]
      at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:83)
      at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:61)
      at com.hazelcast.nio.AbstractSerializer$1.resolveClass(AbstractSerializer.java:92)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)[:1.6.0_26]
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)[:1.6.0_26]
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)[:1.6.0_26]
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)[:1.6.0_26]
      at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:440)[:1.6.0_26]
      at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.readNormal(DefaultSerializer.java:383)
      at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.read(DefaultSerializer.java:353)
      at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:134)
      at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:33)
      at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:116)
      at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:146)
      at com.hazelcast.nio.Serializer.readObject(Serializer.java:72)
      at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:103)
      at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:149)
      at com.hazelcast.impl.Record.getValue(Record.java:143)
      at com.hazelcast.impl.ConcurrentMapManager$MGet.get(ConcurrentMapManager.java:915)
      at com.hazelcast.impl.FactoryImpl$MProxyImpl$MProxyReal.get(FactoryImpl.java:3616)
      at com.hazelcast.impl.FactoryImpl$MProxyImpl.get(FactoryImpl.java:3029)
      at org.apache.karaf.cellar.hazelcast.HazelcastGroupManager.registerGroup(HazelcastGroupManager.java:376)
      at org.apache.karaf.cellar.hazelcast.HazelcastGroupManager.init(HazelcastGroupManager.java:106)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_26]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
      at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
      at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.1.0]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_26]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_26]
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:282)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:249)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.ServiceRecipe.getService(ServiceRecipe.java:351)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:504)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:219)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:310)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.Felix.getService(Felix.java:3420)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)[org.apache.felix.framework-4.0.3.jar:]
      at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:411)[5:org.apache.felix.configadmin:1.6.0]
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[5:org.apache.felix.configadmin:1.6.0]
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)[5:org.apache.felix.configadmin:1.6.0]
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[5:org.apache.felix.configadmin:1.6.0]
      at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)[5:org.apache.felix.configadmin:1.6.0]
      at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)[5:org.apache.felix.configadmin:1.6.0]
      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.Felix.registerService(Felix.java:3275)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.0.3.jar:]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:439)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.ServiceRecipe.register(ServiceRecipe.java:190)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerServices(BlueprintContainerImpl.java:690)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:369)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:259)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:222)[7:org.apache.aries.blueprint.core:1.1.0]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.1.0]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.1.0]

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: