Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-2086

Deployment fails in OSGi container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.5.2
    • None
    • deployment
    • None
    • Karaf 2,3.4 with obenejb-features 4.5.2, win7 64, java 1.7.0_51

    Description

      When deploying in karaf with openejb-features installed (org.apache.openejb.core-osgi 4.5.2), deployment of bundle fails with exception:

      org.apache.openejb.core-osgi - 4.5.2 | can't deploy bundle #331
      java.lang.IllegalArgumentException: Unsupported URL scheme: bundle://302.0:1/
              at org.apache.openejb.util.URLs.toFile(URLs.java:53)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.config.NewLoaderLogic.applyBuiltinExcludes(NewLoaderLogic.java:172)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.config.NewLoaderLogic.applyBuiltinExcludes(NewLoaderLogic.java:161)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(DeploymentsResolver.java:238)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.config.DeploymentLoader.createAppModule(DeploymentLoader.java:585)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:147)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:173)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:98)[302:org.apache.openejb.core-osgi:4.5.2]
              at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.3.jar:]
              at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.3.jar:]
              at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.3.jar:]
              at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.3.jar:]
              at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.3.jar:]
              at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
      2014-04-02 13:46:11,199 | ERROR | rint Extender: 3 | BlueprintContainerImpl           | ntainer.BlueprintContainerImpl$1  340 | 7 - org.apache.aries.blueprint.core - 1.4.0 | Unable to start blueprint container for bundle brodos-eventing due to unresolved dependencies [(objectClass=com.brodos.eventing.application.services.TestService)]
      java.util.concurrent.TimeoutException
              at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)[7:org.apache.aries.blueprint.core:1.4.0]
              at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[7:org.apache.aries.blueprint.core:1.4.0]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_51]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
              at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
      

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            sahlex Alexander Sahler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: