Installing a war-file in a feature

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing a war-file in a feature

Michael Szalay
Hi all

I tried to install a war-file as a feature (did not work). Is this possible or can we only install bundles?

Regards Michael

--
Michael Szalay                               Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
http://www.basis06.ch - source of smart business

Reply | Threaded
Open this post in threaded view
|

Re: Installing a war-file in a feature

Charles Moulliard
Administrator
Hi Michael,

Which version of Karaf are you using ? Which features are deployed on
Karaf ? How have you tried to install the war ? Which info do you have
in the trace ?

Regards,

Charles


On Tue, Mar 29, 2011 at 1:35 PM, Michael Szalay
<[hidden email]> wrote:

> Hi all
>
> I tried to install a war-file as a feature (did not work). Is this possible or can we only install bundles?
>
> Regards Michael
>
> --
> Michael Szalay                               Senior Software Engineer
>
> basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
> http://www.basis06.ch - source of smart business
>
>
Apache Committer / Sr. Pr. Consultant at FuseSource.com
Email: [hidden email]
Twitter : @cmoulliard, @fusenews
Blog : http://cmoulliard.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: Installing a war-file in a feature

iocanel
In reply to this post by Michael Szalay
Hi Michael,

It is possible to install war as a feature.
Here is an example feature that installs a war file.


    <feature name="activemq-web-console" version="5.4.2">
        <bundle>war:mvn:org.apache.activemq/activemq-web-console/5.4.2/war?Webapp-Context=activemq-web-console</bundle>
    </feature>

Ioannis Canellos





Ioannis Canellos
http://iocanel.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: Installing a war-file in a feature

Michael Szalay
Thanks, I missed the "war:"-prefix :-o

Regards Michael

----- Ursprüngliche Mail -----
Von: "Ioannis Canellos" <[hidden email]>
An: [hidden email]
Gesendet: Dienstag, 29. März 2011 13:58:47
Betreff: Re: Installing a war-file in a feature


Hi Michael,


It is possible to install war as a feature.
Here is an example feature that installs a war file.




<feature name="activemq-web-console" version="5.4.2">
<bundle>war:mvn:org.apache.activemq/activemq-web-console/5.4.2/war?Webapp-Context=activemq-web-console</bundle>
</feature>



Ioannis Canellos

http://iocanel.blogspot.com


Apache Karaf Committer & PMC

Apache ServiceMix Committer