AnsweredAssumed Answered

Unable to start blueprint container for bundle org.apache.karaf.features.core 

Question asked by Neeraj Arora on Jun 15, 2018
Latest reply on Nov 1, 2018 by saket Maheshwary

centos 7 64 bit

Java 8

Pentaho 8.0

 

We have jobs scheduled through Control-M.

Facing below error intermittently for different jobs. Same Job completes successfully after rerun.

 

 

DEBUG: _PENTAHO_JAVA_HOME=/usr/java/latest

DEBUG: _PENTAHO_JAVA=/usr/java/latest/bin/java

#######################################################################

WARNING:  no libwebkitgtk-1.0 detected, some features will be unavailable

    Consider installing the package with apt-get or yum.

    e.g. 'sudo apt-get install libwebkitgtk-1.0-0'

#######################################################################

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=4068m; support was removed in 8.0

02:10:07,937 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled

02:10:08,308 INFO  [KarafInstance]

*******************************************************************************

*** Karaf Instance Number: 10 at /tmp/karaf6040870274572270930/caches/kitch ***

*** en/data-1 ***

*** FastBin Provider Port:52910 ***

*** Karaf Port:8811 ***

*** OSGI Service Port:9060 ***

*******************************************************************************

Jun 15, 2018 2:10:09 AM org.apache.karaf.main.Main launch

INFO: Installing and starting initial bundles

Jun 15, 2018 2:10:09 AM org.apache.karaf.main.Main launch

INFO: All initial bundles installed and set to start

Jun 15, 2018 2:10:10 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired

INFO: Lock acquired. Setting startlevel to 100

2018/06/15 02:10:11 - Kitchen - Start of run.

Creating configuration from org.apache.karaf.shell.cfg

Creating configuration from org.apache.karaf.management.cfg

Creating configuration from jmx.acl.java.lang.Memory.cfg

Creating configuration from org.apache.karaf.command.acl.scope_bundle.cfg

Creating configuration from mondrian.cfg

Creating configuration from org.apache.karaf.features.cfg

Creating configuration from org.apache.karaf.command.acl.config.cfg

Creating configuration from org.apache.felix.fileinstall-deploy.cfg

Creating configuration from org.apache.aries.rsa.provider.fastbin.cfg

Creating configuration from jmx.acl.cfg

Creating configuration from org.apache.karaf.features.obr.cfg

Creating configuration from org.apache.karaf.command.acl.bundle.cfg

Creating configuration from org.apache.karaf.kar.cfg

Creating configuration from pentaho.metaverse.cfg

Creating configuration from org.pentaho.caching-default.cfg

Creating configuration from org.apache.karaf.command.acl.kar.cfg

Creating configuration from org.apache.activemq.server-default.cfg

Creating configuration from jmx.acl.org.apache.karaf.security.jmx.cfg

Creating configuration from jmx.acl.osgi.compendium.cm.cfg

Creating configuration from org.pentaho.pdi.engine.spark.cfg

Creating configuration from org.apache.karaf.webconsole.cfg

Creating configuration from org.ops4j.pax.web.cfg

Creating configuration from pentaho.marketplace.di.cfg

Creating configuration from jmx.acl.org.apache.karaf.config.cfg

Creating configuration from org.apache.activemq.webconsole.cfg

Creating configuration from org.apache.karaf.features.repos.cfg

Creating configuration from org.apache.karaf.command.acl.feature.cfg

Creating configuration from pentaho.geo.roles.cfg

Creating configuration from pentaho.big.data.impl.cluster.cfg

Creating configuration from org.ops4j.pax.logging.cfg

Creating configuration from jmx.acl.org.apache.karaf.bundle.cfg

Creating configuration from org.apache.karaf.jaas.cfg

Creating configuration from org.apache.karaf.command.acl.shell.cfg

Creating configuration from org.apache.karaf.command.acl.jaas.cfg

Creating configuration from org.ops4j.pax.url.mvn.cfg

Creating configuration from org.apache.karaf.log.cfg

Creating configuration from org.apache.karaf.command.acl.system.cfg

Creating configuration from org.pentaho.features.cfg

02:10:20,676 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.features.core

  • org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to convert value BeanRecipe[name='#recipe-105'] to type class java.lang.Object

at org.apache.aries.blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:92)

at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)

at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createListeners(AbstractServiceReferenceRecipe.java:278)

at org.apache.aries.blueprint.container.ReferenceListRecipe.internalCreate(ReferenceListRecipe.java:77)

at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)

at java.util.concurrent.FutureTask.run(Unknown Source)

at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)

at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)

at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)

at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)

at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)

at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)

at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)

at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)

at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)

at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)

at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)

at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)

at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)

at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)

at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)

at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)

at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)

at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)

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(Unknown Source)

Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean featuresService

at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)

at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)

at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)

at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)

at java.util.concurrent.FutureTask.run(Unknown Source)

at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)

at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)

at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)

at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:933)

at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)

at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)

at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)

at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)

at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)

at org.apache.aries.blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:90)

... 27 more

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

at shaded.org.apache.maven.wagon.providers.file.FileWagon.resolveDestinationPath(FileWagon.java:206)

at shaded.org.apache.maven.wagon.providers.file.FileWagon.resourceExists(FileWagon.java:265)

at shaded.org.eclipse.aether.transport.wagon.WagonTransporter$PeekTaskRunner.run(WagonTransporter.java:518)

at shaded.org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)

at shaded.org.eclipse.aether.transport.wagon.WagonTransporter.peek(WagonTransporter.java:398)

at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.checkRemoteAccess(BasicRepositoryConnector.java:402)

at shaded.org.eclipse.aether.connector.basic.PartialFile$LockFile.lock(PartialFile.java:89)

at shaded.org.eclipse.aether.connector.basic.PartialFile$LockFile.<init>(PartialFile.java:58)

at shaded.org.eclipse.aether.connector.basic.PartialFile$Factory.newInstance(PartialFile.java:210)

at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:432)

at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)

at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)

at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)

at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)

at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)

at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)

at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)

at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)

at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)

at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:476)

at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433)

at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411)

at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386)

at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124)

at org.apache.karaf.features.internal.FeatureValidationUtil.load(FeatureValidationUtil.java:93)

at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:58)

at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:162)

at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:233)

at org.apache.karaf.features.internal.FeaturesServiceImpl.initState(FeaturesServiceImpl.java:894)

at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:906)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)

at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)

at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)

... 41 more

Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils not found by org.ops4j.pax.url.mvn [1]

at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)

at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)

at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 78 more

02:11:55,883 ERROR [KarafLifecycleListener] The Kettle Karaf Lifecycle Listener failed to execute properly after waiting for 100 seconds. Releasing lifecycle hold, but some services may be unavailable.

Outcomes