You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/11/06 14:39:27 UTC
[jira] [Resolved] (KARAF-3361) Unable to install war/webbundle
together with war feature
[ 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)