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

Steps to reproduce

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

Status

Assignee

Lars Kiesow

Reporter

Oliver Müller

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

3.1

Priority

Minor
Configure