You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Templarthelast <le...@maredit.de> on 2014/11/23 11:57:58 UTC
Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
Hi,
I started using Karaf by downloading Karaf 4.0.0.M1 from the Karaf site and
wanted to install the pax-web-feature but I got the error:
Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=pax-cdi-web; type=karaf.feature;
version="[0.8.0,0.8.0]";
filter:="(&(osgi.identity=pax-cdi-web)(type=karaf.feature)(version>=0.8.0)(version<=0.8.0))"
[caused by: Unable to resolve pax-cdi-web/0.8.0: missing requirement
[pax-cdi-web/0.8.0] osgi.identity; osgi.identity=org.ops4j.pax.cdi.web;
type=osgi.bundle; version="[0.8.0,0.8.0]"; resolution:=mandatory [caused by:
Unable to resolve org.ops4j.pax.cdi.web/0.8.0: missing requirement
[org.ops4j.pax.cdi.web/0.8.0] osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=3.0.0)(!(version>=4.0.0)))“]]
It seems like the 0.8 Version of Pax-CDI-Web needs Pax-Web-Api with a
Version >=3.0.0 and not >=4.0.0 but the Version installed by the
Pax-War-Tomcat or Pax-Http is 4.0 .
Is this a bug or do I need an additional Step to get this working?
best regards,
Lukas
--
View this message in context: http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Lukas,
sounds like a bug.
Please file it at the Pax CDI project it should also play nicely with Pax
Web 4.
regards, Achim
2014-11-23 11:57 GMT+01:00 Templarthelast <le...@maredit.de>:
> Hi,
>
> I started using Karaf by downloading Karaf 4.0.0.M1 from the Karaf site and
> wanted to install the pax-web-feature but I got the error:
>
> Error executing command: Unable to resolve root: missing requirement
> [root]
> osgi.identity; osgi.identity=pax-cdi-web; type=karaf.feature;
> version="[0.8.0,0.8.0]";
>
> filter:="(&(osgi.identity=pax-cdi-web)(type=karaf.feature)(version>=0.8.0)(version<=0.8.0))"
> [caused by: Unable to resolve pax-cdi-web/0.8.0: missing requirement
> [pax-cdi-web/0.8.0] osgi.identity; osgi.identity=org.ops4j.pax.cdi.web;
> type=osgi.bundle; version="[0.8.0,0.8.0]"; resolution:=mandatory [caused
> by:
> Unable to resolve org.ops4j.pax.cdi.web/0.8.0: missing requirement
> [org.ops4j.pax.cdi.web/0.8.0] osgi.wiring.package;
>
> filter:="(&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=3.0.0)(!(version>=4.0.0)))“]]
>
> It seems like the 0.8 Version of Pax-CDI-Web needs Pax-Web-Api with a
> Version >=3.0.0 and not >=4.0.0 but the Version installed by the
> Pax-War-Tomcat or Pax-Http is 4.0 .
>
> Is this a bug or do I need an additional Step to get this working?
>
> best regards,
>
> Lukas
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607.html
> Sent from the Karaf - Dev 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: Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,
see comments inline.
regards, Achim
2014-11-24 8:47 GMT+01:00 Templarthelast <le...@maredit.de>:
>
> > sounds like a bug.
> > Please file it at the Pax CDI project it should also play nicely with Pax
> > Web 4.
>
> Isn't this a bug in the feature configuration for pax-web and not a bug
> with
> the pax*-libraries itself or do they provide the feature-configuration
> themselves?
>
>
Pax CDI is not distributed by Pax Web, so it's the Pax CDI feature file
that is referencing the wrong version range.
So to be more clear, it's no bug of Pax Web :-)
>
>
>
> jbonofre wrote
> > Yes it's an issue introduced by a commit. The guy said that he gonna fix
> > it but he didn't for now. I will review and fix or revert.
> >
> > Regards
> > JB
> >
> >
> > Sent from my Samsung Galaxy smartphone.
> >
> >
> > -------- Original message --------
> > From: Templarthelast <
>
> > leichler@
>
> > >
> > Date:23/11/2014 11:57 (GMT+01:00)
> > To:
>
> > dev@.apache
>
> >
> > Cc:
> > Subject: Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
> >
> > Hi,
> >
> > I started using Karaf by downloading Karaf 4.0.0.M1 from the Karaf site
> > and
> > wanted to install the pax-web-feature but I got the error:
> >
> > Error executing command: Unable to resolve root: missing requirement
> > [root]
> > osgi.identity; osgi.identity=pax-cdi-web; type=karaf.feature;
> > version="[0.8.0,0.8.0]";
> >
> filter:="(&(osgi.identity=pax-cdi-web)(type=karaf.feature)(version>=0.8.0)(version<=0.8.0))"
> > [caused by: Unable to resolve pax-cdi-web/0.8.0: missing requirement
> > [pax-cdi-web/0.8.0] osgi.identity; osgi.identity=org.ops4j.pax.cdi.web;
> > type=osgi.bundle; version="[0.8.0,0.8.0]"; resolution:=mandatory [caused
> > by:
> > Unable to resolve org.ops4j.pax.cdi.web/0.8.0: missing requirement
> > [org.ops4j.pax.cdi.web/0.8.0] osgi.wiring.package;
> >
> filter:="(&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=3.0.0)(!(version>=4.0.0)))“]]
> >
> > It seems like the 0.8 Version of Pax-CDI-Web needs Pax-Web-Api with a
> > Version >=3.0.0 and not >=4.0.0 but the Version installed by the
> > Pax-War-Tomcat or Pax-Http is 4.0 .
> >
> > Is this a bug or do I need an additional Step to get this working?
> >
> > best regards,
> >
> > Lukas
> >
> >
> >
> > --
> > View this message in context:
> >
> http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607.html
> > Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607p4036617.html
> Sent from the Karaf - Dev 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: Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
Posted by Templarthelast <le...@maredit.de>.
> sounds like a bug.
> Please file it at the Pax CDI project it should also play nicely with Pax
> Web 4.
Isn't this a bug in the feature configuration for pax-web and not a bug with
the pax*-libraries itself or do they provide the feature-configuration
themselves?
jbonofre wrote
> Yes it's an issue introduced by a commit. The guy said that he gonna fix
> it but he didn't for now. I will review and fix or revert.
>
> Regards
> JB
>
>
> Sent from my Samsung Galaxy smartphone.
>
>
> -------- Original message --------
> From: Templarthelast <
> leichler@
> >
> Date:23/11/2014 11:57 (GMT+01:00)
> To:
> dev@.apache
>
> Cc:
> Subject: Wrong Dependencies for Pax-CDI-Web in Karaf 4.0.0.M1?
>
> Hi,
>
> I started using Karaf by downloading Karaf 4.0.0.M1 from the Karaf site
> and
> wanted to install the pax-web-feature but I got the error:
>
> Error executing command: Unable to resolve root: missing requirement
> [root]
> osgi.identity; osgi.identity=pax-cdi-web; type=karaf.feature;
> version="[0.8.0,0.8.0]";
> filter:="(&(osgi.identity=pax-cdi-web)(type=karaf.feature)(version>=0.8.0)(version<=0.8.0))"
> [caused by: Unable to resolve pax-cdi-web/0.8.0: missing requirement
> [pax-cdi-web/0.8.0] osgi.identity; osgi.identity=org.ops4j.pax.cdi.web;
> type=osgi.bundle; version="[0.8.0,0.8.0]"; resolution:=mandatory [caused
> by:
> Unable to resolve org.ops4j.pax.cdi.web/0.8.0: missing requirement
> [org.ops4j.pax.cdi.web/0.8.0] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=3.0.0)(!(version>=4.0.0)))“]]
>
> It seems like the 0.8 Version of Pax-CDI-Web needs Pax-Web-Api with a
> Version >=3.0.0 and not >=4.0.0 but the Version installed by the
> Pax-War-Tomcat or Pax-Http is 4.0 .
>
> Is this a bug or do I need an additional Step to get this working?
>
> best regards,
>
> Lukas
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
Thanks.
--
View this message in context: http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607p4036617.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.