org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean connectionFactory1

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    blueprint servicemix with joram

    Stack Overflow | 9 months ago | Mançaux Pierre-Alexandre
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean connectionFactory1
  2. 0

    Remote EJB lookup using Spring Boot and WebSphere 8.5.5

    Stack Overflow | 10 months ago | Pdioniziofilho
    org.springframework.beans.BeanInstantiationException: Failed to instantiate [br.com.cpqd.components.security.api.user.SecurityUser]: Factory method 'securityUserEjb' threw exception; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory]
  3. 0

    Wildfly 8 based standalone JMS client code common issues and remedies ? « JBoss

    middlewaremagic.com | 9 months ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jboss - jboss eap 6.3 - erros de classnotfound e connection refused

    com.br | 2 years ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.as.naming.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.as.naming.InitialContextFactory]
  6. 0

    javax.naming.NoInitialContextException: Cannot instantiate class:

    Stack Overflow | 1 year ago | Rajjaz Mohammed
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      fr.dyade.aaa.jndi2.client.NamingContextFactory

      at java.net.URLClassLoader$1.run()
    2. Java RT
      InitialContext.<init>
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)[:1.7.0_71]
      2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)[:1.7.0_71]
      3. java.security.AccessController.doPrivileged(Native Method)[:1.7.0_71]
      4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)[:1.7.0_71]
      5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)[:1.7.0_71]
      6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[:1.7.0_71]
      7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_71]
      8. java.lang.Class.forName0(Native Method)[:1.7.0_71]
      9. java.lang.Class.forName(Class.java:274)[:1.7.0_71]
      10. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)[:1.7.0_71]
      11. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)[:1.7.0_71]
      12. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)[:1.7.0_71]
      13. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)[:1.7.0_71]
      14. javax.naming.InitialContext.init(InitialContext.java:242)[:1.7.0_71]
      15. javax.naming.InitialContext.<init>(InitialContext.java:216)[:1.7.0_71]
      15 frames
    3. Spring Context
      JndiObjectFactoryBean.afterPropertiesSet
      1. org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:136)[78:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
      2. org.springframework.jndi.JndiTemplate.getContext(JndiTemplate.java:103)[78:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
      3. org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)[78:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
      4. org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)[78:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
      5. org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)[78:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
      6. org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
      7. org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
      8. org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:231)
      9. org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:217)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_71]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_71]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
      4. java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
      4 frames
    5. Apache Aries Blueprint Core
      AbstractRecipe$1.call
      1. org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[18:org.apache.aries.blueprint.core:1.4.3]
      2. org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[18:org.apache.aries.blueprint.core:1.4.3]
      3. org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[18:org.apache.aries.blueprint.core:1.4.3]
      4. org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[18:org.apache.aries.blueprint.core:1.4.3]
      5. org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[18:org.apache.aries.blueprint.core:1.4.3]
      6. org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[18:org.apache.aries.blueprint.core:1.4.3]
      6 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
      1 frame
    7. Apache Aries Blueprint Core
      BlueprintExtender.modifiedBundle
      1. org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[18:org.apache.aries.blueprint.core:1.4.3]
      2. org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[18:org.apache.aries.blueprint.core:1.4.3]
      3. org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[18:org.apache.aries.blueprint.core:1.4.3]
      4. org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[18:org.apache.aries.blueprint.core:1.4.3]
      5. org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[18:org.apache.aries.blueprint.core:1.4.3]
      6. org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[18:org.apache.aries.blueprint.core:1.4.3]
      7. org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[18:org.apache.aries.blueprint.core:1.4.3]
      8. org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[18:org.apache.aries.blueprint.core:1.4.3]
      9. org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[18:org.apache.aries.blueprint.core:1.4.3]
      9 frames
    8. Apache Aries Util
      BundleHookBundleTracker$BundleEventHook.event
      1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[13:org.apache.aries.util:1.1.0]
      2. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[13:org.apache.aries.util:1.1.0]
      3. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[13:org.apache.aries.util:1.1.0]
      4. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[13:org.apache.aries.util:1.1.0]
      5. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[13:org.apache.aries.util:1.1.0]
      5 frames
    9. Apache Felix Framework
      BundleImpl.update
      1. org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)[org.apache.felix.framework-4.4.1.jar:]
      2. org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.4.1.jar:]
      3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.4.1.jar:]
      4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)[org.apache.felix.framework-4.4.1.jar:]
      5. org.apache.felix.framework.Felix.startBundle(Felix.java:2100)[org.apache.felix.framework-4.4.1.jar:]
      6. org.apache.felix.framework.Felix.updateBundle(Felix.java:2412)[org.apache.felix.framework-4.4.1.jar:]
      7. org.apache.felix.framework.BundleImpl.update(BundleImpl.java:994)[org.apache.felix.framework-4.4.1.jar:]
      8. org.apache.felix.framework.BundleImpl.update(BundleImpl.java:981)[org.apache.felix.framework-4.4.1.jar:]
      8 frames
    10. org.apache.karaf
      BundleCommand.doExecute
      1. org.apache.karaf.shell.osgi.UpdateBundle.doExecute(UpdateBundle.java:37)[23:org.apache.karaf.shell.osgi:2.4.3]
      2. org.apache.karaf.shell.osgi.BundleCommand.doExecute(BundleCommand.java:41)[23:org.apache.karaf.shell.osgi:2.4.3]
      2 frames
    11. Apache Karaf :: Shell :: Console
      AbstractCommand.execute
      1. org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[21:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[21:org.apache.karaf.shell.console:2.4.3]
      2 frames
    12. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[21:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[21:org.apache.karaf.shell.console:2.4.3]
      3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[21:org.apache.karaf.shell.console:2.4.3]
      4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[21:org.apache.karaf.shell.console:2.4.3]
      5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[21:org.apache.karaf.shell.console:2.4.3]
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[21:org.apache.karaf.shell.console:2.4.3]
      7. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[21:org.apache.karaf.shell.console:2.4.3]
      7 frames
    13. Apache Karaf :: Shell :: Console
      DelayedStarted.run
      1. org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[21:org.apache.karaf.shell.console:2.4.3]
      2. org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[21:org.apache.karaf.shell.console:2.4.3]
      2 frames