[ https://issues.apache.org/jira/browse/KARAF-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001712#comment-13001712
]
Achim Nierbeck edited comment on KARAF-491 at 3/3/11 8:06 AM:
--------------------------------------------------------------
war works because the pax-url bundle supports it :)
webbundle is the official osgi-spec protocol for war files.
what is the log saying?
was (Author: achim_nierbeck):
war works because the pax-url bundle supports it :)
webbundle is the official osgi-spec protocol for war files and only this one takes a look
at the manifest and so on.
if it fails what does it say with webbundle?
> A war bundle and the war feature can't be installed as parts of a single feature.
> ---------------------------------------------------------------------------------
>
> Key: KARAF-491
> URL: https://issues.apache.org/jira/browse/KARAF-491
> Project: Karaf
> Issue Type: Improvement
> Reporter: Ioannis Canellos
>
> 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.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|