Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cmoulliard Charles Moulliard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: