Uploaded image for project: 'Opencast'
  1. MH-12336

Deploy a bundle like wowza distribution streaming service or paella player is not possible with the current deploy configuration

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: 3.1
    • Fix versions: 4.6
    • Components: Configuration
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Build i. e. the wowza distribution streaming service plugin (https://bitbucket.org/opencast-community/opencast-contrib-wowza-adaptive-streaming) for an already built and configured Opencast (Version 3.1)
      2. Start Opencast
       
       Actual Results:
       
      The plugin which is placed in the deploy folder of the Opencast installation can not be deployed because of a missing requirement. The following warning appears in the Opencast log file:

      2017-07-25 15:09:07,644 | WARN | (?:?) - Error while starting bundle: file:/opt/opencast_3.x/deploy/wowza-adaptive-streaming-distribution-1.2.jar
      org.osgi.framework.BundleException: Unable to resolve wowza-adaptive-streaming-distribution [9](R 9.0): missing requirement [wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)) Unresolved requirements: [[wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0))]
              at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.8]
      2017-07-25 15:09:08,733 | WARN | (?:?) - Error while starting bundle: file:/opt/opencast_3.x/deploy/wowza-adaptive-streaming-distribution-1.2.jar
      org.osgi.framework.BundleException: Unable to resolve wowza-adaptive-streaming-distribution [9](R 9.0): missing requirement [wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)) Unresolved requirements: [[wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0))]
              at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.6.2.jar:]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.8]
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.8]


       Expected Results:
       
      The plugin is deployed.
       
       Workaround (if any):

      As mentioned in the Thread https://groups.google.com/a/opencast.org/forum/#!topic/users/D0joq5Vr5js
      it is necessary to change the config in the file org.apache.felix.fileinstall-deploy.cfg in order to avoid the issue:

      felix.fileinstall.dir = ${karaf.base}/deploy
      felix.fileinstall.tmpdir = ${karaf.data}/generated-bundles
      felix.fileinstall.poll = 10000
      felix.fileinstall.noInitialDelay = false
      felix.fileinstall.start.level = 0
      felix.fileinstall.active.level = 0
      felix.fileinstall.log.level = 3



      Show
      Steps to reproduce: 1. Build i. e. the wowza distribution streaming service plugin ( https://bitbucket.org/opencast-community/opencast-contrib-wowza-adaptive-streaming ) for an already built and configured Opencast (Version 3.1) 2. Start Opencast    Actual Results:   The plugin which is placed in the deploy folder of the Opencast installation can not be deployed because of a missing requirement. The following warning appears in the Opencast log file: 2017-07-25 15:09:07,644 | WARN | (?:?) - Error while starting bundle: file:/opt/opencast_3.x/deploy/wowza-adaptive-streaming-distribution-1.2.jar org.osgi.framework.BundleException: Unable to resolve wowza-adaptive-streaming-distribution [9](R 9.0): missing requirement [wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)) Unresolved requirements: [[wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0))]         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.8] 2017-07-25 15:09:08,733 | WARN | (?:?) - Error while starting bundle: file:/opt/opencast_3.x/deploy/wowza-adaptive-streaming-distribution-1.2.jar org.osgi.framework.BundleException: Unable to resolve wowza-adaptive-streaming-distribution [9](R 9.0): missing requirement [wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)) Unresolved requirements: [[wowza-adaptive-streaming-distribution [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0))]         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.6.2.jar:]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.8]         at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.8]  Expected Results:   The plugin is deployed.    Workaround (if any): As mentioned in the Thread https://groups.google.com/a/opencast.org/forum/#!topic/users/D0joq5Vr5js it is necessary to change the config in the file org.apache.felix.fileinstall-deploy.cfg in order to avoid the issue: felix.fileinstall.dir = ${karaf.base}/deploy felix.fileinstall.tmpdir = ${karaf.data}/generated-bundles felix.fileinstall.poll = 10000 felix.fileinstall.noInitialDelay = false felix.fileinstall.start.level = 0 felix.fileinstall.active.level = 0 felix.fileinstall.log.level = 3

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              lkiesow Lars Kiesow
              Reporter:
              om124 Oliver Müller
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                TestRail: Cases