Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Basit
Contributor III
Contributor III

Export Job to Karaf on another machine

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

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

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

View solution in original post

5 Replies
Anonymous
Not applicable

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

 

Basit
Contributor III
Contributor III
Author

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

Anonymous
Not applicable

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

Basit
Contributor III
Contributor III
Author

Hi @xdshi,

 

thank you very much! It worked using the Talend Runtime.

 

Regards,

 

Basit

Anonymous
Not applicable

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