Hi JB, yes, that does indeed seem to work.
ThanksMat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards,
Alex WeirigResponsable Technique Ville de Luxembourg Service Enseignement Centre Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81 *Email* [email protected] <mailto:[email protected]> www.vdl.lu <http://www.vdl.lu> // www.technolink.lu <http://www.technolink.lu> Centre Technolink 2, rue Charles de Tornaco L-2623 LUXEMBOURG
//indoors.this.blesses <https://map.what3words.com/indoors.this.blesses> //schaufel.besten.kopie <https://map.what3words.com/schaufel.besten.kopie> //supposons.levage.venger <https://map.what3words.com/supposons.levage.venger> On 01/03/2021 16:22, Jean-Baptiste Onofre wrote:
Hi,You have to install JAXB 2.3.0 bundle (Jakarta) for JAXRS Whiteboard 1.1.0 (JAXRS Whiteboard 1.0.6 works because it uses JAXB 2.2.0).I can update Karaf 4.3.x core to JAXB 2.3.0 (to have version alignement), but it should already work.On the other hand, we are also working on a new spec features repo providing most of the "spec" features (JAXB, and others).Regards JBLe 1 mars 2021 à 16:10, Alex Weirig <[email protected] <mailto:[email protected]>> a écrit :Dear all, so far with Karaf 4.2.10 I've been using ...repo-add mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/xml <http://org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/xml> feature:install http-whiteboard aries-jax-rs-whiteboard aries-jax-rs-whiteboard-jacksonto install all the required features/bundles to run REST services.Now I wanted to install a karaf 4.3.0 and thought it might be a good idea to get the latest release for theorg.apache.aries.jax.rs <http://org.apache.aries.jax.rs/>feature, 1.1.0 if I'm not mistaken.Unfortunatley the feature:install then fails with dependency issues.karaf@root()> repo-add mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.1.0/xml <http://org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.1.0/xml> Adding feature url mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.1.0/xml <http://org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.1.0/xml> karaf@root()> feature:install http-whiteboard aries-jax-rs-whiteboard aries-jax-rs-whiteboard-jackson org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=aries-jax-rs-whiteboard-jackson; type=karaf.feature; version="[1.0.0,1.0.0]"; filter:="(&(osgi.identity=aries-jax-rs-whiteboard-jackson)(type=karaf.feature)(version>=1.0.0)(version<=1.0.0))" [caused by: Unable to resolve aries-jax-rs-whiteboard-jackson/1.0.0: missing requirement [aries-jax-rs-whiteboard-jackson/1.0.0] osgi.identity; osgi.identity=org.apache.aries.jax.rs.jackson; type=osgi.bundle; version="[1.0.0,1.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.aries.jax.rs.jackson/1.0.0: missing requirement [org.apache.aries.jax.rs.jackson/1.0.0] osgi.implementation; osgi.implementation=osgi.jaxrs; filter:="(&(osgi.implementation=osgi.jaxrs)(version>=1.0.0)(!(version>=2.0.0)))" [caused by: Unable to resolve org.apache.aries.jax.rs.whiteboard/1.1.0: missing requirement [org.apache.aries.jax.rs.whiteboard/1.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]]] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:434) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:421) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:392) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve aries-jax-rs-whiteboard-jackson/1.0.0: missing requirement [aries-jax-rs-whiteboard-jackson/1.0.0] osgi.identity; osgi.identity=org.apache.aries.jax.rs.jackson; type=osgi.bundle; version="[1.0.0,1.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.aries.jax.rs.jackson/1.0.0: missing requirement [org.apache.aries.jax.rs.jackson/1.0.0] osgi.implementation; osgi.implementation=osgi.jaxrs; filter:="(&(osgi.implementation=osgi.jaxrs)(version>=1.0.0)(!(version>=2.0.0)))" [caused by: Unable to resolve org.apache.aries.jax.rs.whiteboard/1.1.0: missing requirement [org.apache.aries.jax.rs.whiteboard/1.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)... 12 moreCaused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.aries.jax.rs.jackson/1.0.0: missing requirement [org.apache.aries.jax.rs.jackson/1.0.0] osgi.implementation; osgi.implementation=osgi.jaxrs; filter:="(&(osgi.implementation=osgi.jaxrs)(version>=1.0.0)(!(version>=2.0.0)))" [caused by: Unable to resolve org.apache.aries.jax.rs.whiteboard/1.1.0: missing requirement [org.apache.aries.jax.rs.whiteboard/1.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)... 13 moreCaused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.aries.jax.rs.whiteboard/1.1.0: missing requirement [org.apache.aries.jax.rs.whiteboard/1.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))" at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)... 14 moreError executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=aries-jax-rs-whiteboard-jackson; type=karaf.feature; version="[1.0.0,1.0.0]"; filter:="(&(osgi.identity=aries-jax-rs-whiteboard-jackson)(type=karaf.feature)(version>=1.0.0)(version<=1.0.0))" [caused by: Unable to resolve aries-jax-rs-whiteboard-jackson/1.0.0: missing requirement [aries-jax-rs-whiteboard-jackson/1.0.0] osgi.identity; osgi.identity=org.apache.aries.jax.rs.jackson; type=osgi.bundle; version="[1.0.0,1.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.aries.jax.rs.jackson/1.0.0: missing requirement [org.apache.aries.jax.rs.jackson/1.0.0] osgi.implementation; osgi.implementation=osgi.jaxrs; filter:="(&(osgi.implementation=osgi.jaxrs)(version>=1.0.0)(!(version>=2.0.0)))" [caused by: Unable to resolve org.apache.aries.jax.rs.whiteboard/1.1.0: missing requirement [org.apache.aries.jax.rs.whiteboard/1.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]]]I'm running karaf 4.3.0 (plain) with Java 1.8.0 OpenJDK on RHEL 8.3 (Red Hat Enterprise Linux release 8.3 (Ootpa)).--Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards,Alex WeirigResponsable Technique Ville de Luxembourg Service Enseignement Centre Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81 *Email* [email protected] <mailto:[email protected]> www.vdl.lu <http://www.vdl.lu/> // www.technolink.lu <http://www.technolink.lu/> Centre Technolink 2, rue Charles de Tornaco L-2623 LUXEMBOURG//indoors.this.blesses <https://map.what3words.com/indoors.this.blesses> //schaufel.besten.kopie <https://map.what3words.com/schaufel.besten.kopie> //supposons.levage.venger <https://map.what3words.com/supposons.levage.venger> <alex_weirig.vcf>
<<attachment: alex_weirig.vcf>>
