Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-491

A war bundle and the war feature can't be installed as parts of a single feature.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.M3
    • Component/s: karaf-core
    • Labels:
      None

      Description

      If a feature contains a bundle that requires the war protocol then the war feature needs to be preinstalled.
      If the user adds the war feature as a feature dependency it does not work.

      Example:
      <features>
      <repository>mvn:org.apache.karaf/apache-karaf/${karaf.version}/xml/features</repository>
      <feature "yetanotherfeature">
      <feature>war</feature>
      <bundle>war:net.iocanel/webapp/1.0/war</bundle>
      </feature>
      </features>

      The error I get is Unknown protocol: war.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                iocanel Ioannis Canellos
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: