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 Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • 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.

        Issue Links

          Activity

          Ioannis Canellos created issue -
          Guillaume Nodet made changes -
          Field Original Value New Value
          Link This issue is related to KARAF-334 [ KARAF-334 ]
          Jean-Baptiste Onofré made changes -
          Fix Version/s 3.1.0 [ 12316946 ]
          Component/s runtime [ 12313724 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ioannis Canellos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development