Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
uzix
Creator
Creator

deploy job with trestrequest and child job in runtime esb container

Hello all,

 

im using talend open studio for ESB 7.2.1

i have a job with a trestrequest that calls a child job , running in studio and calling via postman is ok.

when i deploy its the issue...

0683p000009MaJH.jpg

child job:

0683p000009MaIt.jpg

main job export options:

0683p000009Mab0.jpg

child job export options:

0683p000009Maa8.jpg

 

 

when try to export main job, i export and place the jar file in folder Runtime_ESBSE\container\deploy

start karaf but it seems the child job is not exported.

i tried also place the child job in deploy folder but to no avail.

karaf:

0683p000009Mab5.jpg

 

error:

0683p000009MabF.jpg

 

tested will child job checked "use an independent process to run subjob" but to no avail...

checked some links with some "solutions", but not working...

https://community.talend.com/t5/Design-and-Development/Job-with-Subjobs-error-when-deployed-as-OSGI-...

 

 

any help is appreciated.

 

i tested with a simple job:

0683p000009MaZZ.jpg

and to make it work, added the libSmiley Surprisedrg.apache.commons.lang_2.6.0.v201404270220.jar

 

regards

 

 

************update*********

 

made a v2 to try understand whats going on

 

0683p000009MabP.jpg

exported to /container/deploy

child job - v2: exported , placed the esb_childv2_0_1.jar in /container/deploy

0683p000009MaNE.jpg

and place also the lib folder content of child job in /container/deploy

checked in karaf :

instead of "active" the bundles were "installed"

closed karaf

removed libs of child job from /container/deploy

run karaf  (gets some time to open....)

all bundles are active

and get good response via postman....

log in karaf ok...no errors...all good...

 

Labels (4)
1 Reply
Anonymous
Not applicable

Hi Team,

 

Please try below steps:

  1. Go to the job view in studio of the job and make sure that osgi bundle is selected as the build type for the job and subjob.
  2. Once done, go to the main job and build the job as osgi bundle.
  3. You will see a .jar/.kar created in the specified location.
  4. Once created, place that .jar/.kar in the runtime/deploy folder.
  5. Go to the runtime console and check by executing the commands: list or feature:list | grep <job name> or bundle:list | grep <job name>

 

Thanks in advance.