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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
martel
Creator
Creator

Talend Open Studio - Build route and job for running on karaf container (ver 7.0.1.20180411_1414)

Hey,

 

 

i use Talend Open Studio  for create bundle for karaf external.

My camel route is very simple :  cFile_1 ---> cTalendJob_1 ---> cLog_1

My Job : tRouteInput_1 ---> tXMLMap_1 ---> tRouteOutput_1

 

now i want deploy into karaf.
right-click on myRoute ---> build route.

i select all ressources (the job in this case)

the build type are by default (ESB Runtime Kar File)  ok

 

but when i go on karaf and install the Kar file, i dont have the job in ESB bundle format ? i have the jar route bundle but not the jar job in bundle .....

and i suppose after talend add maven depedency export job, and in my bundle route maven import the job ?
why ?

 

thanks a lot. 

 

Labels (3)
1 Solution

Accepted Solutions
martel
Creator
Creator
Author

ok ok ok, 
0683p000009M9p6.png

I just saw in the release note of version 7.1.1, on page 9 "The tRunJob is supported with some restrictions" ...
ok Talend has not found a solution, and drops the possibility of calling a job in a camel route.

I will therefore close this question which will never be solved.

View solution in original post

22 Replies
Anonymous
Not applicable

Hello,

The Karaf doesn't activate your 2 bundle: the route and the job in the route?

For cTalendJob, have you try to check out "use selected Context", "Use Route Context Name" or "Use Job Context"?

Best regards

Sabrina

martel
Creator
Creator
Author

Hello, and thks for your reply 🙂

 

i tried all three.
when build routes and create .kar, the job is in config file (bundle) but is it only standalone .jar and karaf not run this.

 

0683p000009M0C1.jpg

martel
Creator
Creator
Author

or else we have to generate separately (build) jobs (with OSGI bundle output option) and build routes ?

 

 

Anonymous
Not applicable

Hello,

Are you able to successfully build your Job as an OSGI Bundle For ESB? Is there any error message in tesb.log?

Best regards

Sabrina

 

martel
Creator
Creator
Author

You dont understand my question..

 

how do you do to build route with all jobs in once.

1) If i right-click on route ? studio must build all correctly route AND jobs in one KAR

and install feature .KAR (route + jobs)

Or

2) click on route -> build route
click on each job -> build job (osgi) seperatly 
and after on console karaf install bundle JOBS .JAR ; and install feature .KAR (route)

???

thks

 

 

 

 

Anonymous
Not applicable

Hello,

After exporting the mediation route, the integration job is included in the .kar file automatically. You can deploy it into the runtime after copying the .kar file to the deploy directory.

Are your able to start your talend runtime?

Best regards

Sabrina

 

martel
Creator
Creator
Author

Hello,

 

 

i have put file .kar into deploy folder.

and now see this : 

1) Bundle_test-feature and want install but : 

0683p000009M0G2.jpg

 

2) i have into .kar the ressource Bundle_test_job_test.jar

0683p000009M0G7.jpg0683p000009M0E8.jpg

...

 

thks a lot.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

martel
Creator
Creator
Author

is it a bug ?

 

Anonymous
Not applicable

Hello,

Would you mind sending your exported job and .kar file to me? I will make a testing on 7.0.1 . Does this issue also repeat on other build version(6.5, 7.0)?

Best regards

Sabrina