Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a question regarding building a job as OSGI Bundle for ESB but using it in Karaf that runs on another server. I have built the job and it runs correctly in local Karaf provided with Talend Open Studio.
However, when I copy it into Karaf running on the second server I get the following error message:
Error executing command: Error executing command on bundles: Error starting bundle 45: Unable to resolve local_project.MyTalendJob [45](R 45.1): missing requirement [local_project.MyTalendJob [45](R 45.1)] osgi.wiring.package; (osgi.wiring.package=routines.system.api) Unresolved requirements: [[local_project.MyTalendJob [45](R 45.1)] osgi.wiring.package; (osgi.wiring.package=routines.system.api)]
Do you have any idea what I steps I have to take if I want to use a job in another Karaf?
Regards,
Basit
Hello,
Please try to use Talend Runtime to run your talend OSGI jobs and let us know if it is OK with you.
Best regards
Sabrina
Hello,
Are you running Talend osgi jobs on Talend Runtime(karaf) container at the different server? Which has many features/bundles per-installed. e.g. job-controller which used to running Data service/Route/Job exported from TOS (routines.system.api package is exported from it).
Best regards
Sabrina
Hi @xdshi,
thanks for your reply. Actually I just downloaded Karaf Runtime from https://karaf.apache.org/download.html on the second server. On my first machine I developed the jobs in Talend and built the osgi bundles. If I then try to copy and run them on the second server I get the errors (as I already mentioned in my previous post).
Do you think I have to use the Talend Runtime to run my jobs? That sounds interesting and I will try this.
Regards
Basit
Hello,
Please try to use Talend Runtime to run your talend OSGI jobs and let us know if it is OK with you.
Best regards
Sabrina
Hello,
Great it works.
If you talend OSGI job can successfully run on Talend runtime, the ESB job should be OK without error. So generally Talend Runtime should be used together with talend studio.
Best regards
Sabrina