Hi all,

I'm new to karaf, tried to look at archives but failed to find answer,
sorry if this is kind of faq.

I'm trying to use same war to deploy multiple instances of web application.

So far I succeeded to deploy not-OSGi-fied war file into karaf war feature
using 'install webbundle':

install
webbundle:file:///myApp.war?Bundle-SymbolicName=myApp2&Webapp-Context=/myApp2
install
webbundle:file:///myApp.war?Bundle-SymbolicName=myApp3&Webapp-Context=/myApp3

etc.

This has annoying requirement to put all possible headers into url
parameters.

I also noticed on google that command like:

install war:file:///myApp.war?Webapp-Context=/myApp3

is discussed, and, maybe, worked some time ago in I don't know what version
of karaf.


Is it possible to use OSGi-fied war in such way - use all preconfigured
MANIFEST.MF headers and override only some of them in install url
parameters?

in http://wiki.eclipse.org/Jetty/Feature/Jetty_OSGi#.22war.22_URL_scheme I
found

'The support for this protocol is mostly complete. The query string
parameters that enable overriding the manifest headers and other settings
have not been extensively tested.'

I'm doing it wrong way, or this feature is not supported?


Best regards,
Grazvydas

Reply via email to