Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a Talend project to create a webservice. I develop this in my PC, but I need to deploy the result in a different PC. I have downloaded the Karaf and I exported the services as .kar file. I started the Karaf server and after I put the .kar file into the deploy folder of the Karaf server. After a couple os sec I encounter this error:
karaf@root()> org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=Test_Webservice_2-feature; type=karaf.feature; version="[0.1.0,0.1.0]"; filter:="(&(osgi.identity=Test_Webservice_2-feature)(type=karaf.feature)(version>=0.1.0)(version<=0.1.0))" [caused by: Unable to resolve Test_Webservice_2-feature/0.1.0: missing requirement [Test_Webservice_2-feature/0.1.0] osgi.identity; osgi.identity=local_project.Webservice_test; type=osgi.bundle; version="[0.1.0,0.1.0]"; resolution:=mandatory [caused by: Unable to resolve local_project.Webservice_test/0.1.0: missing requirement [local_project.Webservice_test/0.1.0] osgi.wiring.package; filter:="(osgi.wiring.package=routines.system.api)"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
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 Test_Webservice_2-feature/0.1.0: missing requirement [Test_Webservice_2-feature/0.1.0] osgi.identity; osgi.identity=local_project.Webservice_test; type=osgi.bundle; version="[0.1.0,0.1.0]"; resolution:=mandatory [caused by: Unable to resolve local_project.Webservice_test/0.1.0: missing requirement [local_project.Webservice_test/0.1.0] osgi.wiring.package; filter:="(osgi.wiring.package=routines.system.api)"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve local_project.Webservice_test/0.1.0: missing requirement [local_project.Webservice_test/0.1.0] osgi.wiring.package; filter:="(osgi.wiring.package=routines.system.api)"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Anyone any idea?
Hi Bala,
Did you get a solution for this. I am getting similar error when I try to deploy my Route Task on Talend Cloud
No, I did step over of this problem 'cause I got a Cloud licence and after I didn't need to deploy manually.
Okay, unfortunately I am getting this issue while deploying ESB jobs on Talend Cloud. Have you come accross below error before:
missing requirement [talend.R1_TestRoutescomponets/0.1.2] osgi.wiring.package; filter:="(osgi.wiring.package=talend.j10001_bg_extractaccounts_0_1)"]
The esb task R1_TestRoutescomponets is not dependent on j10001_bg_extractaccounts_0_1 in any way. Not sure how to get rid of this dependency , I do not see it under the dependency tab if I open the esb job in Studio.
There is no issue in any of the components and the esb route works all good in studio. Only when I deploy on the Talend cloud runtime I get that error. There is no dependency on the j10001_bg_extractaccounts_0_1, need to understand from where is this dependency being picked up.
Hello, I encountered the same error when trying to deploy a route on TMC.
Did you find a solution for this problem?"