org.apache.openejb.OpenEJBException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Charles Moulliard,
  • 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
    via by Charles Moulliard,
  • TomEE non vuole partire - NGI Forum
    via by Unknown author,
  • Issue on deploying Kie-wb on WebShpere 8
    via Stack Overflow by James Zhang
    ,
  • JMSContext injection cannot be resolved
    via by Unknown author,
    • 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
    No Bugmate found.