You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Bellski <h....@gmail.com> on 2014/12/09 15:31:40 UTC

Cannot install war feature Karaf 3.0.2

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.

Re: Cannot install war feature Karaf 3.0.2

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Cannot install war feature Karaf 3.0.2

Posted by Achim Nierbeck <bc...@googlemail.com>.
No, installed and used the war feature very successfully :)



2014-12-09 20:24 GMT+01:00 Bellski <h....@gmail.com>:

> Nothing special.  U did what? Killed karaf after bundle installation,  or
> its
> about karaf state?
>  Regards karaf state, I think problem in one of bundles.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074p4037086.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Cannot install war feature Karaf 3.0.2

Posted by Bellski <h....@gmail.com>.
Nothing special.  U did what? Killed karaf after bundle installation,  or its
about karaf state? 
 Regards karaf state, I think problem in one of bundles.



--
View this message in context: http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074p4037086.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cannot install war feature Karaf 3.0.2

Posted by Achim Nierbeck <bc...@googlemail.com>.
Anything else special about your environment?
Cause I did this now a couple times and never had an issue with it.

regards, Achim


2014-12-09 15:53 GMT+01:00 Bellski <h....@gmail.com>:

> Achim Nierbeck wrote
> > The manual installation of XBean 4 doesn't really help either ;-)
> >
> > as the failure explicitly asks for a lower version.
> >
> > package:(&(package=org.apache.xbean.finder)(version>=3.18.0)
> > (!(version>=4.0.0)))
> >       OPS4J Pax Web - Extender - WAR/*
>
> You are ahead of me ;)
>
> Yes by this link
>
> http://apache-mirror.rbc.ru/pub/apache/karaf/3.0.2/apache-karaf-3.0.2.tar.gz
>
> Did it twice
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074p4037078.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Cannot install war feature Karaf 3.0.2

Posted by Bellski <h....@gmail.com>.
Achim Nierbeck wrote
> The manual installation of XBean 4 doesn't really help either ;-)
> 
> as the failure explicitly asks for a lower version.
> 
> package:(&(package=org.apache.xbean.finder)(version>=3.18.0)
> (!(version>=4.0.0)))
>       OPS4J Pax Web - Extender - WAR/*

You are ahead of me ;)

Yes by this link
http://apache-mirror.rbc.ru/pub/apache/karaf/3.0.2/apache-karaf-3.0.2.tar.gz

Did it twice 



--
View this message in context: http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074p4037078.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cannot install war feature Karaf 3.0.2

Posted by Achim Nierbeck <bc...@googlemail.com>.
The manual installation of XBean 4 doesn't really help either ;-)

as the failure explicitly asks for a lower version.

package:(&(package=org.apache.xbean.finder)(version>=3.18.0)
(!(version>=4.0.0)))
      OPS4J Pax Web - Extender - WAR/*


regards, Achim

2014-12-09 15:41 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:

> Maybe you use a custom Karaf distribution ?
>
> 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é
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Cannot install war feature Karaf 3.0.2

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Maybe you use a custom Karaf distribution ?

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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com