karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3361) Unable to install war/webbundle together with war feature
Date Fri, 06 Nov 2015 13:39:27 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-3361.
-----------------------------------------
    Resolution: Not A Problem

Please use the prerequisite flag on the inner feature.

> Unable to install war/webbundle together with war feature
> ---------------------------------------------------------
>
>                 Key: KARAF-3361
>                 URL: https://issues.apache.org/jira/browse/KARAF-3361
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.2, 4.0.0.M1
>            Reporter: Maciej Mraczek
>
> It is not possible to install feature containing dependent war feature without installing
war feature manually first.
> If you define the feature:
> {code:xml}
>     <feature name='war-feature' version='${project.version}'>
>         <feature>war</feature>
>         <bundle>webbundle:mvn:org.example/example-webap/${project.version}/war?Web-ContextPath=/sample</bundle>
>     </feature>
> {code}
> The only way to install such a feature is to install war feature first.
> Otherwise, webbundle protocol is not recognized.
> feature:install war-feature gives the result:
> Error when installing feature war-feature: java.net.MalformedURLException: Unknown protocol:
webbundle
> Reason:
> BundleManager.waitForUrlHandler() is not able to find URLStreamHandlerService for "webbundle"
protocol, although all war feature bundles are installed before war-feature feature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message