org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context

Apache's JIRA Issue Tracker | Charles Moulliard | 5 years ago
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

    When deploying a EJB jar as OSGI bundle, I get this error in the log 2011-12-21 16:24:33,750 | ERROR | lixDispatchQueue | Deployer | .openejb.core.osgi.impl.Deployer 105 | 119 - org.apache.openejb.core-osgi - 4.0.0.beta-2-SNAPSHOT | can't deploy bundle #124 org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:885)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:497)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:493)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:96)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:63)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)[org.apache.felix.framework-3.0.9.jar:] at java.lang.Thread.run(Thread.java:680)[:1.6.0_29] Caused by: java.lang.RuntimeException: couldn't start owb context at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:109)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:50)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:754)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 10 more Caused by: java.lang.RuntimeException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:318)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:107)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 12 more Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:98)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1148)[94:openwebbeans-impl:1.1.1] at org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:262)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:215)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:285)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 13 more

    Apache's JIRA Issue Tracker | 5 years ago | Charles Moulliard
    org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context
  2. 0

    When deploying a EJB jar as OSGI bundle, I get this error in the log 2011-12-21 16:24:33,750 | ERROR | lixDispatchQueue | Deployer | .openejb.core.osgi.impl.Deployer 105 | 119 - org.apache.openejb.core-osgi - 4.0.0.beta-2-SNAPSHOT | can't deploy bundle #124 org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:885)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:497)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:493)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:96)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:63)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)[org.apache.felix.framework-3.0.9.jar:] at java.lang.Thread.run(Thread.java:680)[:1.6.0_29] Caused by: java.lang.RuntimeException: couldn't start owb context at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:109)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:50)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:754)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 10 more Caused by: java.lang.RuntimeException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:318)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:107)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 12 more Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:98)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1148)[94:openwebbeans-impl:1.1.1] at org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:262)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:215)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:285)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 13 more

    Apache's JIRA Issue Tracker | 5 years ago | Charles Moulliard
    org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context
  3. 0

    [TOMEE-1] TomEE Beta 1.0.0 doesn't start with MyFaces CODI - ASF JIRA

    apache.org | 1 year ago
    javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.spi.ViewControllerStrategy] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : viewControllerStrategy, Bean Owner : [ViewControllerInterceptor, Name:null, WebBeans Type:MANAGED, API Types: [org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.ViewControllerInterceptor,java.lang.Object,java.io.Serializable] , Qualifiers: [javax.enterprise.inject.Any,javax.enterprise.inject.Default] ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TomEE non vuole partire - NGI Forum

    ngi.it | 1 year ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/caterpillar/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/LAI_pezzi_Login: couldn't start owb context
  6. 0

    [OpenEJB-commits] [jira] [Created] (TOMEE-602) Cannot deploy application with custom context path - Grokbase

    grokbase.com | 2 years ago
    org.apache.openejb.OpenEJBException: Creating application failed: C:\java\apache-tomee-webprofile-1.5.0_base\webapps\example#foo: couldn't start owb context

    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. javax.enterprise.inject.UnsatisfiedResolutionException

      Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]

      at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException()
    2. OpenWebBeans Core
      BeanManagerImpl.validate
      1. org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)[94:openwebbeans-impl:1.1.1]
      2. org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:98)[94:openwebbeans-impl:1.1.1]
      3. org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193)[94:openwebbeans-impl:1.1.1]
      4. org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1148)[94:openwebbeans-impl:1.1.1]
      4 frames
    3. OpenEJB :: OSGi :: Core
      Deployer.bundleChanged
      1. org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:262)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      2. org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:215)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      3. org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:285)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      4. org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:107)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      5. org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:50)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      6. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:754)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      7. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:497)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      8. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:493)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
      9. org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:96)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT]
      10. org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:63)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT]
      10 frames
    4. Apache Felix Framework
      EventDispatcher$1.run
      1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]
      3. org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)[org.apache.felix.framework-3.0.9.jar:]
      4. org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-3.0.9.jar:]
      5. org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)[org.apache.felix.framework-3.0.9.jar:]
      5 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)[:1.6.0_29]
      1 frame