Re: Karaf version with Jdk 21
pl.start(BundleImpl.java:1006) > > at > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992) > > at > org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165) > > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1160) > > at > org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1041) > > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) > > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) > > at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) > > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) > > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) > > at java.base/java.lang.Thread.run(Thread.java:1583) > > > > 2. Status: Failure > > Blueprint > > 1/11/24, 12:13 PM > > Exception: > > null > > java.util.concurrent.TimeoutException > > at > org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:393) > > at > org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45) > > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) > > at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) > > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) > > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) > > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) > > at java.base/java.lang.Thread.run(Thread.java:1583) > > > > Missing dependencies: > > (objectClass=//) > > CdiOsgi > > > > > > Regards, > > > > Yunji Lee > > > > From: yunji@toshibagcs.com > > Sent: Monday, January 8, 2024 12:10 PM > > To: user@karaf.apache.org > > Subject: Re: Karaf version with Jdk 21 > > > > > > CAUTION: This email originated from outside our organization. Do not > click links or open attachments unless you validate the sender. > > > > > > > > Hi Jean, > > > > Thank you! > > Well, I do not have a test case. > > But I think the issue is regarding SCR feature. > > This is the feature. > > > > version="4.4.4"> > > start-level="30">mvn:org.osgi/org.osgi.util.function/1.2.0 > > start-level="30">mvn:org.osgi/org.osgi.util.promise/1.2.0 > > start-level="30">mvn:org.osgi/org.osgi.service.component/1.5.0 > > start-level="30">mvn:org.apache.felix/org.apache.felix.metatype/1.2.4 > > start-level="30">mvn:org.apache.felix/org.apache.felix.scr/2.2.6 > > > > management > > start-level="30">mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 > > > > > > webconsole > > start-level="30">mvn:org.apache.felix/org.apache.felix.inventory/1.1.0 > > start-level="30">mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.2.0 > > > > > > bundle > > start-level="30">mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 > > > > > > > osgi.service;effective:=active;objectClass=org.apache.felix.scr.ScrService, > > > > osgi.extender;osgi.extender="osgi.component";uses:="org.osgi.service.component";version:Version="1.2.1" > > > > > > > > > > And this is the error I'm facing while running karaf. > > org.apache.felix.resolver.reason.ReasonException: Unable to resolve > root: missing requirement [root] osgi.identity; > osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296; type=karaf.feature; > version="[0,0.0.0]"; > filter:="(&(osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))" > > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to > resolve cloudforwarder-lo
Re: Karaf version with Jdk 21
turesServiceImpl.java:1069) > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) > at java.base/java.lang.Thread.run(Thread.java:1583) > > 2. Status: Failure > Blueprint > 1/11/24, 12:13 PM > Exception: > null > java.util.concurrent.TimeoutException > at > org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:393) > at > org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) > at java.base/java.lang.Thread.run(Thread.java:1583) > > Missing dependencies: > (objectClass=//) > CdiOsgi > > > Regards, > > Yunji Lee > > From: yunji@toshibagcs.com > Sent: Monday, January 8, 2024 12:10 PM > To: user@karaf.apache.org > Subject: Re: Karaf version with Jdk 21 > > > CAUTION: This email originated from outside our organization. Do not click > links or open attachments unless you validate the sender. > > > > Hi Jean, > > Thank you! > Well, I do not have a test case. > But I think the issue is regarding SCR feature. > This is the feature. > > > start-level="30">mvn:org.osgi/org.osgi.util.function/1.2.0 > start-level="30">mvn:org.osgi/org.osgi.util.promise/1.2.0 > start-level="30">mvn:org.osgi/org.osgi.service.component/1.5.0 > start-level="30">mvn:org.apache.felix/org.apache.felix.metatype/1.2.4 > start-level="30">mvn:org.apache.felix/org.apache.felix.scr/2.2.6 > > management > start-level="30">mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 > > > webconsole > start-level="30">mvn:org.apache.felix/org.apache.felix.inventory/1.1.0 > start-level="30">mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.2.0 > > > bundle > start-level="30">mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 > > > > osgi.service;effective:=active;objectClass=org.apache.felix.scr.ScrService, > > osgi.extender;osgi.extender="osgi.component";uses:="org.osgi.service.component";version:Version="1.2.1" > > > > > And this is the error I'm facing while running karaf. > org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: > missing requirement [root] osgi.identity; > osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296; type=karaf.feature; > version="[0,0.0.0]"; > filter:="(&(osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))" > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to > resolve cloudforwarder-log-config/1.6.0.0003: missing requirement > ["modulename"] osgi.extender; > filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))" > > > Regards, > > > From: Jean-Baptiste Onofré > Sent: Saturday, January 6, 2024 9:46 AM > To: user@karaf.apache.org > Subject: Re: Karaf version with Jdk 21 > > CAUTION: This email originated from outside our organization. Do not click > links or open attachments unless you validate the sender. > > > > Hi > > 4.4.5 will be in vote today with better support of JDK21 (we build and > test using JDK20, I will setup JDK21). > > Regarding 4.5.0 (including Jakarta EE namespace), I plan to work on it > in the coming days. I hope to submit 4.5.0 to vote in a couple of > weeks. > > Do you have specific test cases with JDK21 ? I would like to check > with Karaf 4.4.5. > > Regards > JB > > On Fri, Jan 5, 202
Re: Karaf version with Jdk 21
ainerImpl$1.run(BlueprintContainerImpl.java:393) at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Missing dependencies: (objectClass=//) CdiOsgi Regards, Yunji Lee From: yunji@toshibagcs.com Sent: Monday, January 8, 2024 12:10 PM To: user@karaf.apache.org Subject: Re: Karaf version with Jdk 21 CAUTION: This email originated from outside our organization. Do not click links or open attachments unless you validate the sender. Hi Jean, Thank you! Well, I do not have a test case. But I think the issue is regarding SCR feature. This is the feature. mvn:org.osgi/org.osgi.util.function/1.2.0 mvn:org.osgi/org.osgi.util.promise/1.2.0 mvn:org.osgi/org.osgi.service.component/1.5.0 mvn:org.apache.felix/org.apache.felix.metatype/1.2.4 mvn:org.apache.felix/org.apache.felix.scr/2.2.6 management mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 webconsole mvn:org.apache.felix/org.apache.felix.inventory/1.1.0 mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.2.0 bundle mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 osgi.service;effective:=active;objectClass=org.apache.felix.scr.ScrService, osgi.extender;osgi.extender="osgi.component";uses:="org.osgi.service.component";version:Version="1.2.1" And this is the error I'm facing while running karaf. org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296; type=karaf.feature; version="[0,0.0.0]"; filter:="(&(osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))" Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve cloudforwarder-log-config/1.6.0.0003: missing requirement ["modulename"] osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))" Regards, ____ From: Jean-Baptiste Onofré Sent: Saturday, January 6, 2024 9:46 AM To: user@karaf.apache.org Subject: Re: Karaf version with Jdk 21 CAUTION: This email originated from outside our organization. Do not click links or open attachments unless you validate the sender. Hi 4.4.5 will be in vote today with better support of JDK21 (we build and test using JDK20, I will setup JDK21). Regarding 4.5.0 (including Jakarta EE namespace), I plan to work on it in the coming days. I hope to submit 4.5.0 to vote in a couple of weeks. Do you have specific test cases with JDK21 ? I would like to check with Karaf 4.4.5. Regards JB On Fri, Jan 5, 2024 at 9:12 PM yunji@toshibagcs.com wrote: > > Hi Jean, > > Thank you for providing the information. > > I'm currently in the process of migrating from Karaf 4.2 to 4.4 due to our > migration from Java 8 to Java 21. > However, I've encountered some errors while running Karaf, seemingly related > to the OSGi component (likely associated with the SCR feature). > Could you please provide information on the scheduled release date for Karaf > 4.5? > > Thanks again for your assistance. > > Best regards, > > Yunji Lee > > > > > From: Jean-Baptiste Onofré > Sent: Wednesday, December 13, 2023 8:36 AM > To: user@karaf.apache.org > Subject: Re: Karaf version with Jdk 21 > > CAUTION: This email originated from outside our organization. Do not click > links or open attachments unless you validate the sender. > > > > Hi Yunji > > I'm preparing 4.4.5 right now, but a better JDK 21 support (but not > yet complete due to third parties like Aries *). > > About Karaf 4.5.0, I plan to submit it to release just after Christmas. > > Regards > JB > > On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com > wrote: > > > > Hello good day, > > > > I hope this email finds you well. > > I was trying to compile and run karaf 4.4.4 on jdk21. > > > > And I came across information in the mailing list that there will be a > > Karaf 4.5.x version with full JDK 21 support. > > I'm interested to know when this release is scheduled. > > > > Thank you for your time and assistance. > > > > Best regards, > > Yunji Lee
Re: Karaf version with Jdk 21
Hi Jean, Thank you! Well, I do not have a test case. But I think the issue is regarding SCR feature. This is the feature. mvn:org.osgi/org.osgi.util.function/1.2.0 mvn:org.osgi/org.osgi.util.promise/1.2.0 mvn:org.osgi/org.osgi.service.component/1.5.0 mvn:org.apache.felix/org.apache.felix.metatype/1.2.4 mvn:org.apache.felix/org.apache.felix.scr/2.2.6 management mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 webconsole mvn:org.apache.felix/org.apache.felix.inventory/1.1.0 mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.2.0 bundle mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 osgi.service;effective:=active;objectClass=org.apache.felix.scr.ScrService, osgi.extender;osgi.extender="osgi.component";uses:="org.osgi.service.component";version:Version="1.2.1" And this is the error I'm facing while running karaf. org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296; type=karaf.feature; version="[0,0.0.0]"; filter:="(&(osgi.identity=7db4b9c9-5d8b-4144-a2b3-2162c2867296)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))" Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve cloudforwarder-log-config/1.6.0.0003: missing requirement ["modulename"] osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))" Regards, From: Jean-Baptiste Onofré Sent: Saturday, January 6, 2024 9:46 AM To: user@karaf.apache.org Subject: Re: Karaf version with Jdk 21 CAUTION: This email originated from outside our organization. Do not click links or open attachments unless you validate the sender. Hi 4.4.5 will be in vote today with better support of JDK21 (we build and test using JDK20, I will setup JDK21). Regarding 4.5.0 (including Jakarta EE namespace), I plan to work on it in the coming days. I hope to submit 4.5.0 to vote in a couple of weeks. Do you have specific test cases with JDK21 ? I would like to check with Karaf 4.4.5. Regards JB On Fri, Jan 5, 2024 at 9:12 PM yunji@toshibagcs.com wrote: > > Hi Jean, > > Thank you for providing the information. > > I'm currently in the process of migrating from Karaf 4.2 to 4.4 due to our > migration from Java 8 to Java 21. > However, I've encountered some errors while running Karaf, seemingly related > to the OSGi component (likely associated with the SCR feature). > Could you please provide information on the scheduled release date for Karaf > 4.5? > > Thanks again for your assistance. > > Best regards, > > Yunji Lee > > > > ____________ > From: Jean-Baptiste Onofré > Sent: Wednesday, December 13, 2023 8:36 AM > To: user@karaf.apache.org > Subject: Re: Karaf version with Jdk 21 > > CAUTION: This email originated from outside our organization. Do not click > links or open attachments unless you validate the sender. > > > > Hi Yunji > > I'm preparing 4.4.5 right now, but a better JDK 21 support (but not > yet complete due to third parties like Aries *). > > About Karaf 4.5.0, I plan to submit it to release just after Christmas. > > Regards > JB > > On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com > wrote: > > > > Hello good day, > > > > I hope this email finds you well. > > I was trying to compile and run karaf 4.4.4 on jdk21. > > > > And I came across information in the mailing list that there will be a > > Karaf 4.5.x version with full JDK 21 support. > > I'm interested to know when this release is scheduled. > > > > Thank you for your time and assistance. > > > > Best regards, > > Yunji Lee
Re: Karaf version with Jdk 21
JB, since, as you mentioned, Karaf will move to Jakarta (which if, of course, has to at some point to not fade into irrelevancy), does that mean one will no longer be able to use the Pax Exam framework to test Karaf (if Karaf version >= 4.5)? Pax Exam is seemingly abandoned... - Eric L On Sat, Jan 6, 2024 at 4:47 PM Jean-Baptiste Onofré wrote: > Hi > > 4.4.5 will be in vote today with better support of JDK21 (we build and > test using JDK20, I will setup JDK21). > > Regarding 4.5.0 (including Jakarta EE namespace), I plan to work on it > in the coming days. I hope to submit 4.5.0 to vote in a couple of > weeks. > > Do you have specific test cases with JDK21 ? I would like to check > with Karaf 4.4.5. > > Regards > JB > > On Fri, Jan 5, 2024 at 9:12 PM yunji@toshibagcs.com > wrote: > > > > Hi Jean, > > > > Thank you for providing the information. > > > > I'm currently in the process of migrating from Karaf 4.2 to 4.4 due to > our migration from Java 8 to Java 21. > > However, I've encountered some errors while running Karaf, seemingly > related to the OSGi component (likely associated with the SCR feature). > > Could you please provide information on the scheduled release date for > Karaf 4.5? > > > > Thanks again for your assistance. > > > > Best regards, > > > > Yunji Lee > > > > > > > > ____ > > From: Jean-Baptiste Onofré > > Sent: Wednesday, December 13, 2023 8:36 AM > > To: user@karaf.apache.org > > Subject: Re: Karaf version with Jdk 21 > > > > CAUTION: This email originated from outside our organization. Do not > click links or open attachments unless you validate the sender. > > > > > > > > Hi Yunji > > > > I'm preparing 4.4.5 right now, but a better JDK 21 support (but not > > yet complete due to third parties like Aries *). > > > > About Karaf 4.5.0, I plan to submit it to release just after Christmas. > > > > Regards > > JB > > > > On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com > > wrote: > > > > > > Hello good day, > > > > > > I hope this email finds you well. > > > I was trying to compile and run karaf 4.4.4 on jdk21. > > > > > > And I came across information in the mailing list that there will be a > Karaf 4.5.x version with full JDK 21 support. > > > I'm interested to know when this release is scheduled. > > > > > > Thank you for your time and assistance. > > > > > > Best regards, > > > Yunji Lee >
Re: Karaf version with Jdk 21
Hi 4.4.5 will be in vote today with better support of JDK21 (we build and test using JDK20, I will setup JDK21). Regarding 4.5.0 (including Jakarta EE namespace), I plan to work on it in the coming days. I hope to submit 4.5.0 to vote in a couple of weeks. Do you have specific test cases with JDK21 ? I would like to check with Karaf 4.4.5. Regards JB On Fri, Jan 5, 2024 at 9:12 PM yunji@toshibagcs.com wrote: > > Hi Jean, > > Thank you for providing the information. > > I'm currently in the process of migrating from Karaf 4.2 to 4.4 due to our > migration from Java 8 to Java 21. > However, I've encountered some errors while running Karaf, seemingly related > to the OSGi component (likely associated with the SCR feature). > Could you please provide information on the scheduled release date for Karaf > 4.5? > > Thanks again for your assistance. > > Best regards, > > Yunji Lee > > > > > From: Jean-Baptiste Onofré > Sent: Wednesday, December 13, 2023 8:36 AM > To: user@karaf.apache.org > Subject: Re: Karaf version with Jdk 21 > > CAUTION: This email originated from outside our organization. Do not click > links or open attachments unless you validate the sender. > > > > Hi Yunji > > I'm preparing 4.4.5 right now, but a better JDK 21 support (but not > yet complete due to third parties like Aries *). > > About Karaf 4.5.0, I plan to submit it to release just after Christmas. > > Regards > JB > > On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com > wrote: > > > > Hello good day, > > > > I hope this email finds you well. > > I was trying to compile and run karaf 4.4.4 on jdk21. > > > > And I came across information in the mailing list that there will be a > > Karaf 4.5.x version with full JDK 21 support. > > I'm interested to know when this release is scheduled. > > > > Thank you for your time and assistance. > > > > Best regards, > > Yunji Lee
Re: Karaf version with Jdk 21
Hi Jean, Thank you for providing the information. I'm currently in the process of migrating from Karaf 4.2 to 4.4 due to our migration from Java 8 to Java 21. However, I've encountered some errors while running Karaf, seemingly related to the OSGi component (likely associated with the SCR feature). Could you please provide information on the scheduled release date for Karaf 4.5? Thanks again for your assistance. Best regards, Yunji Lee From: Jean-Baptiste Onofré Sent: Wednesday, December 13, 2023 8:36 AM To: user@karaf.apache.org Subject: Re: Karaf version with Jdk 21 CAUTION: This email originated from outside our organization. Do not click links or open attachments unless you validate the sender. Hi Yunji I'm preparing 4.4.5 right now, but a better JDK 21 support (but not yet complete due to third parties like Aries *). About Karaf 4.5.0, I plan to submit it to release just after Christmas. Regards JB On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com wrote: > > Hello good day, > > I hope this email finds you well. > I was trying to compile and run karaf 4.4.4 on jdk21. > > And I came across information in the mailing list that there will be a Karaf > 4.5.x version with full JDK 21 support. > I'm interested to know when this release is scheduled. > > Thank you for your time and assistance. > > Best regards, > Yunji Lee
Re: Karaf version with Jdk 21
Hi Yunji I'm preparing 4.4.5 right now, but a better JDK 21 support (but not yet complete due to third parties like Aries *). About Karaf 4.5.0, I plan to submit it to release just after Christmas. Regards JB On Mon, Dec 11, 2023 at 5:03 PM yunji@toshibagcs.com wrote: > > Hello good day, > > I hope this email finds you well. > I was trying to compile and run karaf 4.4.4 on jdk21. > > And I came across information in the mailing list that there will be a Karaf > 4.5.x version with full JDK 21 support. > I'm interested to know when this release is scheduled. > > Thank you for your time and assistance. > > Best regards, > Yunji Lee
Karaf version with Jdk 21
Hello good day, I hope this email finds you well. I was trying to compile and run karaf 4.4.4 on jdk21. And I came across information in the mailing list that there will be a Karaf 4.5.x version with full JDK 21 support. I'm interested to know when this release is scheduled. Thank you for your time and assistance. Best regards, Yunji Lee