Hi,
do you have something else installed ?
I just tried on a fresh Karaf 3.0.2:
karaf@root()> feature:install -v war
Installing feature war 3.0.2
Installing feature http 3.0.2
Installing feature pax-http 3.1.2
Installing feature pax-jetty 8.1.15.v20140411
Found installed bundle: org.apache.servicemix.specs.activation-api-1.1 [64]
Found installed bundle:
org.apache.geronimo.specs.geronimo-servlet_3.0_spec [65]
Found installed bundle: javax.mail [66]
Found installed bundle: org.apache.geronimo.specs.geronimo-jta_1.1_spec [67]
Found installed bundle:
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [68]
Found installed bundle:
org.apache.geronimo.specs.geronimo-jaspic_1.0_spec [69]
Found installed bundle: org.objectweb.asm.all [70]
Found installed bundle: org.eclipse.jetty.aggregate.jetty-all-server [71]
Checking configuration file
mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/jettyconfig
Found installed bundle: org.ops4j.base.lang [72]
Found installed bundle: org.ops4j.pax.swissbox.core [73]
Installing bundle mvn:org.ow2.asm/asm-all/5.0.2
Found installed bundle: org.apache.xbean.bundleutils [74]
Found installed bundle: org.apache.xbean.reflect [75]
Found installed bundle: org.apache.xbean.finder [76]
Found installed bundle: org.ops4j.pax.web.pax-web-api [77]
Found installed bundle: org.ops4j.pax.web.pax-web-spi [78]
Found installed bundle: org.ops4j.pax.web.pax-web-runtime [79]
Found installed bundle: org.ops4j.pax.web.pax-web-jetty [80]
Found installed bundle: org.apache.karaf.http.core [81]
Found installed bundle: org.apache.karaf.http.command [82]
Installing feature pax-war 3.1.2
Installing feature pax-http-whiteboard 3.1.2
Found installed bundle: org.ops4j.pax.web.pax-web-jsp [83]
Found installed bundle: org.ops4j.pax.web.pax-web-extender-whiteboard [84]
Installing bundle mvn:org.ops4j.pax.web/pax-web-jsp/3.1.2
Found installed bundle: org.ops4j.pax.web.pax-web-extender-war [85]
Installing bundle mvn:org.ops4j.pax.web/pax-web-extender-whiteboard/3.1.2
Found installed bundle: org.ops4j.pax.web.pax-web-deployer [86]
Found installed bundle: org.ops4j.pax.url.war [87]
Found installed bundle: org.ops4j.pax.url.commons [88]
Found installed bundle: org.ops4j.pax.swissbox.bnd [89]
Found installed bundle: org.ops4j.pax.swissbox.property [90]
Found installed bundle: org.ops4j.base.net [91]
Installing bundle mvn:org.ops4j.base/ops4j-base-lang/1.4.0
Found installed bundle: org.ops4j.base.monitors [92]
Found installed bundle: org.ops4j.base.util.property [93]
Found installed bundle: biz.aQute.bndlib [94]
Found installed bundle: org.apache.karaf.web.core [95]
Found installed bundle: org.apache.karaf.web.command [96]
It works without problem for me.
Regards
JB
On 12/09/2014 03:31 PM, Bellski wrote:
Karaf version: 3.0.2
OS: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux
JVM: 1.7 latest
Cant install war feature :/
karaf@root()> feature:install -v war
Installing feature war 3.0.2
Installing feature http 3.0.2
Installing feature pax-http 3.1.2
Installing feature pax-jetty 8.1.15.v20140411
Found installed bundle:
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [173]
Found installed bundle: org.apache.geronimo.specs.geronimo-servlet_3.0_spec
[174]
Found installed bundle: org.eclipse.jetty.aggregate.jetty-all-server [175]
Checking configuration file
mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/jettyconfig
Found installed bundle: org.ops4j.base.lang [176]
Found installed bundle: org.ops4j.pax.swissbox.core [177]
Found installed bundle: org.ops4j.pax.web.pax-web-api [178]
Found installed bundle: org.ops4j.pax.web.pax-web-runtime [179]
Found installed bundle: org.ops4j.pax.web.pax-web-spi [180]
Found installed bundle: org.ops4j.pax.web.pax-web-jetty [181]
Found installed bundle: org.apache.karaf.http.core [182]
Found installed bundle: org.apache.karaf.http.command [183]
Installing feature pax-war 3.1.2
Installing feature pax-http-whiteboard 3.1.2
Found installed bundle: org.ops4j.pax.web.pax-web-extender-whiteboard [184]
Found installed bundle: org.ops4j.pax.web.pax-web-jsp [185]
Error executing command: Can not resolve feature:
*/Unsatisfied requirement(s):
---------------------------
package:(&(package=org.apache.xbean.finder)(version>=3.18.0)(!(version>=4.0.0)))
OPS4J Pax Web - Extender - WAR/*
____________________________________________________________________________
I tried install xbean manuality
116 | Active | 80 | 4.0.0 | Apache XBean :: Finder shaded (repackaged)
144 | Active | 80 | 4.0.0 | Apache XBean :: ASM 5 shaded (repackaged)
146 | Active | 80 | 4.0.0 | Apache XBean OSGI Bundle Utilities
Still getting Unsatisfied requirement(s) :/
--
View this message in context:
http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com